Defines a 2D Direction. More...
Inherits global.SystemIDisposable.
Public Member Functions | |
| Direction2d (global::System.IntPtr cPtr, bool cMemoryOwn) | |
| void | Dispose () |
| Direction2d () | |
| Constructor. | |
| Direction2d (double theVal) | |
| Constructor. | |
| Direction2d (cadex.Geom.Vector2d theOther) | |
| Constructor. | |
| Direction2d (cadex.Geom.Direction2d theOther) | |
| Constructor. | |
| Direction2d (double theX, double theY) | |
| Constructor. | |
| double | X () |
| double | Y () |
| void | SetX (double theValue) |
| void | SetY (double theValue) |
| void | SetCoord (double theX, double theY) |
| double | Angle (cadex.Geom.Direction2d theOther) |
| void | Reverse () |
| cadex.Geom.Direction2d | Reversed () |
| void | Add (cadex.Geom.Direction2d theOther) |
| cadex.Geom.Direction2d | Added (cadex.Geom.Direction2d theOther) |
| void | Subtract (cadex.Geom.Direction2d theOther) |
| cadex.Geom.Direction2d | Subtracted (cadex.Geom.Direction2d theOther) |
| void | Multiply (cadex.Geom.Direction2d theOther) |
| void | Multiply (cadex.Geom.Matrix2d theMatrix) |
| cadex.Geom.Direction2d | Multiplied (cadex.Geom.Direction2d theOther) |
| cadex.Geom.Direction2d | Multiplied (cadex.Geom.Matrix2d theMatrix) |
| double | Crossed (cadex.Geom.Direction2d theOther) |
| double | Dot (cadex.Geom.Direction2d theOther) |
| bool | IsEqual (cadex.Geom.Direction2d theOther, double theAngularTolerance) |
| bool | IsEqual (cadex.Geom.Direction2d theOther) |
| bool | IsNormal (cadex.Geom.Direction2d theOther, double theAngularTolerance) |
| bool | IsOpposite (cadex.Geom.Direction2d theOther, double theAngularTolerance) |
| bool | IsParallel (cadex.Geom.Direction2d theOther, double theAngularTolerance) |
| void | Transform (cadex.Geom.Transformation2d T) |
| cadex.Geom.Direction2d | Transformed (cadex.Geom.Transformation2d T) |
Static Public Member Functions | |
| static cadex.Geom.Direction2d | XDir () |
| static cadex.Geom.Direction2d | YDir () |
Protected Member Functions | |
| virtual void | Dispose (bool disposing) |
Defines a 2D Direction.
|
inline |
Constructor.
Creates a direction with (0, 1) coordinates.