org.deegree.geometry.primitive
Enum Surface.SurfaceType

java.lang.Object
  extended by java.lang.Enum<Surface.SurfaceType>
      extended by org.deegree.geometry.primitive.Surface.SurfaceType
All Implemented Interfaces:
Serializable, Comparable<Surface.SurfaceType>
Enclosing interface:
Surface

public static enum Surface.SurfaceType
extends Enum<Surface.SurfaceType>

Convenience enum type for discriminating the different surface variants.


Enum Constant Summary
CompositeSurface
          Surface composited from multiple members surfaces.
OrientableSurface
          Surface that wraps a base surface with additional orientation flag.
Polygon
          Surface that consists of a single planar surface patch (PolygonPatch).
PolyhedralSurface
          Surface that consists of (planar) PolygonPatches only.
Surface
          Generic surface that consists of an arbitrary number of surface patches which are not necessarily planar.
Tin
          Surface that consists of Triangles only (which meet the Delaunay criterion).
TriangulatedSurface
          Surface that consists of Triangles only.
 
Method Summary
static Surface.SurfaceType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Surface.SurfaceType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Surface

public static final Surface.SurfaceType Surface
Generic surface that consists of an arbitrary number of surface patches which are not necessarily planar.


Polygon

public static final Surface.SurfaceType Polygon
Surface that consists of a single planar surface patch (PolygonPatch).


PolyhedralSurface

public static final Surface.SurfaceType PolyhedralSurface
Surface that consists of (planar) PolygonPatches only.


TriangulatedSurface

public static final Surface.SurfaceType TriangulatedSurface
Surface that consists of Triangles only.


Tin

public static final Surface.SurfaceType Tin
Surface that consists of Triangles only (which meet the Delaunay criterion).


CompositeSurface

public static final Surface.SurfaceType CompositeSurface
Surface composited from multiple members surfaces.


OrientableSurface

public static final Surface.SurfaceType OrientableSurface
Surface that wraps a base surface with additional orientation flag.

Method Detail

values

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

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

valueOf

public static Surface.SurfaceType valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2011. All Rights Reserved.