[−][src]Trait arcs::algorithms::Approximate
Approximate a shape with a bunch of [Point2D
]s.
Associated Types
Loading content...Required methods
fn approximate(&self, tolerance: f64) -> Self::Iter
Approximate the shape, ensuring the resulting path is within tolerance
units of the original.
Implementations on Foreign Types
impl<Space> Approximate<Space> for Point2D<f64, Space>
[src]
type Iter = Once<Point2D<f64, Space>>
fn approximate(
&self,
_tolerance: f64
) -> <Point2D<f64, Space> as Approximate<Space>>::Iter
[src]
&self,
_tolerance: f64
) -> <Point2D<f64, Space> as Approximate<Space>>::Iter
impl<'a, Space, A> Approximate<Space> for &'a A where
A: Approximate<Space> + ?Sized,
[src]
A: Approximate<Space> + ?Sized,
type Iter = <A as Approximate<Space>>::Iter
fn approximate(&self, tolerance: f64) -> <&'a A as Approximate<Space>>::Iter
[src]
Implementors
impl<Space> Approximate<Space> for Arc<Space>
[src]
type Iter = ApproximatedArc<Space>
fn approximate(
&self,
tolerance: f64
) -> <Arc<Space> as Approximate<Space>>::Iter
[src]
&self,
tolerance: f64
) -> <Arc<Space> as Approximate<Space>>::Iter