NurbCurve3d Class

This class represents non-uniform rational B-splines (NURBS) in 3D space. For more information, see Working with NURBS Curves.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    Teigha.RuntimeDisposableWrapper
      Teigha.GeometryEntity3d
        Teigha.GeometryCurve3d
          Teigha.GeometrySplineEntity3d
            Teigha.GeometryNurbCurve3d

Namespace: Teigha.Geometry
Assembly: TD_Mgd (in TD_Mgd.dll) Version: 24.2.0.0
Syntax
public sealed class NurbCurve3d : SplineEntity3d

The NurbCurve3d type exposes the following members.

Constructors
  Name Description
Public method NurbCurve3d Default constructor for the NurbCurve3d class. With this constructor no actual data is stored in the object.
Public method NurbCurve3d(EllipticalArc3d) Constructor for the NurbCurve3d class. Constructs a 3D curve from a passed 3D elliptical arc.
Public method NurbCurve3d(LineSegment3d) Constructor for the NurbCurve3d class. Constructs a 3D curve from a passed 3D line segment.
Public method NurbCurve3d(Point3dCollection) Constructor for the NurbCurve3d class. Constructs a 3D curve interpolating a given array of 3D points.
Public method NurbCurve3d(Point3dCollection, Tolerance) Constructor for the NurbCurve3d class. Constructs a 3D curve interpolating a given array of 3D points within a given tolerance.
Public method NurbCurve3d(Int32, PolylineCurve3d, Boolean) Constructor for the NurbCurve3d class. Constructs a NURBS curve with a specified degree value, fit polyline, and a flag specifying whether to make a closed curve.
Public method NurbCurve3d(Point3dCollection, Vector3dCollection, Boolean) Constructor for the NurbCurve3d class. Constructs a 3D polynomial curve interpolating a given array of 3D points.
Public method NurbCurve3d(Int32, KnotCollection, Point3dCollection, Boolean) Constructor for the NurbCurve3d class. Constructs a 3D curve according to the passed parameters.
Public method NurbCurve3d(Point3dCollection, Vector3dCollection, Tolerance, Boolean) Constructor for the NurbCurve3d class. Constructs a 3D polynomial curve interpolating a given array of 3D points according to the specified tolerance.
Public method NurbCurve3d(Int32, KnotCollection, Point3dCollection, DoubleCollection, Boolean) Constructor for the NurbCurve3d class. Constructs a 3D curve according to the passed parameters.
Public method NurbCurve3d(Point3dCollection, Vector3d, Vector3d, Boolean, Boolean) Constructor for the NurbCurve3d class. Constructs a 3D curve interpolating a given array of 3D points and using given derivatives at the start point and endpoint.
Public method NurbCurve3d(Point3dCollection, Vector3d, Vector3d, Boolean, Boolean, KnotParameterizationEnum) Constructor for the NurbCurve3d class. Constructs a 3D curve interpolating a given array of 3D points, knot parameterization, and having given derivatives at the start point and endpoint.
Public method NurbCurve3d(Point3dCollection, Vector3d, Vector3d, Boolean, Boolean, Tolerance) Constructor for the NurbCurve3d class. Constructs a 3D curve interpolating a given array of 3D points according to the specified tolerance and using given derivatives at the start point and endpoint.
Public method NurbCurve3d(Point3dCollection, Vector3d, Vector3d, Boolean, Boolean, KnotParameterizationEnum, Tolerance) Constructor for the NurbCurve3d class. Constructs a 3D curve interpolating a given array of 3D points, knot parameterization, and having given derivatives at the start point and endpoint.
Top
Properties
  Name Description
Public property AutoDelete
(Inherited from DisposableWrapper)
Public property BoundBlock
(Inherited from Curve3d)
Public property DefinitionData  
Public property Degree
(Inherited from SplineEntity3d)
Public property EndParameter
(Inherited from SplineEntity3d)
Public property EndPoint
(Inherited from SplineEntity3d)
Public property EvalMode  
Public property FitData  
Public property FitKnotParameterization  
Public property FitTolerance  
Public property HasEndPoint
(Inherited from Curve3d)
Public property HasFitData
(Inherited from SplineEntity3d)
Public property HasStartPoint
(Inherited from Curve3d)
Public property IsDisposed
(Inherited from DisposableWrapper)
Public property IsRational
(Inherited from SplineEntity3d)
Public property Knots
(Inherited from SplineEntity3d)
Public property NumberOfControlPoints
(Inherited from SplineEntity3d)
Public property NumberOfKnots
(Inherited from SplineEntity3d)
Public property NumFitPoints  
Public property NumWeights  
Public property Order
(Inherited from SplineEntity3d)
Public property OrthoBoundBlock
(Inherited from Curve3d)
Public property StartParameter
(Inherited from SplineEntity3d)
Public property StartPoint
(Inherited from SplineEntity3d)
Public property UnmanagedObject
(Inherited from DisposableWrapper)
Top
Methods
  Name Description
