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

3-dimensional curve

Variants§

§

Line(Line<Point3>)

line

§

BSplineCurve(BSplineCurve<Point3>)

3-dimensional B-spline curve

§

NURBSCurve(NURBSCurve<Vector4>)

3-dimensional NURBS curve

§

IntersectionCurve(IntersectionCurve<Leader, Surface>)

intersection curve

Implementations§

Into non-ratinalized 4-dimensinal B-spline curve

Make the leaders of IntersectionCurves B-spline curves.

Trait Implementations§

The range of the parameter of the curve.
The front end point of the curve.
The back end point of the curve.
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
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
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 (parameters, 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.
point
Search nearest parameter t such that self.subs(t) is nearest point.
Returns None if could not find such parameter.
point
Search parameter t such that self.subs(t) is near point.
Returns None if could not find such parameter.
Serialize this value into the given Serde serializer. Read more
transform by trans.
transformed geometry by trans.
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.
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.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Dereferences the given pointer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
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.