Drawing3d documented Class Library

Nurbs2d Methods

The methods of the Nurbs2d class are listed below. For a complete list of Nurbs2d class members, see the Nurbs2d Members topic.

Public Instance Methods

Changed (inherited from Curve) This method is called, when the curve is changed. It fires the event OnChanged
Clone (inherited from Curve) Produces an exact copy of the curve by using the BinaryFormatter. So you have to mark a new instance of Curve with the attribute [Serializable].
Close Overrides close
Cross (inherited from Curve)Overloaded. Crosses the Curve with an other curve by crossing the interpolating polygonarray.
DefaultKnots (inherited from BSpline) Gets nonuniform knots
Derivation Overides the derivationmethod
Distance (inherited from Curve)Overloaded. This method calculates the distance of a LineType to a Curve only in case, when the distance is smaller then MaxDist, otherwise big will be returned. You can imagine a cylinders with radius MaxDist around the Curve. If the line goes through the "curved" cylinder, then the distance will be calculated and returned.
Equals (inherited from Object) 
FindType (inherited from Curve) Gets the associated type of an ID
GetCrossList (inherited from Curve) Get a CrossList, which contains the crossing points with another curve?. The parameter param1 and param2 in CrossItem are converted to a curve parameter.
GetHashCode (inherited from Object) 
GetMaxrect (inherited from Curve)Overloaded. Gets a minimal rectangle, which contains a curve, transformed by a transformation.
GetType (inherited from Object) 
InsertPoint (inherited from Curve) Inserts a point at the position, which is given by Param.
Invert Overrides the base method.
LengthToParam (inherited from Curve) Converts a length to a param, which can be used in the method Value.
LoadFromStream Loads the Weights from stream.
Parallel (inherited from Curve) Returns a leftside parallel xyArray to the curve, which has a distance of width.
ParamToLength (inherited from Curve) Calculates the length of a part of the curve, which is given from 0 to the value param.
SaveToStream Writes the Weights to stream.
SetBorder (inherited from Curve)Overloaded. Set the border of the curve to the new start- and endpoints of the curve, whose are near to _A and to_B
Slice (inherited from BSpline) Overrides the Slice-method.
ToArray (inherited from Curve) This method fills values, calculated by the function Value in an array, starting at index.
ToString (inherited from Object) 
ToXYArray (inherited from Curve) Gets an array of Resolution+1 interpolationpoints.
Transform (inherited from BSpline) Overrides the Transform-method, whitch transforms the ControlControlPoints.
UniformKnots (inherited from BSpline) Gets uniform knots
Value Overrides the abstract Value function Valueof the curve class and retrieves the nurbsfunction of t.

Protected Instance Methods

Finalize (inherited from Object) 
getA (inherited from BSpline) Overrides the abstract getA-method and returns the point[0].
getAtang (inherited from BSpline) Overrides the getAtang and returns Points[1] - Points[0].
getB (inherited from BSpline) Overrides the getB-Method by returning the Point[3]
getBtang (inherited from BSpline) Overrides the getAtang and returns Points[3] - Points[2].
GetMaxrect (inherited from Curve)Overloaded. Gets the smaller rectangle, which contains the curve.
getVisible (inherited from Curve) virtual getmethod of the property Visible
MemberwiseClone (inherited from Object) 
setA (inherited from BSpline) Overrides the method setA by setting the value of the Point[0];
setAtang (inherited from BSpline) Overrides the setAtang-method
setB (inherited from BSpline) Overrides the setA-method by setting the endpoint to Points[3].
setBtang (inherited from BSpline) Overrides the setBtang by setting Points[2] to Points[3] - value;
SetControlPoints overrides the SetControlPoints and adds uniform Weights.
setVisible (inherited from Curve) Virtual setmethod of the property Visible
SetWeights The virtual set method of the property Weights

See Also

Nurbs2d Class | Drawing3d.Curves Namespace