Méthode | Description | |
---|---|---|
CrossProduct ( Vector4 v ) : Vector4 |
get normal vector of plane contains two vectors
|
|
CrossProduct ( Vector4 va, Vector4 vb ) : Vector4 |
get normal vector of two vectors
|
|
DotProduct ( Vector4 v ) : double |
dot multiply vector
|
|
DotProduct ( Vector4 va, Vector4 vb ) : double |
dot multiply two vectors
|
|
Length ( ) : double |
calculate the length of vector
|
|
Normalize ( ) : void |
get unit vector
|
|
Vector4 ( Autodesk v ) : System |
constructor, transfer Autodesk.Revit.DB.XYZ to vector
|
|
Vector4 ( double x, double y, double z ) : System |
constructor
|
|
operator ( ) : Vector4 |
multiplies a vector by a doubling type value
|
public CrossProduct ( Vector4 v ) : Vector4 | ||
v | Vector4 | second vector |
Résultat | Vector4 |
public static CrossProduct ( Vector4 va, Vector4 vb ) : Vector4 | ||
va | Vector4 | first vector |
vb | Vector4 | second vector |
Résultat | Vector4 |
public DotProduct ( Vector4 v ) : double | ||
v | Vector4 | the result vector |
Résultat | double |
public static DotProduct ( Vector4 va, Vector4 vb ) : double | ||
va | Vector4 | first vector |
vb | Vector4 | second vector |
Résultat | double |
public Vector4 ( Autodesk v ) : System | ||
v | Autodesk | Autodesk.Revit.DB.XYZ structure which needs to be transferred |
Résultat | System |
public Vector4 ( double x, double y, double z ) : System | ||
x | double | |
y | double | |
z | double | |
Résultat | System |