Public method AddControlPointAt Adds a control point at the specified knot.
Public method AddFitPointAt Inserts a fit point at the specified index.
Public method AddKnot Adds a new knot to the spline knot array.
Public method Clone Clones this entity and returns a handle to the cloned entity.
(Inherited from Entity3d)
Public method ControlPointAt Returns control point in the control point array at the specified index. Currently not implemented.
(Inherited from SplineEntity3d)
Public methodStatic member Create Creates an object based on the passed pointer and returns a handle to the created object.
Public method CreateObjRef Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject)
Public method DeleteControlPointAt Deletes a control point at the specified index.
Public method DeleteFitPointAt Removes a fit point with the specified index.
Public method Dispose
(Inherited from DisposableWrapper)
Public method ElevateDegree Increases the spline degree by the specified value.
Public method Equals
(Inherited from DisposableWrapper)
Public method EvaluatePoint Retrieves the point on the curve corresponding to the specified parameter value.
(Inherited from Curve3d)
Public method Explode Explodes the curve into its component sub-curves.
(Inherited from Curve3d)
Public method GetArea(Double, Double) Retrieves the area of the parametric interval defined by the passed start and end parameters.
(Inherited from Curve3d)
Public method GetArea(Double, Double, Tolerance) Retrieves the area of the parametric interval defined by the passed start and end parameters.
(Inherited from Curve3d)
Public method GetBoundBlockOf Retrieves the oriented bounding box of the specified sub-interval of this curve.
(Inherited from Curve3d)
Public method GetClosestPointTo(Curve3d) Retrieves the closest points between this curve and the passed curve.
(Inherited from Curve3d)
Public method GetClosestPointTo(Point3d) Retrieves the closest point on this curve to the specified point.
(Inherited from Curve3d)
Public method GetClosestPointTo(Curve3d, Tolerance) Retrieves the closest points between this curve and the passed curve within a specified tolerance.
(Inherited from Curve3d)
Public method GetClosestPointTo(Point3d, Tolerance) Retrieves the closest point on this curve to the specified point within a specified tolerance.
(Inherited from Curve3d)
Public method GetContinuityAtKnot(Int32) Returns the degree of the highest derivative that is defined at a specified knot. Currently not implemented.
(Inherited from SplineEntity3d)
Public method GetContinuityAtKnot(Int32, Tolerance) Returns the degree of the highest derivative that is defined at a specified knot. Currently not implemented.
(Inherited from SplineEntity3d)
Public method GetDistanceTo(Curve3d) Retrieves the distance of the closest points between this curve and the passed curve.
(Inherited from Curve3d)
Public method GetDistanceTo(Point3d) Retrieves the distance of the closest point on this curve and the specified point.
(Inherited from Curve3d)
Public method GetDistanceTo(Curve3d, Tolerance) Retrieves the distance of the closest points between this curve and the passed curve within a specified tolerance.
(Inherited from Curve3d)
Public method GetDistanceTo(Point3d, Tolerance) Retrieves the distance of the closest point on this curve and the specified point within a specified tolerance.
(Inherited from Curve3d)
Public method GetFitPointAt Retrieves the fit point at the specified index.
Public method GetFitTangents Retrieves the start and end tangents if this spline was constructed with fit data.
Public method GetHashCode
(Inherited from DisposableWrapper)
Public method GetInterval Retrieves the parametric interval of this curve.
(Inherited from Curve3d)
Public method GetLength Retrieves the arc length of the curve between the two parameter values.
(Inherited from Curve3d)
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
Public method GetNormalPoint(Point3d) Retrieves the point on this curve where normal extends through the passed point.
(Inherited from Curve3d)
Public method GetNormalPoint(Point3d, Tolerance) Retrieves the point on this curve where normal extends through the passed point within the specified tolerance.
(Inherited from Curve3d)
Public method GetOrthoBoundBlockOf Retrieves the bounding box of the specified parametric range of this curve. Bounding box sides are parallel to the coordinate axes.
(Inherited from Curve3d)
Public method GetOrthoProjectEntity(Plane) Retrieves the entity representing the curve's orthogonal projection onto the projection plane.
(Inherited from Curve3d)
Public method GetOrthoProjectEntity(Plane, Tolerance) Retrieves the entity representing the curve's orthogonal projection onto the projection plane.
(Inherited from Curve3d)
Public method GetParameterAtLength Retrieves the parameter value of the point whose arc length distance is the input length.
(Inherited from Curve3d)
Public method GetParameterOf(Point3d) Retrieves the parameter value of a point.
(Inherited from Curve3d)
Public method GetParameterOf(Point3d, Tolerance) Retrieves the parameter value of a point within a specified tolerance.
(Inherited from Curve3d)
Public method GetParametersOfC1Discontinuity Returns parameter values of all points on the spline where the tangent vector is not continuous. The returned array contains points where the tangent vector to the left of the point is not equal to the tangent vector to the right of the point.
Public method GetParametersOfC1Discontinuity(Tolerance) Returns parameter values of all points on the spline where the tangent vector is not continuous according to the specified tolerance. The returned array contains points where the tangent vector to the left of the point is not equal to the tangent vector to the right of the point.
Public method GetParametersOfG1Discontinuity Returns parameter values of all points on the spline where the tangent vector is not continuous. The returned array contains points where the tangent vector to the left of the point does not have the same direction to the tangent vector to the right of the point.
Public method GetParametersOfG1Discontinuity(Tolerance) Returns parameter values of all points on the spline where the tangent vector is not continuous according to the specified tolerance. The returned array contains points where the tangent vector to the left of the point does not have the same direction to the tangent vector to the right of the point.
Public method GetProjectedClosestPointTo(Curve3d, Vector3d) Retrieves the point on this curve closest to the specified curve, and the point on the passed curve closest to this curve, when this curve is projected in the specified direction.
(Inherited from Curve3d)
Public method GetProjectedClosestPointTo(Point3d, Vector3d) Retrieves the point on this curve closest to the specified point when projected in the specified direction.
(Inherited from Curve3d)
Public method GetProjectedClosestPointTo(Curve3d, Vector3d, Tolerance) Retrieves the points on this curve closest to the specified curve, and the point on the other curve closest to this curve, when this curve is projected in the specified direction.
(Inherited from Curve3d)
Public method GetProjectedClosestPointTo(Point3d, Vector3d, Tolerance) Retrieves the point on this curve closest to the specified point when projected in the specified direction.
(Inherited from Curve3d)
Public method GetProjectedEntity(Plane, Vector3d) Retrieves the entity representing the curve's projection onto the projection plane.
(Inherited from Curve3d)
Public method GetProjectedEntity(Plane, Vector3d, Tolerance) Retrieves the entity representing the curve's projection onto the projection plane.
(Inherited from Curve3d)
Public method GetReverseParameterCurve Reverses the parameter *direction* of this *curve*.
(Inherited from Curve3d)
Public method GetSamplePoints(Int32) Retrieves an array of sample points along this curve.
(Inherited from Curve3d)
Public method GetSamplePoints(Double, Double, Double) Retrieves specified arrays of sample points along this curve and their parameter values.
(Inherited from Curve3d)
Public method GetSplitCurves Retrieves two segments of this curve split at the specified parameter value.
(Inherited from Curve3d)
Public method GetTrimmedOffset(Double, Vector3d, OffsetCurveExtensionType) Receives one or more offset curves that represent the trimmed offset of the curve.
(Inherited from Curve3d)
Public method GetTrimmedOffset(Double, Vector3d, OffsetCurveExtensionType, Tolerance) Receives one or more offset curves that represent the trimmed offset of the curve.
(Inherited from Curve3d)
Public method GetType Gets the Type of the current instance.
(Inherited from Object)
Public method GetWeightAt Returns the weight at the specified index.
Public method HardTrimByParams Trims this NURBS curve by the new start and end parameters.
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
Public method InsertKnot Inserts a new knot to the spline knot array.
Public method IsClosed Checks whether the curve is closed.
(Inherited from Curve3d)
Public method IsClosed(Tolerance) Checks whether the curve is closed within a specified tolerance.
(Inherited from Curve3d)
Public method IsCoplanarWith(Curve3d, Plane) Checks whether the specified curve entity is coplanar with this curve and returns the common plane.
(Inherited from Curve3d)
Public method IsCoplanarWith(Curve3d, Plane, Tolerance) Checks whether the specified curve entity is coplanar with this curve and returns the common plane.
(Inherited from Curve3d)
Public method IsDegenerate(Entity3d) Checks whether this curve is degenerate and returns the type of entity that the curve degenerates to (if degenerate).
(Inherited from Curve3d)
Public method IsDegenerate(Entity3d, Tolerance) Checks whether this curve is degenerate and returns the type of entity that the curve degenerates to (if degenerate).
(Inherited from Curve3d)
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 IsLinear(Line3d) Checks whether this curve is linear.
(Inherited from Curve3d)
Public method IsLinear(Line3d, Tolerance) Checks whether this curve is linear within a specified tolerance.
(Inherited from Curve3d)
Public method IsOn(Double) Checks whether a specified parameter value is within a valid parametric range of the curve.
(Inherited from Curve3d)
Public method IsOn(Point3d) Checks whether a specified point lies on this curve.
(Inherited from Curve3d)
Public method IsOn(Double, Tolerance) Checks whether a specified parameter value is within a valid parametric range of the curve.
(Inherited from Curve3d)
Public method IsOn(Point3d, Double) Checks whether a specified point lies on this curve.
(Inherited from Curve3d)
Public method IsOn(Point3d, Tolerance) Checks whether a specified point lies on this curve within a specified tolerance.
(Inherited from Curve3d)
Public method IsOn(Point3d, Double, Tolerance) Checks whether a specified point lies on this curve.
(Inherited from Curve3d)
Public method IsPeriodic Checks whether the curve is periodic.
(Inherited from Curve3d)
Public method IsPlanar(Plane) Checks whether this curve is planar. If the curve is a line, this function returns an arbitrary plane that contains the line. The plane parameter contains meaningful data only if this function returns a value of true.
(Inherited from Curve3d)
Public method IsPlanar(Plane, Tolerance) Checks whether this curve is planar within a specified tolerance. If the curve is a line, this function returns an arbitrary plane that contains the line. The plane parameter contains meaningful data only if this function returns a value of true.
(Inherited from Curve3d)
Public method JoinWith Joins the specified OdGeNurbCurve3d with this spline and returns a reference to the recomputed spline.
Public method KnotAt Returns a knot value at the specified knot index. Currently not implemented.
(Inherited from SplineEntity3d)
Public method MakeClosed Makes an open spline closed, and returns a reference to this spline.
Public method MakeNonPeriodic Makes this spline non-periodic (if it is not).
Public method MakeOpen Makes a closed spline open.
Public method MakePeriodic Makes this spline periodic (if it is not).
Public method MakeRational Makes this spline rational (if it is not).
Public method Mirror Mirrors this entity about the specified plane.
(Inherited from Entity3d)
Public method PurgeFitData Purges the fit data defining this spline. The fit data consists of the fit points, fit tolerance, start tangent, and end tangent. The definition of the spline is unchanged.
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 SetControlPointAt Sets the specified control point in the control point array. Currently not implemented.
(Inherited from SplineEntity3d)
Public method SetEvaluateMode Sets the evaluation mode.
Public method SetFitData(Int32, Point3dCollection) Sets the fit data for this spline.
Public method SetFitData(Int32, Point3dCollection, Tolerance) Sets the fit data for this spline.
Public method SetFitData(Point3dCollection, Vector3d, Vector3d) Sets the fit data for this spline.
Public method SetFitData(Point3dCollection, Vector3d, Vector3d, Tolerance) Sets the fit data for this spline.
Public method SetFitData(KnotCollection, Point3dCollection, Vector3d, Vector3d, Boolean) Sets the fit data for this spline.
Public method SetFitData(Point3dCollection, Vector3d, Vector3d, KnotParameterizationEnum, Tolerance) Sets the fit data for this spline.
Public method SetFitData(KnotCollection, Point3dCollection, Vector3d, Vector3d, Tolerance, Boolean) Sets the fit data for this spline.
Public method SetFitPointAt Sets the fit point at the specified index.
Public method SetFitTangents Sets the fit tangents for this spline.
Public method SetInterval Sets the parametric range of this curve.
(Inherited from Curve3d)
Public method SetKnotAt Sets the knot value for the specified knot. Currently not implemented.
(Inherited from SplineEntity3d)
Public method SetWeightAt Sets the weight at the specified index.
Public method ToString Returns a string that represents the current object.
(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.