An NDoc Documented Class Library

Bezier Members

Bezier overview

Public Instance Constructors

Bezier Constructor Initializes a new instance of the Bezier class.

Public Instance Fields

OnChanged (inherited from Curve) 
Points This array contains the controlpoints of a beziercurve. Initialized is the array by four points, which indicates the curve as cubic bezier.
You can set any array of controlpoints.
Resolution (inherited from Curve) 
Tag (inherited from Curve) 
Visible (inherited from Curve) 

Public Instance Properties

A (inherited from MNCurve) Returns and sets the StartPoint.See getA and setA
Atang (inherited from MNCurve) Returns and sets the starttangent. See getAtang, setAtang and Btang
B (inherited from MNCurve) Returns and sets the EndPoint.See getB and setB
Btang (inherited from MNCurve) Returns and sets the endtangent. See getBtang, setBtang and Atang
CurveLength (inherited from Curve) Retrieves the length of the curve.
fromParam (inherited from Curve) 
Maxrect (inherited from Curve) 
Smooth (inherited from MNCurve) 
toParam (inherited from Curve) 

Public Instance Methods

Changed (inherited from Curve) 
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].
Cross (inherited from Curve) 
Derivation Overrides the abstract Derivationfunction Derivation of the curveclass and retrieves the derivation of the Bezierfunction of t depending on the controlpoints Points
Distance (inherited from Curve) This method calculates the distance of a LineType to a Curve only in case, when the distance is smaller then MaxDist else big will be returned. You can imagine a cylinders with radius MaxDist around the Curve. If now the line goes through the "curved" cylinder, then this is a good one and the distance will be calculated and returned.
Equals (inherited from Object) 
GetCrossList (inherited from Curve) 
GetHashCode (inherited from Object) 
GetMaxrect (inherited from Curve)Overloaded.  
GetType (inherited from Object) 
InsertPoint (inherited from Curve) 
Invert (inherited from MNCurve) 
LengthToParam (inherited from Curve) Converts a length to a param, which ca be used in the method Value.
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 form 0 to the value param.
SetInnerPoint 
Slice 
ToArray (inherited from Curve) This method fills values, calculated by the function Value in an array, starting at index.
ToString (inherited from Object) 
Transform Overrides the Transform-method, whitch transforms the ControlPoints.
Value Overrides the abstract Valuefunction Valueof the curveclass and retrieves the Bezierfunction of t depending on the controlpoints Points

Protected Instance Methods

Finalize (inherited from Object) 
getA Overrides the abstract getA-method and returns the point[0].
getAtang Overrides the getAtang and returns Points[1] - Points[0].
getB Overrides the getB-Method by returning the Point[3]
getBtang Overrides the getAtang and returns Points[3] - Points[2].
GetMaxrect (inherited from Curve)Overloaded.  
MemberwiseClone (inherited from Object) 
setA Overrides the method setA by setting the value in the Point[0];
setAtang Overrides the setAtang-method
setB Overrides the setA-method by setting the endpoint to Points[3].
setBtang Overrides the setBtang by setting Points[2] to Points[3] - value;

See Also

Bezier Class | Minais.Drawing3d.Curves Namespace