Click or drag to resize

BezierSurface Class

Represents a Bezier surface.
Inheritance Hierarchy

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
public class BezierSurface : IDisposable

The BezierSurface type exposes the following members.

Public propertyDimension
Dimension of Bezier
Public propertyIsRational
Gets a value indicating whether or not the surface is rational. Rational surfaces have control-points with custom weights.
Public propertyIsValid
Tests an object to see if it is valid.
Public methodControlVertexCount
Number of control vertices in this surface
Public methodStatic memberCreateLoftedBezier
Loft a bezier surface through a list of bezier curves.
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 methodDomain
Gets the domain in a direction.
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
Bounding box solver. Gets the world axis aligned bounding box for the surface.
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 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 surface parameter.
Public methodReverse
Reverses parameterization Domain changes from [a,b] to [-b,-a]
Public methodSplit
Divides the Bezier surface at the specified parameter.
Public methodToNurbsSurface
Constructs a NURBS surface representation of this surface.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTransform
Transforms the surface
Public methodTranspose
Transposes surface parameterization (swap U and V)
See Also