org.jcae.viewer3d.cad
Class CADDomainAdaptor

java.lang.Object
  extended by org.jcae.viewer3d.cad.CADDomainAdaptor
All Implemented Interfaces:
CADDomain, Domain, MarkDomain
Direct Known Subclasses:
OCCEdgeDomain, OCCFaceDomain, OCCVertexDomain

public class CADDomainAdaptor
extends java.lang.Object
implements CADDomain


Constructor Summary
CADDomainAdaptor()
           
 
Method Summary
 java.util.Iterator<float[]> getEdgeIterator()
          Iterator on array of float[3*number of nodes]
 java.util.Iterator<FaceMesh> getFaceIterator()
          Iterator on FaceMesh objects
 float[] getMarks(java.lang.Object type)
          Return a {x0, y0, z0, x1, y1, z1...} array for the given mark type.
 java.lang.Object[] getMarksTypes()
          Return objects describing each type of marks in the domain. 4 cases are handeled: The object is a PointAttribute.
 java.util.Iterator<float[]> getVertexIterator()
          Iterator on array float[3]
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CADDomainAdaptor

public CADDomainAdaptor()
Method Detail

getEdgeIterator

public java.util.Iterator<float[]> getEdgeIterator()
Description copied from interface: CADDomain
Iterator on array of float[3*number of nodes]

Specified by:
getEdgeIterator in interface CADDomain

getVertexIterator

public java.util.Iterator<float[]> getVertexIterator()
Description copied from interface: CADDomain
Iterator on array float[3]

Specified by:
getVertexIterator in interface CADDomain

getFaceIterator

public java.util.Iterator<FaceMesh> getFaceIterator()
Description copied from interface: CADDomain
Iterator on FaceMesh objects

Specified by:
getFaceIterator in interface CADDomain

getMarksTypes

public java.lang.Object[] getMarksTypes()
Description copied from interface: MarkDomain
Return objects describing each type of marks in the domain. 4 cases are handeled:

Specified by:
getMarksTypes in interface MarkDomain
Returns:

getMarks

public float[] getMarks(java.lang.Object type)
Description copied from interface: MarkDomain
Return a {x0, y0, z0, x1, y1, z1...} array for the given mark type.

Specified by:
getMarks in interface MarkDomain
Returns: