net.von_gagern.martin.confoo.mesh
Interface CorneredTriangle<V>

Type Parameters:
V - the class used to represent triangle vertices
All Known Implementing Classes:
SimpleTriangle, Triangle2D, TriangleInequalityException

public interface CorneredTriangle<V>

Interface for triangles of a mesh.

An arbitrary type may be used to identify indices, and the corners can be identified through their index. For coordinates of the corner, the corresponding LocatedMesh should be queried.

Since:
1.0
Author:
Martin von Gagern

Method Summary
 V getCorner(int index)
          Get specified corner.
 

Method Detail

getCorner

V getCorner(int index)
Get specified corner.

Parameters:
index - the index of the corner requested
Returns:
an object identifying the requested corner
Throws:
IndexOutOfBoundsException - unless 0 <= index < 3


Copyright © 2008 Martin von Gagern. All Rights Reserved.