NurbSurface Class

This class represents non-uniform, rational B-Spline (NURBS) surfaces. For more information, see Working with NURBS Surfaces.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    Teigha.RuntimeDisposableWrapper
      Teigha.GeometryEntity3d
        Teigha.GeometrySurface
          Teigha.GeometryNurbSurface

Namespace: Teigha.Geometry
Assembly: TD_Mgd (in TD_Mgd.dll) Version: 26.9.0.0
Syntax
public sealed class NurbSurface : Surface

The NurbSurface type exposes the following members.

Constructors
  Name Description
Public method NurbSurface Default constructor for the NurbSurface class. Creates a default corresponding C++ object with no actual data stored in the object.
Public method NurbSurface(Int32, Int32, Int32, Int32, Int32, Int32, Point3dCollection, DoubleCollection, KnotCollection, KnotCollection) Constructor for the NurbSurface class. Constructs a NURBS surface defined by input data. propsInU and propertiesInV utilize OdGe::NurbSurfaceProperties values.
Public method NurbSurface(Int32, Int32, Int32, Int32, Int32, Int32, Point3dCollection, DoubleCollection, KnotCollection, KnotCollection, Tolerance) Constructor for the NurbSurface class. Constructs a NURBS surface defined by input data. propsInU and propertiesInV utilize OdGe::NurbSurfaceProperties values.
Top
Properties
  Name Description
Public property AutoDelete Property that indicates whether the object should be automatically deleted by the Garbage Collector.
(Inherited from DisposableWrapper)
Public property ControlPoints Property that represents a collection of 3D control points.
Public property DegreeInU Property that represents the degree in the U direction. High degree values represent flexible surfaces.
Public property DegreeInV Property that represents the degree in the V direction. High degree values represent flexible surfaces.
Public property IsDisposed Property that indicates whether pointer to native code unmanaged object == IntPtr::Zero.
(Inherited from DisposableWrapper)
Public property IsNormalReversed Property that indicates whether the normal of this surface is reversed an odd number of times.
(Inherited from Surface)
Public property IsPeriodicInU Property that indicates whether this surface is periodic in the U direction. If a surface is closed in one direction (opposite sides are the same line in object space) and the parameterization and derivatives also match at these boundaries, the surface is periodic in the parameter direction.
Public property IsPeriodicInV Property that indicates whether this surface is periodic in the V direction. If a surface is closed in one direction (opposite sides are the same line in object space) and the parameterization and derivatives also match at these boundaries, the surface is periodic in the parameter direction.
Public property IsRationalInU Property that indicates whether this surface is rational in the U direction. The U direction is considered rational when it has weighted control points.
Public property IsRationalInV Property that indicates whether this surface is rational in the V direction. The V direction is considered rational when it has weighted control points.
Public property NumControlPointsInU Property that represents the number of control points in the U direction.
Public property NumControlPointsInV Property that represents the number of control points in the V direction.
Public property NumKnotsInU Property that represents the number of knots in the U direction.
Public property NumKnotsInV Property that represents the number of knots in the V direction.
Public property PeriodicInU Property that represents period value in the U direction.
Public property PeriodicInV Property that represents period value in the V direction.
Public property ReverseNormal Property that creates a surface with a reversed normal vector orientation (the same exact surface but with changed normal orientation).
(Inherited from Surface)
Public property SingularityInU Property that represents description of the singularity in the U direction. This property value refers to the OdGe::NurbSurfaceProperties enumeration.
Public property SingularityInV Property that represents description of the singularity in the V direction. This property value refers to the OdGe::NurbSurfaceProperties enumeration.
Public property UKnots Property that represents knot vector in the U direction. A knot vector defines a sequence of parameter values that determine where and how the control points affect the surface. Values of knot vector are provided in ascending order, for example: (0, 0, 0, 1, 2, 3, 3, 3) can be valid while (0, 0, 2, 0, 3, 1, 3, 3) cannot be valid.
Public property UnmanagedObject Property that represents a pointer to an unmanaged object.
(Inherited from DisposableWrapper)
Public property VKnots Property that represents knot vector in the V direction. A knot vector defines a sequence of parameter values that determine where and how the control points affect the surface. Values of knot vector are provided in ascending order, for example: (0, 0, 0, 1, 2, 3, 3, 3) can be valid while (0, 0, 2, 0, 3, 1, 3, 3) cannot be valid.
Public property Weights Property that represents a collection of weight values. The weight collection is a collection of double values, each value is associated with a corresponding control point. If the weight increases, the surface pulls toward the corresponding control point. If the weight decreases, the surface pushes from the corresponding control point.
Top
Methods
  Name Description
