|
AR + GPS Location
3.0.0
|
Public Member Functions | |
| DVector3 (Vector3 v) | |
| DVector3 (double newX=0.0, double newY=0.0, double newZ=0.0) | |
| Initializes a new instance of the T:DVector3 struct. More... | |
| Vector3 | toVector3 () |
| Converts to a Vector3. More... | |
| bool | Equals (DVector3 v, double e=0.00005) |
| Equals the specified v and e. More... | |
| void | Normalize () |
| Normalize this instance. More... | |
| void | Set (double xx=0.0, double yy=0.0, double zz=0.0) |
| Set the specified x and y. More... | |
| override string | ToString () |
| Returns a T:System.String that represents the current T:DVector3. More... | |
Static Public Member Functions | |
| static double | Dot (DVector3 a, DVector3 b) |
| Dot the specified a and b. More... | |
| static double | Distance (DVector3 a, DVector3 b) |
| Distance the specified a and b. More... | |
| static DVector3 | Lerp (DVector3 a, DVector3 b, double t) |
| Lerp the specified a, b and t. More... | |
| static DVector3 | operator* (DVector3 a, double b) |
Computes the product of a and b, yielding a new T:DVector3. More... | |
| static DVector3 | operator* (double b, DVector3 a) |
Computes the product of a and b, yielding a new T:DVector3. More... | |
| static DVector3 | operator/ (DVector3 a, double b) |
Computes the division of a and b, yielding a new T:DVector3. More... | |
| static DVector3 | operator+ (DVector3 a, DVector3 b) |
| Adds a DVector3 to a DVector3, yielding a new T:DVector3. More... | |
| static DVector3 | operator- (DVector3 a, DVector3 b) |
| Subtracts a DVector3 from a DVector3, yielding a new T:DVector3. More... | |
Public Attributes | |
| double | x |
| double | y |
| double | z |
Properties | |
| double | magnitude [get] |
| Gets the magnitude of the vector. More... | |
| DVector3 | normalized [get] |
| Gets the normalized version of this vector. More... | |
Definition at line 8 of file DVector3.cs.
| ARLocation.DVector3.DVector3 | ( | double | newX = 0.0, |
| double | newY = 0.0, |
||
| double | newZ = 0.0 |
||
| ) |
Initializes a new instance of the T:DVector3 struct.
Definition at line 55 of file DVector3.cs.
Distance the specified a and b.
| a | The alpha component. |
| b | The blue component. |
Definition at line 132 of file DVector3.cs.
Dot the specified a and b.
| a | The alpha component. |
| b | The blue component. |
Definition at line 121 of file DVector3.cs.
| bool ARLocation.DVector3.Equals | ( | DVector3 | v, |
| double | e = 0.00005 |
||
| ) |
Equals the specified v and e.
| v | V. |
| e | E. |
Definition at line 77 of file DVector3.cs.
Lerp the specified a, b and t.
| a | The alpha component. |
| b | The blue component. |
| t | T. |
Definition at line 144 of file DVector3.cs.
| void ARLocation.DVector3.Normalize | ( | ) |
Normalize this instance.
Definition at line 85 of file DVector3.cs.
Computes the product of a and b, yielding a new T:DVector3.
| a | The DVector3 to multiply. |
| b | The double to multiply. |
a * b.Definition at line 171 of file DVector3.cs.
Computes the product of a and b, yielding a new T:DVector3.
| a | The DVector3 to multiply. |
| b | The double to multiply. |
a * b.Definition at line 156 of file DVector3.cs.
Computes the division of a and b, yielding a new T:DVector3.
| a | The DVector3 to divide (the divident). |
| b | The double to divide (the divisor). |
a / b.Definition at line 186 of file DVector3.cs.
| void ARLocation.DVector3.Set | ( | double | xx = 0.0, |
| double | yy = 0.0, |
||
| double | zz = 0.0 |
||
| ) |
| override string ARLocation.DVector3.ToString | ( | ) |
Returns a T:System.String that represents the current T:DVector3.
Definition at line 110 of file DVector3.cs.
| Vector3 ARLocation.DVector3.toVector3 | ( | ) |
|
get |
|
get |
Gets the normalized version of this vector.
The normalized.
Definition at line 37 of file DVector3.cs.