T_Rhino_Geometry_BezierCurve - mcneel/rhinocommon-api-docs GitHub Wiki

BezierCurve Class

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

Inheritance Hierarchy

System.Object
  Rhino.Geometry.BezierCurve
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public class BezierCurve : IDisposable

VB

Public Class BezierCurve
	Implements IDisposable

The BezierCurve type exposes the following members.

Constructors

 

Name Description
Public method BezierCurve(IEnumerable(Point2d)) Create bezier curve with controls defined by a list of 2d points
Public method BezierCurve(IEnumerable(Point3d)) Create bezier curve with controls defined by a list of 3d points
Public method BezierCurve(IEnumerable(Point4d)) Create bezier curve with controls defined by a list of 4d points
  Back to Top

Properties

 

Name Description
Public property ControlVertexCount Number of control vertices in this curve
Public property IsRational Gets a value indicating whether or not the curve is rational. Rational curves have control-points with custom weights.
Public property IsValid Tests an object to see if it is valid.
  Back to Top

Methods

 

Name Description
Public method ChangeDimension Change dimension of bezier.
Public methodStatic member CreateCubicBeziers Constructs an array of cubic, non-rational beziers that fit a curve to a tolerance.
Public methodStatic member CreateLoftedBezier(IEnumerable(Point2d)) Loft a bezier through a list of points
Public methodStatic member CreateLoftedBezier(IEnumerable(Point3d)) Loft a bezier through a list of points
Public method CurvatureAt Evaluate the curvature vector at a curve parameter.
Public method Dispose() Actively reclaims unmanaged resources that this instance uses.
Protected method 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.

Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Passively reclaims unmanaged resources when the class user did not explicitly call Dispose(). (Overrides Object.Finalize().)
Public method GetBoundingBox Boundingbox solver. Gets the world axis aligned boundingbox for the curve.
Public method GetControlVertex2d Get location of a control vertex.
Public method GetControlVertex3d Get location of a control vertex.
Public method GetControlVertex4d Get location of a control vertex.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IncreaseDegree Increase degree of bezier
Public method MakeNonRational Make bezier non-rational
Public method MakeRational Make bezier rational
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method PointAt Evaluates point at a curve parameter.
Public method TangentAt Evaluates the unit tangent vector at a curve parameter.
Public method ToNurbsCurve Constructs a NURBS curve representation of this curve.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
  Back to Top

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️