org.jcae.viewer3d.cad
Class DefaultFaceMesh

java.lang.Object
  extended by org.jcae.viewer3d.cad.DefaultFaceMesh
All Implemented Interfaces:
FaceMesh

public class DefaultFaceMesh
extends java.lang.Object
implements FaceMesh


Constructor Summary
DefaultFaceMesh(float[] nodes, int[] mesh)
           
 
Method Summary
 int[] getMesh()
          Return the triangles of the mesh.
 float[] getNodes()
          Return the nodes of the mesh.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultFaceMesh

public DefaultFaceMesh(float[] nodes,
                       int[] mesh)
Parameters:
nodes -
mesh -
Method Detail

getNodes

public float[] getNodes()
Description copied from interface: FaceMesh
Return the nodes of the mesh. The array contains {x1, y1, z1, x2, y2, z2 ...}

Specified by:
getNodes in interface FaceMesh

getMesh

public int[] getMesh()
Description copied from interface: FaceMesh
Return the triangles of the mesh. The array contains nodes id, {triangle1_node1, t1_n2, t1_n3, t2_n1...}

Specified by:
getMesh in interface FaceMesh