|
|
| Vector2d (global::System.IntPtr cPtr, bool cMemoryOwn) |
| |
|
void | Dispose () |
| |
|
| Vector2d (params double[] values) |
| |
|
override bool | Equals (object obj) |
| |
|
| Vector2d () |
| | Create a vector with unitialized values.
|
| |
| | Vector2d (VectorXd other) |
| |
| | Vector2d (VectorXd other, double padding) |
| |
|
| Vector2d (Vector2d other) |
| |
|
uint | Size () |
| | Returns the size of the vector, which also correspond to vector number of dimension.
|
| |
|
double | At (uint index) |
| | Access vector's value at given index.
|
| |
|
void | SetAt (uint index, double value) |
| | Set value as given index.
|
| |
| double | SquaredLength () |
| |
| double | Length () |
| |
|
void | Normalize () |
| | Normalize the vector.
|
| |
|
string | ToString () |
| |
|
double | Dot (Vector2d v) |
| | Dot product of two vectors.
|
| |
| Vector2d | Cross (Vector2d v) |
| |
|
|
static global::System.Runtime.InteropServices.HandleRef | getCPtr (Vector2d obj) |
| |
|
static global::System.Runtime.InteropServices.HandleRef | swigRelease (Vector2d obj) |
| |
|
static bool | operator== (Vector2d v1, Vector2d v2) |
| |
|
static bool | operator!= (Vector2d v1, Vector2d v2) |
| |
|
static Vector2d | operator+ (Vector2d v1, Vector2d v2) |
| |
|
static Vector2d | operator- (Vector2d v1, Vector2d v2) |
| |
|
static Vector2d | operator* (Vector2d v, double value) |
| |
|
static Vector2d | operator* (double value, Vector2d v) |
| |
|
static Vector2d | operator/ (Vector2d v, double value) |
| |
|
static Vector2d | operator* (Vector2d v1, Vector2d v2) |
| |
|
static Vector2d | operator/ (Vector2d v1, Vector2d v2) |
| |
|
static bool | operator< (Vector2d v1, Vector2d v2) |
| |
|
static bool | operator<= (Vector2d v1, Vector2d v2) |
| |
|
static bool | operator> (Vector2d v1, Vector2d v2) |
| |
|
static bool | operator>= (Vector2d v1, Vector2d v2) |
| |
| static Vector2d | CreateUniform (double value) |
| |
|
static Vector2d | InternalDivides (Vector2d v, double value) |
| |
|
static Vector2d | InternalDivides (Vector2d v1, Vector2d v2) |
| |
|
static bool | InternalLess (Vector2d v1, Vector2d v2) |
| |
|
static bool | InternalLessEqual (Vector2d v1, Vector2d v2) |
| |
|
static bool | InternalGreater (Vector2d v1, Vector2d v2) |
| |
|
static bool | InternalGreaterEqual (Vector2d v1, Vector2d v2) |
| |
An arithmetic vector. Aliases can be used to made this class more practical to use. They use the following convention: VectorNX Where N is the size and X the type. The types currently available are:
- U8 and I8 respectively for unsigned and signed 8bits integers.
- U16 and I16 respectively for unsigned and signed 16bits integers.
- U32 and I32 respectively for unsigned and signed 32bits integers.
- U64 and I64 respectively for unsigned and signed 64bits integers.
- F for single precision floats.
- D for double precision floats. Examples:
- Vector2i32: 2 dimensional 32bits signed integer.
- Vector3f: 3 dimensionnal single precision float.
- Examples
- ColorWheel.cs, and GradientFloatToInt.cs.