Package WildMagic.LibFoundation.Meshes
Class VETMesh.Triangle
- java.lang.Object
 - 
- WildMagic.LibFoundation.Meshes.VETMesh.Triangle
 
 
- 
- Enclosing class:
 - VETMesh
 
public class VETMesh.Triangle extends java.lang.ObjectA 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 trianglesand are considered to be distinct triangles. The class extends Object to obtain support for hashing into a map of triangles.  
- 
- 
Constructor Summary
Constructors Constructor Description Triangle(int iV0, int iV1, int iV2)Constructs a triangle in the table. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object kObject)Support for hashing into a map of triangles.inthashCode()Support for hashing into a map of triangles. 
 - 
 
- 
- 
Method Detail
- 
equals
public boolean equals(java.lang.Object kObject)
Support for hashing into a map of triangles.- Overrides:
 equalsin classjava.lang.Object- Parameters:
 kObject- a triangle for comparison to the current one- Returns:
 - true iff the triangles are identical
 
 
- 
hashCode
public int hashCode()
Support for hashing into a map of triangles.- Overrides:
 hashCodein classjava.lang.Object- Returns:
 - the hash key for the triangle
 
 
 - 
 
 -