public interface NavigationInterface
Modifier and Type | Method and Description |
---|---|
static float[] |
computeFaceNormal(float[] pU,
float[] pV,
float[] pW)
Compute the normal to the triangle UVW
|
static float[] |
crossProduct(float[] a,
float[] b)
Compute the cross product of two vectors
|
float[] |
getNormalFloat(int v)
Compute the normal to a vertex in the mesh:
the normal is the average of normals of incident faces
Computations are performed with simple float precision
|
java.lang.String |
name()
Return the name of the data structure
|
int |
vertexDegree(int v)
Compute the degree of a vertex v
|
float[] getNormalFloat(int v)
int vertexDegree(int v)
java.lang.String name()
static float[] crossProduct(float[] a, float[] b)
static float[] computeFaceNormal(float[] pU, float[] pV, float[] pW)