Class ModelSurfaceTopology.Triangle
java.lang.Object
gov.nih.mipav.view.renderer.J3D.model.structures.ModelSurfaceTopology.Triangle
- Enclosing class:
ModelSurfaceTopology
A representation of a triangle for the vertex-edge-triangle table. This class stores the triple of vertex indices
for the vertices of the triangle. The triangles invalid input: '<'V0,V1,V2> and invalid input: '<'V0,V2,V1> are considered to be distinct
triangles. The class extends Object to obtain support for hashing into a map of triangles.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
m_iV0
public int m_iV0DOCUMENT ME! -
m_iV1
public int m_iV1DOCUMENT ME! -
m_iV2
public int m_iV2DOCUMENT ME!
-
-
Constructor Details
-
Triangle
public Triangle(int iV0, int iV1, int iV2) Constructs a triangle in the table.- Parameters:
iV0- a vertex index for a triangle vertexiV1- a vertex index for a triangle vertexiV2- a vertex index for a triangle vertex
-
-
Method Details
-
equals
Support for hashing into a map of triangles. -
hashCode
public int hashCode()Support for hashing into a map of triangles.
-