[][src]Struct descartes::EditArcLinePath

pub struct EditArcLinePath { /* fields omitted */ }

Methods

impl EditArcLinePath[src]

pub fn new<V>(
    corners: V,
    strategy: ResolutionStrategy,
    closed: Closedness
) -> Self where
    V: Into<VecLike<Corner>>, 
[src]

impl EditArcLinePath[src]

pub fn resolve(&self) -> (Option<ArcLinePath>, EditArcLinePath)[src]

pub fn move_corner(&mut self, idx: usize, new_position: P2)[src]

pub fn with_corner_moved(&self, idx: usize, new_position: P2) -> EditArcLinePath[src]

pub fn direct_corner(
    &mut self,
    idx: usize,
    new_direction: Option<V2>,
    in_direction: bool
)
[src]

pub fn with_corner_directed(
    &self,
    idx: usize,
    new_direction: Option<V2>,
    in_direction: bool
) -> EditArcLinePath
[src]

pub fn add_corner(&mut self, add_to_end: bool, corner: Corner)[src]

pub fn with_corner_added(
    &self,
    add_to_end: bool,
    corner: Corner
) -> EditArcLinePath
[src]

pub fn insert_corner(&mut self, corner: Corner) -> bool[src]

pub fn with_corner_inserted(&self, corner: Corner) -> Option<EditArcLinePath>[src]

pub fn subsection(&self, start: N, end: N) -> Option<EditArcLinePath>[src]

Trait Implementations

impl Clone for EditArcLinePath[src]

impl Debug for EditArcLinePath[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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>,