Trait truck_geometry::base::traits::Cut

source ·
pub trait Cut: BoundedCurve {
    // Required method
    fn cut(&mut self, t: f64) -> Self;
}
Expand description

Cuts one curve into two curves.

Required Methods§

source

fn cut(&mut self, t: f64) -> Self

Cuts one curve into two curves. Assigns the former curve to self and returns the later curve.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<C> Cut for Box<C>
where C: Cut,

source§

fn cut(&mut self, t: f64) -> Box<C>

Implementors§

source§

impl<C, S> Cut for IntersectionCurve<C, S>
where C: Cut<Point = Point3, Vector = Vector3>, S: ParametricSurface3D + SearchNearestParameter<D2, Point = Point3>,

source§

impl<C, S> Cut for PCurve<C, S>
where C: Cut, S: Clone, PCurve<C, S>: ParametricCurve,

source§

impl<C, T> Cut for Processor<C, T>
where C: BoundedCurve + Cut, C::Point: EuclideanSpace<Diff = C::Vector>, C::Vector: VectorSpace<Scalar = f64>, T: Transform<C::Point> + Clone,

source§

impl<C: ParametricCurve> Cut for TrimmedCurve<C>

source§

impl<P: ControlPoint<f64> + Tolerance> Cut for BSplineCurve<P>

source§

impl<P: ControlPoint<f64>> Cut for Line<P>

source§

impl<V: Homogeneous<f64> + ControlPoint<f64, Diff = V> + Tolerance> Cut for NurbsCurve<V>