[][src]Struct valora::forms::Ellipse

pub struct Ellipse {
    pub center: P2,
    pub radii: V2,
    pub phase: Angle,


center: P2radii: V2phase: Angle


impl Ellipse[src]

pub fn circle(center: P2, radius: f32) -> Self[src]

pub fn new(center: P2, radii: V2) -> Self[src]

pub fn with_phase(self, phase: Angle) -> Self[src]

pub fn circumphase(&self, p: &P2) -> f32[src]

pub fn circumpoint(&self, angle: Angle) -> P2[src]

pub fn uniform_circle_sampler(&self) -> UniformCircleSampler[src]

Trait Implementations

impl Clone for Ellipse[src]

impl Copy for Ellipse[src]

impl Debug for Ellipse[src]

impl Paint for Ellipse[src]

impl PartialEq<Ellipse> for Ellipse[src]

impl Scale for Ellipse[src]

impl StructuralPartialEq for Ellipse[src]

impl Translate for Ellipse[src]

Auto Trait Implementations

impl RefUnwindSafe for Ellipse

impl Send for Ellipse

impl Sync for Ellipse

impl Unpin for Ellipse

impl UnwindSafe for Ellipse

Blanket Implementations

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    D: AdaptFrom<S, Swp, Dwp, T>,
    Dwp: WhitePoint,
    Swp: WhitePoint,
    T: Component + Float

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> Content for T where
    T: Copy

type Owned = T

A type that holds a sized version of the content.

impl<T, U> ConvertInto<U> for T where
    U: ConvertFrom<T>, 

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<P> Paint for P where
    P: Iterator<Item = PathEvent> + Clone

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Scalar for T where
    T: Copy + PartialEq<T> + Any + Debug

impl<T> SetParameter for T

impl<T> SetParameter for T

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,