NurbSpline Methods




The NurbSpline type exposes the following members.

Methods

  NameDescription
Public methodClone
Returns a copy of this curve.
(Inherited from Curve.)
Public methodComputeDerivatives
Returns the vectors describing the curve at the specified parameter.
(Inherited from Curve.)
Public methodComputeNormalizedParameter
Computes the normalized curve parameter from the raw parameter.
(Inherited from Curve.)
Public methodComputeRawParameter
Computes the raw parameter from the normalized parameter.
(Inherited from Curve.)
Public methodStatic memberCreate(HermiteSpline)
Creates a new geometric NurbSpline object from a HermiteSpline.
Public methodStatic memberCreate(IList<(Of <<'(XYZ>)>>), IList<(Of <<'(Double>)>>)) Obsolete.
Creates a new geometric NurbSpline object using the same calculations that Revit uses when sketching splines in the user interface.
Public methodStatic memberCreate(IList<(Of <<'(XYZ>)>>), IList<(Of <<'(Double>)>>), IList<(Of <<'(Double>)>>), Int32, Boolean, Boolean) Obsolete.
Creates a new geometric NURBSpline object.
Public methodStatic memberCreateCurve(HermiteSpline)
Creates a new geometric Curve object by converting the given HermiteSpline. The created curve may be a NURBSpline or a simpler curve such as line or arc.
Public methodStatic memberCreateCurve(IList<(Of <<'(XYZ>)>>), IList<(Of <<'(Double>)>>))
Creates a new geometric Curve object from NURBS curve data containing just control points and weights. The created curve may be a NURBSpline or a simpler curve such as line or arc.
Public methodStatic memberCreateCurve(Int32, IList<(Of <<'(Double>)>>), IList<(Of <<'(XYZ>)>>))
Creates a new geometric Curve object from NURBS curve data, which does not include weights. The created curve may be a NURBSpline or a simpler curve such as line or arc.
Public methodStatic memberCreateCurve(Int32, IList<(Of <<'(Double>)>>), IList<(Of <<'(XYZ>)>>), IList<(Of <<'(Double>)>>))
Creates a new geometric Curve object from NURBS curve data, which includes weights. The created curve may be a NURBSpline or a simpler curve such as line or arc.
Public methodCreateOffset
Creates a new curve that is an offset of the existing curve.
(Inherited from Curve.)
Public methodCreateReversed
Creates a new curve with the opposite orientation of the existing curve.
(Inherited from Curve.)
Public methodCreateTransformed
Crates a new instance of a curve as a transformation of this curve.
(Inherited from Curve.)
Public methodDispose
Causes the object to release immediately any resources it may be utilizing.
(Inherited from APIObject.)
Public methodDistance
Returns the shortest distance from the specified point to this curve.
(Inherited from Curve.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from GeometryObject.)
Public methodEvaluate
Evaluates and returns the point that matches a parameter along the curve.
(Inherited from Curve.)
Public methodGetEndParameter
Returns the raw parameter value at the start or end of this curve.
(Inherited from Curve.)
Public methodGetEndPoint
Returns the 3D point at the start or end of this curve.
(Inherited from Curve.)
Public methodGetEndPointReference
Returns a stable reference to the start point or the end point of the curve.
(Inherited from Curve.)
Public methodGetHashCode
Gets the integer value of the geometry object as hash code
(Inherited from GeometryObject.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIntersect(Curve)
Calculates the intersection of this curve with the specified curve.
(Inherited from Curve.)
Public methodIntersect(Curve, IntersectionResultArray%)
Calculates the intersection of this curve with the specified curve and returns the intersection results.
(Inherited from Curve.)
Public methodIsInside(Double)
Indicates whether the specified parameter value is within this curve's bounds.
(Inherited from Curve.)
Public methodIsInside(Double, Int32%)
Indicates whether the specified parameter value is within this curve's bounds and outputs the end index.
(Inherited from Curve.)
Public methodMakeBound
Changes the bounds of this curve to the specified values.
(Inherited from Curve.)
Public methodMakeUnbound
Makes this curve unbound.
(Inherited from Curve.)
Public methodProject
Projects the specified point on this curve.
(Inherited from Curve.)
Public methodSetControlPointsAndWeights
Set the control points, weights simultaneously.
Public methodSetGraphicsStyleId
Sets the graphics style id for this curve.
(Inherited from Curve.)
Public methodTessellate
Valid only if the curve is bound. Returns a polyline approximation to the curve.
(Inherited from Curve.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

See Also

Online Documentation for the Revit API | Gui Talarico