Drawing3d documented Class Library

Drawing3d.Curves Namespace

Namespace Hierarchy

Classes

Class Description
Arc The class a encapsulate properties and method about an arc, i.e a part of a ellipse. It has main properties Center, aRadius, bRadiusAlfa, Beta and Orientation. By these properties an arc is unique defined. Aditionally the is a fine method ReShape, who allows you to define an arc by a point and a tangent.
Bezier The class Bezier implements a Bezier curve. This curve is initialized by four control points, which make the curve to a cubic Bezier. By setting the Points you can make a bezier of any degree.
Bezier3D The class Bezier implements a Bezier curve. This curve is initialized by four control points, which make the curve to a cubic Bezier. By setting the Points you can make a bezier of any degree.
BSpline The class BSpline implements a BSpline curve. This Class contains ControlPoints and the property Degree. The curve is trimmed to his endpoints. The controlPointsarray is initialized with four zero values. The Degree is initialized with 3.
BSpline3d The class BSpline implements a BSpline curve. This Class contains ControlPoints and the property Degree. The curve is trimmed to his endpoints. The controlPointsarray is initialized with four zero values. The Degree is initialized with 3.
Circle3D Implements a Circle, which is given in the x-y Plane of the Base.The Center is the Base.BaseO. The range for the parameter goes from 0 to 1 and calculate the values in a the sense, which is given by the property Clockwise, whixh is fals by default. If you will produce a an arc from 0° to 90° you have set fromParam to 0 and toParam to 0.25.
Curve The class Curve represents a two-dimensional parameterized mathematical curve. The parameter is restricted to the interval [0, 1]. To define a curve you have to override the abstract Methods Value and Derivation If this is done, a curve can be drawn in a device by the method drawCurve. Additionally a curve has a resolution. This is used by the method ToArray, which retrieves an array with Resolution+1 points.
Curve3D The class Curve3D represents a thre-dimensional parameterized mathematical curve. The parameter is restricted to the interval [fromParam, toParam]. fromParam and toParam are initialized by 0 and 1.
To define your own curve you have to override the Methods Value and Derivation
value : R -> R³. If this is done, a curve can be drawn in a device by the method drawCurve. Additionally a curve has a resolution. This is used by the method ToArray, which retrieves an array with Resolution+1 points.
CurveArray This class is a container for curves.
In general the curves don`t havo to be coherently.
The Count-property is read- and writeable. A CurveArrray can be drawn directly by calling drawPolyCurve It is a ArrayList which contains an ITransform-Interface.
CurveList3D Liste von Curve3D
Line Line, which contains the two points A and B and describes a line between A and B.
Line3D Line, which contains the two points A and B and describes a line between A and B.
Loca Loca represents a List of curveArrays. The class is mostly needed for describing areas which are bounded by curves and have additional holes, which are bounded by curves as well.
With drawPolyPolyCurve you can draw a Loca. In this case the CurveArrays are assumed to be coherently. If you want to make visible holes, every curve array, which lays inside of an other, must have an orientation, which is different to that. For example: If Loca[0] has a clockwise orientation and Loca[1] lays completely inside of Loca[0] then Loca[1] must have a counterclocwise orientation. In this case you have a hole, described by Loca[1]- inside Loca[0].
Loca3D Liste von CurveList3D
MappedCurve Defines a Curve lying on a Surface by mapping a 2d-Curve to a surface. It contains a surface Mapper and a 2D-Curve Curve2d. The 3D-Curve.value is given by a call to Curve2d.value(t), which gives the parameter u,v. The Value of u and v retrieves the points of a Curve on the surface.
 xy v = Curve2d.Value(t);
 Mapper.Value(v.x, v.y);
MappedCurves Defines a list of MappedCurve
MNCurve MNCurve is defined on reason of compatibility
Nurbs2d The class Nurbs2d implements a non uniform rational bspline. This Class contains ControlPoints and the property Degree, Knots and Weights. The curve is trimmed to his endpoints. The Degree is initialized with 3.
Nurbs3d The class Nurbs implements a non uniform rational bspline. This Class contains ControlPoints and the property Degree, Knots and Weights. The curve is trimmed to his endpoints. The Degree is initialized with 3.
QSpline QSpline represents a quadratic spline which has the three control points A, B and ControlPoint. Additionally it holds a weight, which represents the attractivity of the ControlPoint. By default, the weight is set to 1.
SurfaceCurve A Surface curve inherits from Curve3D and adds the property MappedCurves and Curve. She is considered as Container for th Curve. The interpolationpoints of the SurfaceCurve are the same as the Interpolationpoints from the Curve.
If the SurfaceCurve is an Edge of a Surface the the MappedCurves property has in general two elements, so a link to the neighborsurface is given.

Delegates

Delegate Description
CopyArrayNotify The delegate, which is the type of OnInsert.
InsertNotify Is called, if a Curve is inserted in a CurveArray.
RealFunction2d Used from OnGetValue
RemoveNotify The delegate, which is the type of OnRemove.

Enumerations

Enumeration Description
Arc.ArcShape This enum is used by ReShape