org.openmi.standard
Enum IElementSet.ElementType

java.lang.Object
  extended by java.lang.Enum<IElementSet.ElementType>
      extended by org.openmi.standard.IElementSet.ElementType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<IElementSet.ElementType>
Enclosing interface:
IElementSet

public static enum IElementSet.ElementType
extends java.lang.Enum<IElementSet.ElementType>

Shape Type of an Elementset.


Enum Constant Summary
IDBased
          Identifier based.
XYLine
          Lines.
XYPoint
          Points.
XYPolygon
          Polygons.
XYPolyLine
          Polylines.
XYZLine
          3D Lines.
XYZPoint
          3D Points.
XYZPolygon
          3D Polygons.
XYZPolyhydron
          3D Polyhedrons.
XYZPolyLine
          3D Polylines.
 
Method Summary
 int getValue()
          int flag value to a given enum base type.
static IElementSet.ElementType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static IElementSet.ElementType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

IDBased

public static final IElementSet.ElementType IDBased
Identifier based.


XYPoint

public static final IElementSet.ElementType XYPoint
Points.


XYLine

public static final IElementSet.ElementType XYLine
Lines.


XYPolyLine

public static final IElementSet.ElementType XYPolyLine
Polylines.


XYPolygon

public static final IElementSet.ElementType XYPolygon
Polygons.


XYZPoint

public static final IElementSet.ElementType XYZPoint
3D Points.


XYZLine

public static final IElementSet.ElementType XYZLine
3D Lines.


XYZPolyLine

public static final IElementSet.ElementType XYZPolyLine
3D Polylines.


XYZPolygon

public static final IElementSet.ElementType XYZPolygon
3D Polygons.


XYZPolyhydron

public static final IElementSet.ElementType XYZPolyhydron
3D Polyhedrons.

Method Detail

values

public static final IElementSet.ElementType[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(IElementSet.ElementType c : IElementSet.ElementType.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static IElementSet.ElementType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

getValue

public int getValue()
int flag value to a given enum base type.

Returns:
The int flag value