Defines a 2D vector. More...
Inherits global.SystemIDisposable.
Public Member Functions | |
| Vector2d (global::System.IntPtr cPtr, bool cMemoryOwn) | |
| void | Dispose () |
| Vector2d () | |
| Constructor. | |
| Vector2d (double theVal) | |
| Constructor. | |
| Vector2d (cadex.Geom.Point2d theOther) | |
| Constructor. | |
| Vector2d (cadex.Geom.Vector2d theOther) | |
| Constructor. | |
| Vector2d (double theX, double theY) | |
| Constructor. | |
| Vector2d (cadex.Geom.Direction2d theOther) | |
| Constructor. | |
| Vector2d (cadex.Geom.Point2d thePoint1, cadex.Geom.Point2d thePoint2) | |
| Constructor. | |
| double | X () |
| double | Y () |
| void | SetX (double theValue) |
| void | SetY (double theValue) |
| void | Set (uint theIndex, double theValue) |
| void | SetCoord (double theX, double theY) |
| bool | IsEqual (cadex.Geom.Vector2d theOther, double theTolerance) |
| bool | IsEqual (cadex.Geom.Vector2d theOther) |
| double | Length () |
| double | Angle (cadex.Geom.Vector2d theOther) |
| bool | IsNormal (cadex.Geom.Vector2d theOther, double theAngularTolerance) |
| bool | IsOpposite (cadex.Geom.Vector2d theOther, double theAngularTolerance) |
| bool | IsParallel (cadex.Geom.Vector2d theOther, double theAngularTolerance) |
| void | Normalize () |
| cadex.Geom.Vector2d | Normalized () |
| void | Reverse () |
| cadex.Geom.Vector2d | Reversed () |
| void | Add (cadex.Geom.Vector2d theOther) |
| cadex.Geom.Vector2d | Added (cadex.Geom.Vector2d theOther) |
| void | Subtract (cadex.Geom.Vector2d theOther) |
| cadex.Geom.Vector2d | Subtracted (cadex.Geom.Vector2d theOther) |
| void | Multiply (double theScalar) |
| void | Multiply (cadex.Geom.Vector2d theOther) |
| void | Multiply (cadex.Geom.Matrix2d theMatrix) |
| cadex.Geom.Vector2d | Multiplied (double theScalar) |
| cadex.Geom.Vector2d | Multiplied (cadex.Geom.Vector2d theOther) |
| cadex.Geom.Vector2d | Multiplied (cadex.Geom.Matrix2d theMatrix) |
| void | Divide (double theScalar) |
| cadex.Geom.Vector2d | Divided (double theScalar) |
| double | Crossed (cadex.Geom.Vector2d theOther) |
| double | Dot (cadex.Geom.Vector2d theOther) |
| void | Transform (cadex.Geom.Transformation2d theTrsf) |
| cadex.Geom.Vector2d | Transformed (cadex.Geom.Transformation2d theTrsf) |
| double | Access (uint theIndex) |
Protected Member Functions | |
| virtual void | Dispose (bool disposing) |
Defines a 2D vector.
|
inline |
Constructor.
Creates a vector with (0, 0) coordinates.