[−][src]Struct descartes::ArcLinePath
Methods
impl ArcLinePath
[src]
Creation
pub fn line(start: P2, end: P2) -> Option<Self>
[src]
pub fn arc(start: P2, start_direction: V2, end: P2) -> Option<Self>
[src]
pub fn biarc(
start: P2,
start_direction: V2,
end: P2,
end_direction: V2
) -> Option<Self>
[src]
start: P2,
start_direction: V2,
end: P2,
end_direction: V2
) -> Option<Self>
pub fn circle(center: P2, radius: N) -> Option<Self>
[src]
impl ArcLinePath
[src]
Inspection
pub fn start(&self) -> P2
[src]
pub fn end(&self) -> P2
[src]
pub fn length(&self) -> N
[src]
pub fn start_direction(&self) -> V2
[src]
pub fn end_direction(&self) -> V2
[src]
pub fn segments<'a>(&'a self) -> impl Iterator<Item = ArcOrLineSegment> + 'a
[src]
impl ArcLinePath
[src]
Combination/Modification
pub fn concat(&self, other: &Self) -> Result<Self, ConcatError>
[src]
pub fn reverse(&self) -> Self
[src]
pub fn to_line_path_with_max_angle(&self, max_angle: N) -> LinePath
[src]
pub fn to_line_path(&self) -> LinePath
[src]
Trait Implementations
impl Clone for ArcLinePath
[src]
fn clone(&self) -> ArcLinePath
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ArcLinePath
[src]
Auto Trait Implementations
impl RefUnwindSafe for ArcLinePath
impl Send for ArcLinePath
impl Sync for ArcLinePath
impl Unpin for ArcLinePath
impl UnwindSafe for ArcLinePath
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>
fn is_in_subset(&self) -> bool
unsafe fn to_subset_unchecked(&self) -> SS
fn from_subset(element: &SS) -> SP
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,