메소드 | 설명 | |
---|---|---|
CalculateFacePlane ( |
Calculates the normal and offset of the hyper-plane given by the face's vertices.
|
|
FindNormalVector ( int vertices, double normalData ) : void |
Finds normal vector of a hyper-plane given by vertices. Stores the results to normalData.
|
|
GetSimplexVolume ( |
Computes the volume of an n-dimensional simplex. Buffer needs to be array of shape Dimension x Dimension.
|
|
GetVertexDistance ( int v, |
Check if the vertex is "visible" from the face. The vertex is "over face" if the return value is > Constants.PlaneDistanceTolerance.
|
|
LengthSquared ( double x ) : double |
Squared length of the vector.
|
|
MathHelper ( int dimension, double positions ) : System | ||
SubtractFast ( int x, int y, double target ) : void |
Subtracts vectors x and y and stores the result to target.
|
메소드 | 설명 | |
---|---|---|
DeterminantDestructive ( SimplexVolumeBuffer buff ) : double | ||
FindNormal ( int vertices, double normal ) : void | ||
FindNormalVector2D ( int vertices, double normal ) : void |
Finds 2D normal vector.
|
|
FindNormalVector3D ( int vertices, double normal ) : void |
Finds 3D normal vector.
|
|
FindNormalVector4D ( int vertices, double normal ) : void |
Finds 4D normal vector.
|
|
FindNormalVectorND ( int vertices, double normal ) : void | ||
LUFactor ( double data, int order, int ipiv, double vecLUcolj ) : void |
public CalculateFacePlane ( |
||
face | ||
center | double | |
리턴 | bool |
public FindNormalVector ( int vertices, double normalData ) : void | ||
vertices | int | |
normalData | double | |
리턴 | void |
public static GetSimplexVolume ( |
||
cell | ||
vertices | IList |
|
buffer | SimplexVolumeBuffer | Helper for the calculation to avoid unnecessary allocations. |
리턴 | double |
public GetVertexDistance ( int v, |
||
v | int | |
f | ||
리턴 | double |
public MathHelper ( int dimension, double positions ) : System | ||
dimension | int | |
positions | double | |
리턴 | System |
public SubtractFast ( int x, int y, double target ) : void | ||
x | int | |
y | int | |
target | double | |
리턴 | void |