Public method Clone Clones this entity and returns a handle to the cloned entity.
(Inherited from Entity3d)
Public method ClosestPointTo(Point3d) Gets a point on this surface that is the closest to the specified point.
(Inherited from Surface)
Public method ClosestPointTo(Point3d, Tolerance) Gets a point on this surface that is the closest to the specified point according to a tolerance.
(Inherited from Surface)
Public methodStatic member Create Creates an object based on the passed pointer and returns a handle to the created object.
Public method CreateObjRef
(Inherited from MarshalByRefObject)
Public method Dispose
(Inherited from DisposableWrapper)
Public method DistanceTo(Point3d) Retrieves the distance from the closest point on this plane to the specified point.
(Inherited from Surface)
Public method DistanceTo(Point3d, Tolerance) Retrieves the distance from the closest point on this plane to the specified point according to a tolerance.
(Inherited from Surface)
Public method Equals Checks objects for equality.
(Inherited from DisposableWrapper)
Public method EvaluatePoint(Point2d) Retrieves the 3D point on this surface that corresponds to the specified point parameter value.
(Inherited from Surface)
Public method EvaluatePoint(Point2d, Int32, Vector3dCollection) Retrieves the 3D point on this surface that corresponds to the specified point parameter value.
(Inherited from Surface)
Public method EvaluatePoint(Point2d, Int32, Vector3dCollection, Vector3d) Retrieves the 3D point on this surface that corresponds to the specified point parameter value.
(Inherited from Surface)
Public method GetClosestPointTo(Point3d) Gets a point on this surface that is the closest to the specified point.
(Inherited from Surface)
Public method GetClosestPointTo(Point3d, Tolerance) Gets a point on this surface that is the closest to the specified point according to a tolerance.
(Inherited from Surface)
Public method GetDefinition Returns the NURBS surface definition for this NURBS surface. NURBS surface definition contains information about: * Degree in U and V * Properties in U and V * Count of control points in U and V * Control points * Weight values * Knots in U and V
Public method GetEnvelope
(Inherited from Surface)
Public method GetHashCode Retrieves the object hash code.
(Inherited from DisposableWrapper)
Public method GetLifetimeService
(Inherited from MarshalByRefObject)
Public method GetType
(Inherited from Object)
Public method InitializeLifetimeService
(Inherited from MarshalByRefObject)
Public method IsClosedInU
(Inherited from Surface)
Public method IsClosedInU(Tolerance)
(Inherited from Surface)
Public method IsClosedInV
(Inherited from Surface)
Public method IsClosedInV(Tolerance)
(Inherited from Surface)
Public method IsEqualTo(Entity3d) Checks whether this entity is equal to the specified entity.
(Inherited from Entity3d)
Public method IsEqualTo(Entity3d, Tolerance) Checks whether this entity is equal to the specified entity within a geometric tolerance.
(Inherited from Entity3d)
Public method IsOn(Point3d) Checks whether the specified point is on this entity.
(Inherited from Entity3d)
Public method IsOn(Point3d, Tolerance) Checks whether the specified point is on this entity according to a geometric tolerance.
(Inherited from Entity3d)
Public method IsOn(Point3d, Point2d)
(Inherited from Surface)
Public method IsOn(Point3d, Point2d, Tolerance)
(Inherited from Surface)
Public method Mirror Mirrors this entity about the specified plane.
(Inherited from Entity3d)
Public method ParameterOf(Point3d) Retrieves a 2D point (U, V) that represents parametric values for the passed 3D point on this surface.
(Inherited from Surface)
Public method ParameterOf(Point3d, Tolerance) Retrieves a 2D point (U, V) that represents parametric values for the passed 3D point on this surface.
(Inherited from Surface)
Public method RotateBy Rotates this entity by the specified angle about the axis defined by the point and the vector.
(Inherited from Entity3d)
Public method ScaleBy Scales this entity by the scale factor about the specified point.
(Inherited from Entity3d)
Public method Set(Int32, Int32, Int32, Int32, Int32, Int32, Point3dCollection, DoubleCollection, KnotCollection, KnotCollection) Sets properties for this NURBS surface.
Public method Set(Int32, Int32, Int32, Int32, Int32, Int32, Point3dCollection, DoubleCollection, KnotCollection, KnotCollection, Tolerance) Sets properties for this NURBS surface.
Public method ToString
(Inherited from Object)
Public method TransformBy Applies the specified 2D transformation matrix to this entity.
(Inherited from Entity3d)
Public method TranslateBy Translates this entity by applying a 3D translation vector.
(Inherited from Entity3d)
Top
See Also

©  Bricsys NV. All rights reserved.