Enum truck_modeling::geometry::Curve[][src]

pub enum Curve {
    BSplineCurve(BSplineCurve<Point3>),
    NURBSCurve(NURBSCurve<Vector4>),
    IntersectionCurve(IntersectionCurve<PolylineCurve<Point3>, Surface>),
}
Expand description

3-dimensional curve

Variants

BSplineCurve(BSplineCurve<Point3>)

Tuple Fields

3-dimensional B-spline curve

NURBSCurve(NURBSCurve<Vector4>)

Tuple Fields

3-dimensional NURBS curve

IntersectionCurve(IntersectionCurve<PolylineCurve<Point3>, Surface>)

intersection curve

Implementations

Into non-ratinalized 4-dimensinal B-spline curve

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Performs the conversion.

Performs the conversion.

Performs the conversion.

Returns whether the curve curve is included in the surface self.

Inverts self

Returns the inverse.

The curve is in the space of Self::Point.

Creates the curve division (prameters, corresponding points). Read more

The curve is in the space of Self::Point.

The derivation vector of the curve.

Substitutes the parameter t.

Returns the derivation.

Returns the 2nd-order derivation.

The range of the parameter of the curve.

The front end point of the curve.

The back end point of the curve.

point

curve => f64, surface => (f64, f64)

Search nearest parameter t such that self.subs(t) is nearest point.
Returns None if could not find such parameter. Read more

point

curve => f64, surface => (f64, f64)

Search parameter t such that self.subs(t) is near point.
Returns None if could not find such parameter. Read more

Serialize this value into the given Serde serializer. Read more

transform by trans.

transformed geometry by trans.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.