Méthode | Description | |
---|---|---|
Add ( |
add 2 vector
|
|
CompareDouble ( double d1, double d2 ) : bool |
compare whether 2 double is equal using internal precision
|
|
Dot ( |
dot multiply two vector
|
|
FindIntersection ( float u0, float u1, float v0, float v1, float &w ) : int |
find and calculate the intersection of two interval [u0, u1] and [v0, v1]
|
|
GetMax ( float f1, float f2 ) : float |
get the maximum value of 2 float
|
|
GetMin ( float f1, float f2 ) : float |
get the minimum value of 2 float
|
|
Multiply ( float f, |
multiply a float with a vector
|
|
Subtract ( |
subtract 2 vector
|
Méthode | Description | |
---|---|---|
MathUtil ( ) : System |
forbidden default constructor
|
public static Add ( |
||
f1 | first vector | |
f2 | second vector | |
Résultat |
public static CompareDouble ( double d1, double d2 ) : bool | ||
d1 | double | first value |
d2 | double | second value |
Résultat | bool |
public static Dot ( |
||
pnt1 | first vector | |
pnt2 | second vector | |
Résultat | float |
public static FindIntersection ( float u0, float u1, float v0, float v1, float &w ) : int | ||
u0 | float | first interval |
u1 | float | first interval |
v0 | float | second interval |
v1 | float | second interval |
w | float | 2 intersections |
Résultat | int |
public static GetMax ( float f1, float f2 ) : float | ||
f1 | float | first float |
f2 | float | second float |
Résultat | float |
public static GetMin ( float f1, float f2 ) : float | ||
f1 | float | first float |
f2 | float | second float |
Résultat | float |
public static Multiply ( float f, |
||
f | float | float value |
pnt | vector | |
Résultat |
public static Subtract ( |
||
f1 | first vector | |
f2 | second vector | |
Résultat |