Click or drag to resize
BezierCurve Class
Represents a Bezier curve.

Note: as an exception, the bezier curve is not derived from Curve.

Inheritance Hierarchy
SystemObject
  Rhino.GeometryBezierCurve

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.50000.0 (5.0.20693.0)
Syntax
public class BezierCurve : IDisposable

The BezierCurve type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyControlVertexCount
Number of control vertices in this curve
Public propertyIsRational
Gets a value indicating whether or not the curve is rational. Rational curves have control-points with custom weights.
Public propertyIsValid
Tests an object to see if it is valid.
Top
Methods
  NameDescription
Public methodChangeDimension
Change dimension of bezier.
Public methodStatic memberCreateCubicBeziers
Constructs an array of cubic, non-rational beziers that fit a curve to a tolerance.
Public methodStatic memberCreateLoftedBezier(IEnumerablePoint2d)
Loft a bezier through a list of points
Public methodStatic memberCreateLoftedBezier(IEnumerablePoint3d)
Loft a bezier through a list of points
Public methodCurvatureAt
Evaluate the curvature vector at a curve parameter.
Public methodDispose
Actively reclaims unmanaged resources that this instance uses.
Protected methodDispose(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.

Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Passively reclaims unmanaged resources when the class user did not explicitly call Dispose().
(Overrides ObjectFinalize.)
Public methodGetBoundingBox
Boundingbox solver. Gets the world axis aligned boundingbox for the curve.
Public methodGetControlVertex2d
Get location of a control vertex.
Public methodGetControlVertex3d
Get location of a control vertex.
Public methodGetControlVertex4d
Get location of a control vertex.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIncreaseDegree
Increase degree of bezier
Public methodMakeNonRational
Make bezier non-rational
Public methodMakeRational
Make bezier rational
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPointAt
Evaluates point at a curve parameter.
Public methodTangentAt
Evaluates the unit tangent vector at a curve parameter.
Public methodToNurbsCurve
Constructs a NURBS curve representation of this curve.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also