Vector3D
Object for a three-dimensional vector.
|
|
|
FUNC |
COM |
SF |
---|---|---|---|---|---|
X |
Provides the X-coordinate of the vector. |
double X ( ) |
1211.2 |
1211.2 |
+ |
Y |
Provides the Y-coordinate of the vector. |
double Y ( ) |
1211.2 |
1211.2 |
+ |
Z |
Provides the Z-coordinate of the vector. |
double Z ( ) |
1211.2 |
1211.2 |
+ |
GetX |
Provides the X-coordinate of the vector. |
double GetX ( ) |
1211.2 |
1211.2 |
+ |
GetY |
Provides the Y-coordinate of the vector. |
double GetY ( ) |
1211.2 |
1211.2 |
+ |
GetZ |
Provides the Z-coordinate of the vector. |
double GetZ ( ) |
1211.2 |
1211.2 |
+ |
Set |
Sets the coordinates of the point. |
void Set (double X, double Y, double Z) |
1211.2 |
1211.2 |
+ |
Empty |
Is the vector not engaged? |
bool Empty ( ) |
1211.2 |
1211.2 |
+ |
Assign |
Assigns a new vector. |
void Assign (Vector3D v) |
1211.2 |
1211.2 |
+ |
Equal |
Are both vectors equal? (The current HiCAD tolerance will be used.) |
bool Equal (Vector3D v) |
1211.2 |
1211.2 |
+ |
FromPoint |
Transformation from 'Point3D' to 'Vector3D'. |
void FromPoint (Point3D p) |
1211.2 |
1211.2 |
+ |
FromPointToPoint |
Vector from the first to the second point. |
void FromPointToPoint (Point3D p1, Point3D p2) |
1211.2 |
1211.2 |
+ |
Multiply |
Scalar multiplication |
void Multiply (double f) |
1211.2 |
1211.2 |
+ |
Divide |
Scalar division |
void Divide (double d) |
1211.2 |
1211.2 |
+ |
Add |
Adds a vector. |
void Add (Vector3D v) |
1211.2 |
1211.2 |
+ |
Subtract |
Subtracts a vector. |
void Substract (Vector3D v) |
1211.2 |
1211.2 |
+ |
Length |
Length of the vector. |
double Length ( ) |
1211.2 |
1211.2 |
+ |
SqrLength |
Square length of the vector. |
double SqrLength ( ) |
1211.2 |
1211.2 |
+ |
Norm1 |
1-norm of the vector. |
double Norm1 ( ) |
1211.2 |
1211.2 |
+ |
Normalize |
Sets the vector to length 1. |
void Normalize ( ) |
1211.2 |
1211.2 |
+ |
Invert |
Inverts the vector. |
void Invert ( ) |
1211.2 |
1211.2 |
+ |
Angle |
Angle between the two vectors. |
void Angle (Vector3D v) |
1211.2 |
1211.2 |
+ |
Distance |
Length of the difference vector. |
double Distance (Vector3D v) |
1211.2 |
1211.2 |
+ |
InnerProduct |
Scalar product |
double InnerProduct (Vector3D v) |
1211.2 |
1211.2 |
+ |
OuterProduct |
Vector product |
void OuterProduct (Vector3D v, Vector3D& result) |
1211.2 |
1211.2 |
+ |
GetOrthogonal |
Calculates the orthogonal vector. |
void GetOrthogonal (Vector3D& result) |
1211.2 |
1211.2 |
+ |
NewBase |
|
|
1211.2 |
1211.2 |
+ |
ProjectiveAngle |
Projective angle between the two vectors. |
void NewBase (Vector3D b1, Vector3D b2, double lambda1, double lambda2) |
1211.2 |
1211.2 |
+ |
SmallestAngle |
Smallest angle between the two vectors. |
void SmallestAngle (Vector3D v) |
1211.2 |
1211.2 |
+ |
IsParallelTo |
Are the vectors parallel? |
bool IsParallelTo (Vector3D v) |
1211.2 |
1211.2 |
+ |
IsOrthogonalTo |
Are the vectors orthogonal? |
bool IsOrthogonalTo (Vector3D v) |
1211.2 |
1211.2 |
+ |