An NDoc Documented Class Library

Line Members

Line overview

Public Instance Constructors

Line Overloaded. Initializes a new instance of the Line class.

Public Instance Fields

OnChanged (inherited from Curve) 
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 Valuefunction Derivationof the curveclass and returns direction B - A
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.
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 and transforms the points A and B
Value Overrides the abstract Valuefunction Valueof the curveclass and returns the linear function through A and B

Protected Instance Methods

Finalize (inherited from Object) 
getA Overrides the getA-method and returns the value of a local variable.
getAtang (inherited from MNCurve) This method is the getMethod of the Atang-property, which retrieves the starttangent. By default Derivaion(fromParam) is returned.
getB Overrides the getB-method and returns the value of a local variable.
getBtang (inherited from MNCurve) This method is the getMethod of the Btang-property, which retrieves the Endtangent. By default Derivaion(toParam) is returned.
GetMaxrect (inherited from Curve)Overloaded.  
MemberwiseClone (inherited from Object) 
setA Overrides the setA-method and save the value in a local variable.
setAtang Overrides the setAtang-method and ignores the setting.
setB Overrides the setB-method and save the value in a local variable.
setBtang Overrides the setBtang-method and ignores the setting.

See Also

Line Class | Minais.Drawing3d.Curves Namespace