BezierCurve Class |
Note: as an exception, the bezier curve is not derived from Curve.
Namespace: Rhino.Geometry
The BezierCurve type exposes the following members.
Name | Description | |
---|---|---|
BezierCurve(IEnumerablePoint2d) |
Create bezier curve with controls defined by a list of 2d points
| |
BezierCurve(IEnumerablePoint3d) |
Create bezier curve with controls defined by a list of 3d points
| |
BezierCurve(IEnumerablePoint4d) |
Create bezier curve with controls defined by a list of 4d points
| |
BezierCurve(SerializationInfo, StreamingContext) |
Protected constructor for internal use.
|
Name | Description | |
---|---|---|
ControlVertexCount |
Number of control vertices in this curve
| |
Dimension |
Dimension of Bezier
| |
IsRational |
Gets a value indicating whether or not the curve is rational.
Rational curves have control-points with custom weights.
| |
IsValid | Tests an object to see if it is valid. |
Name | Description | |
---|---|---|
ChangeDimension | Change dimension of bezier. | |
CreateBeziers |
Create an array of Bezier curves that fit to an existing curve. Please note, these
Beziers can be of any order and may be rational.
| |
CreateCubicBeziers |
Constructs an array of cubic, non-rational Beziers that fit a curve to a tolerance.
| |
CreateLoftedBezier(IEnumerablePoint2d) |
Loft a bezier through a list of points
| |
CreateLoftedBezier(IEnumerablePoint3d) |
Loft a bezier through a list of points
| |
CurvatureAt | Evaluate the curvature vector at a curve parameter. | |
Dispose |
Actively reclaims unmanaged resources that this instance uses.
| |
Dispose(Boolean) |
For derived class implementers.
This method is called with argument true when class user calls Dispose(), while with argument false when the Garbage Collector invokes the finalizer, or Finalize() method. You must reclaim all used unmanaged resources in both cases, and can use this chance to call Dispose on disposable fields if the argument is true. Also, you must call the base virtual method within your overriding method. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize |
Passively reclaims unmanaged resources when the class user did not explicitly call Dispose().
(Overrides ObjectFinalize.) | |
GetBoundingBox |
Bounding box solver. Gets the world axis aligned bounding box for the curve.
| |
GetControlVertex2d | Get location of a control vertex. | |
GetControlVertex3d | Get location of a control vertex. | |
GetControlVertex4d | Get location of a control vertex. | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetObjectData |
Populates a System.Runtime.Serialization.SerializationInfo with the data needed to serialize the target object.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IncreaseDegree | Increase degree of bezier | |
MakeNonRational | Make bezier non-rational | |
MakeRational | Make bezier rational | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
PointAt | Evaluates point at a curve parameter. | |
Split |
Divides the Bezier curve at the specified parameter.
| |
TangentAt | Evaluates the unit tangent vector at a curve parameter. | |
ToNurbsCurve |
Constructs a NURBS curve representation of this curve.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |