org.jcae.mesh.cad
Class CADShapeEnum

java.lang.Object
  extended by org.jcae.mesh.cad.CADShapeEnum

public abstract class CADShapeEnum
extends java.lang.Object

Typesafe enum of CAD types


Field Summary
static CADShapeEnum COMPOUND
           
static CADShapeEnum COMPSOLID
           
static CADShapeEnum EDGE
           
static CADShapeEnum FACE
           
protected  int ordinal
           
static CADShapeEnum SHELL
           
static CADShapeEnum SOLID
           
static CADShapeEnum VERTEX
           
static CADShapeEnum WIRE
           
 
Constructor Summary
protected CADShapeEnum(java.lang.String name)
           
 
Method Summary
abstract  java.lang.Class<? extends CADShape> asClass()
           
static java.util.Iterator<CADShapeEnum> iterator(CADShapeEnum start, CADShapeEnum end)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ordinal

protected final int ordinal

VERTEX

public static final CADShapeEnum VERTEX

EDGE

public static final CADShapeEnum EDGE

WIRE

public static final CADShapeEnum WIRE

FACE

public static final CADShapeEnum FACE

SHELL

public static final CADShapeEnum SHELL

SOLID

public static final CADShapeEnum SOLID

COMPSOLID

public static final CADShapeEnum COMPSOLID

COMPOUND

public static final CADShapeEnum COMPOUND
Constructor Detail

CADShapeEnum

protected CADShapeEnum(java.lang.String name)
Method Detail

asClass

public abstract java.lang.Class<? extends CADShape> asClass()

toString

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

iterator

public static java.util.Iterator<CADShapeEnum> iterator(CADShapeEnum start,
                                                        CADShapeEnum end)