edu.jhu.ece.iacl.jist.structures.geom
Class EmbeddedSurface.Face

java.lang.Object
  extended by edu.jhu.ece.iacl.jist.structures.geom.EmbeddedSurface.Face
Enclosing class:
EmbeddedSurface

public static class EmbeddedSurface.Face
extends java.lang.Object

The Class Face.


Field Summary
 EmbeddedSurface.Edge[] edges
          The edges.
 int id
          The id.
 
Constructor Summary
EmbeddedSurface.Face(EmbeddedSurface.Edge e1, EmbeddedSurface.Edge e2, EmbeddedSurface.Edge e3, int id)
          Instantiates a new face.
EmbeddedSurface.Face(int id)
          Instantiates a new face.
EmbeddedSurface.Face(int v1, int v2, int v3, int id)
          Instantiates a new face.
 
Method Summary
 double getArea(EmbeddedSurface mesh)
          Gets the area.
 int[] getVertexes()
          Gets the vertexes.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

edges

public EmbeddedSurface.Edge[] edges
The edges.


id

public int id
The id.

Constructor Detail

EmbeddedSurface.Face

public EmbeddedSurface.Face(EmbeddedSurface.Edge e1,
                            EmbeddedSurface.Edge e2,
                            EmbeddedSurface.Edge e3,
                            int id)
Instantiates a new face.

Parameters:
e1 - the e1
e2 - the e2
e3 - the e3
id - the id

EmbeddedSurface.Face

public EmbeddedSurface.Face(int id)
Instantiates a new face.

Parameters:
id - the id

EmbeddedSurface.Face

public EmbeddedSurface.Face(int v1,
                            int v2,
                            int v3,
                            int id)
Instantiates a new face.

Parameters:
v1 - the v1
v2 - the v2
v3 - the v3
id - the id
Method Detail

getArea

public double getArea(EmbeddedSurface mesh)
Gets the area.

Parameters:
mesh - the mesh
Returns:
the area

getVertexes

public int[] getVertexes()
Gets the vertexes.

Returns:
the vertexes

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object