Drawing3d documented Class Library

Arc Members

Arc overview

Public Static (Shared) Fields

maxRadius Gets and sets the maximum for the radius of the arc. If a radius is set to a greater value, then the arc becomes a straight line.
minRadius Get and sets the minimum of a radius. If a radius is smaller than the minimum, the arc becomes a point.
PI Is the same as System.Math.PI, but it is easier, because it is quite close.

Public Instance Constructors

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

Public Instance Fields

ClockWise Sets and gets the orientation of the arc.
OnChanged (inherited from Curve) This event is fired by the method Changed
Tag (inherited from Curve) Tag is a free programmable property

Public Instance Properties

A Defines A new.
Alfa Sets and gets the startangle.2PI and 0 are the same .
aRadius Sets anf gets the x-radius of the ellipse
Atang Defines Atang new
B Defines B new.
Beta Ses and gets the endangle. 2PI and 0 are the same.
bRadius Sets and gets the y-radius of the ellipse.
Btang Defines Btang new
Center Center of the arc
CurveLength (inherited from Curve) Retrieves the length of the curve.
fromParam (inherited from Curve) Retrieves and sets the starting parameter. All parameters are within the interval [fromParam, toParam]. Initialvalue is 0;
Inverted (inherited from Curve) Sets or gets the property, thats a curve is inverted is.
IsLine Is the arc degenerated to a Line
Maxrect (inherited from Curve) A property, which calls GetMaxrect
Owner (inherited from Curve) A CurveArray, which contains the Curve.
Resolution (inherited from Curve) Retrieves and sets the resolution of the curve. The default value is 40.
Smooth (inherited from Curve) Some classes are using this property to set BTang equals to the Atang of the "next" curve
toParam (inherited from Curve) Retrieves and sets the end parameter. All parameters are within the interval [fromParam, toParam]. Initialvalue is 1;
Transformation Gets and sets a transformation matrix for the arc
Visible (inherited from Curve) Several classes use this property and hide a curve, where visible is false.

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].
Cross (inherited from Curve)Overloaded. Crosses the Curve with an other curve by crossing the interpolating polygonarray.
Derivation Overrides the Derivation
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 invert method and exchanges alfa and beta.
LengthToParam (inherited from Curve) Converts a length to a param, which can be used in the method Value.
LoadFromStream Loads Center, aRadius,bRadius ,Alfa, ,Beta and ,ClockWise 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.
ReShapeOverloaded. With this method you can change the outfit of an arc. The three points _A, _B and _C define the arc uniquely.
SaveToStream Saves Center, aRadius,bRadius ,Alfa, ,Beta and ,ClockWise 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 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 Overrides the Transform-method.
Value Returns the arc value for a parameter t between 0 and 1.

Public Instance Events

OnGetDerivation (inherited from Curve) Event, which is fired by the method derivation.
OnGetValue (inherited from Curve) Event, which is fired by the method value.

Protected Instance Fields

Dirty (inherited from Curve) Indicates, that the curve is changed A call to MakeClean sets dirty to false. In this method an Array of Resolution+1 point will be created and returned, when a request ToXYArray is given.

Protected Instance Methods

Finalize (inherited from Object) 
getA Overrides getA
getAtang (inherited from Curve) This method is the getMethod of the Atang-property, which retrieves the start tangent. By default Derivation(fromParam) is returned.
getB Overrides getB
getBtang (inherited from Curve) This method is the getMethod of the Btang-property, which retrieves the Endtangent. By default Derivaion(toParam) is returned.
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 Overrides the setA-method.
setAtang Overrides the setAtang-method.
setB Overrides the setB-method.
setBtang Overrides the setBtang-method.
setVisible (inherited from Curve) Virtual setmethod of the property Visible

See Also

Arc Class | Drawing3d.Curves Namespace