For a list of all members of this type, see ITransform Members.
Type | Description |
---|---|
ActiveCtrl | The ActiveCtrl inherits from an entity. It holds properties and methods to implement interactive manipulations of graphical datas. It is bouded to a Device and is located as child of Work With the Mouse- and Keyevents you have an instrument to handle actions of an user. The methods ctrlMarker, ctrlLine,ctrlCurve and ctrlPoly are nice drawmethods. They change the Color ( HoverColor if the mouse lays over it. By a click you get information about the tag, which is setted as parameter to these methods. ... protected override void draw(MNDevice device) { ... ctrlMarker(new xyz(4, 4, 0), 2006); // draws a marker at position (4 / 4/ 0) // if the mouse moves over this marker then it will be highlighted with //hovercolor ctrlMarker(new xyz(0, 4, 0), 2007); ctrlMarker(new xyz(0, 0, 0), 2008); ... } protected override void MouseMove( System.Windows.Forms.MouseEventArgs e) { if (CurrentHit!=null) switch ((int)CurrentHit.Tag) { case 2006 :// Mouse is at Marker 4/ 4/ 0 break; case 2007 :// Mouse is at Marker 0/ 4/ 0 break; case 2008 :// Mouse is at Marker 0/ 0/ 0 break; } } ... |
CurveEditor | |
Arc | |
Bezier | The class Bezier implements a Beziercurve. Initialized is this curve by for controlpoints, which makes the curve to a cubic Bezier. By setting the Points you can make a bezier of any degree. |
Curve | The class Curve represents a twodimensional 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 , who retrieves an array with Resolution+1 points. |
CurveArray | This class is a container for curves. In general the curves musnt be coherently. The Count-property is read- and writeable. A CurveArrray can you directly draw by calling drawPolyCurve |
Line | Line holds two points A and B and describes a line between A and B. |
MNCurve | MNCurve is an abstract class, which inherits from 'Curve'. She hass the additional properties A ( the startingpoint ) and B ( the endpoint of the curve). MNCurves are needed for construction contours, which are connected by curves. Additional the properties Atang, which holds the starttangent and Btang, which holds the endtangent are implemented. |
QSpline | Qspline represents a quadratic spline which has the tree Controlpoints A, B and ControlPoint. Additionally it holds a weight, which represents the attractivity of the ControlPoint. Ba default weight is set to 1. |
DrawCtrl | |
Entity | Entity is the foundationclass for all graphical classes. She contains a Transformation and can ordered in a treestructured system becaus she is an instance of MNComponent. Additionally she has a public virtual Paintmethod, who will be called by the parent. To start this painting one of the parents must be setted as Root of a device or as child of Work of a device. then the device starts the painting by its own Paint-Method. The method Paint is calling the protected method draw. It is better to override draw then Paint, because in the Paintmethod some calls enclose the drawmethod ( for example the transformation will be setted ). |
HelpGeometry2D | |
MarkeredRectCtrl | |
RectCtrl | |
RectEditor | |
SimpleCad | |
TaskCtrl | |
TextCtrl | The curveeditor handles alist of curves CurveArray. With the methods CreateBeziers, CreateLines, CreateQSplines you can create curves. |
TextEditor | |
TextObject | |
TransformEditor |
Namespace: Minais.Drawing3d.Math
Assembly: Drawing3d (in Drawing3d.dll)