3D vector with components X, Y, Z More...
Inherits TVector.
Public Member Functions | |
TVector3D (double _X, double _Y, double _Z) | |
Constructor More... | |
TVector | Rotate3DVectorAroundAxis (TVector3D Axis, double fi) |
rotates vector around NORMALIZED axis More... | |
TVector | Rotate3DVectorAroundAxis (TVector3D Axis, int n90) |
rotates vector around NORMALIZED axis by n90 * 90 degrees More... | |
![]() | |
TVector (int size) | |
Constructor More... | |
TVector (object[] _Components) | |
Constructor More... | |
List< double > | GetComponents () |
Return values of the vector components More... | |
double | GetComponent (double index) |
Return value of the component on the position given by index More... | |
void | InsertComponent (double value) |
Insert new value at the end of the vector. This command will change the size of the vector. More... | |
void | InsertComponentOnPos (double index, double value) |
Insert new component on the position given by index. More... | |
void | AddVector (TVector vector) |
Add the vector. Each component of the result is sum of components of current and new vector More... | |
void | AddScalar (double value) |
Add scalar value to each component of the vector More... | |
void | SubstractVector (TVector vector) |
Subtract given vector from current one More... | |
void | SubtractScalar (double value) |
Subtract given scalar from each component of the vector More... | |
void | MultipleByScalar (double value) |
Multiply each component of the vector by the scalar value More... | |
void | DivideByScalar (double value) |
Divide each component of the vector by the scalar value More... | |
double | DotProduct (TVector vector) |
Dot product of current vector and vector passed as a parameter More... | |
Boolean | CompareVector (TVector vector) |
Compare given vector and vector passed as a parameter More... | |
TVector | CrossProduct (TVector vector) |
Cross production of current vector and vector passed as a parameter More... | |
double | EuclidNorm () |
double | Lenght () |
TVector | Normalize () |
Return vector with normalized length = 1 More... | |
TMatrix | DyadicMultiplication (TVector vector) |
void | Zero () |
TVector | Clone () |
Return deep clone of the vector More... | |
Properties | |
double | X [get, set] |
Component X More... | |
double | Y [get, set] |
Component Y More... | |
double | Z [get, set] |
Component Z More... | |
![]() | |
double | this[int index] [get, set] |
Return value of vector component More... | |
3D vector with components X, Y, Z
TVector3D | ( | double | _X, |
double | _Y, | ||
double | _Z | ||
) |
Constructor
_X | Component X |
_Y | Component Y |
_Z | Component Z |
rotates vector around NORMALIZED axis
Axis | |
fi |
rotates vector around NORMALIZED axis by n90 * 90 degrees
Axis | |
n90 |
|
getset |
Component X
|
getset |
Component Y
|
getset |
Component Z