org.deegree.geometry.primitive.patches
Enum GriddedSurfacePatch.GriddedSurfaceType

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

public static enum GriddedSurfacePatch.GriddedSurfaceType
extends Enum<GriddedSurfacePatch.GriddedSurfaceType>

Discriminates the different types of gridded surface patches.


Enum Constant Summary
CONE
          A gridded surface given as a family of conic sections whose control points vary linearly.
CYLINDER
          A gridded surface given as a family of circles whose positions vary along a set of parallel lines, keeping the cross sectional horizontal curves of a constant shape.
GRIDDED_SURFACE_PATCH
          A presumably custom type of GriddedSurfaceType
SPHERE
          A gridded surface given as a family of circles whose positions vary linearly along the axis of the sphere, and whise radius varies in proportions to the cosine function of the central angle.
 
Method Summary
static GriddedSurfacePatch.GriddedSurfaceType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static GriddedSurfacePatch.GriddedSurfaceType[] 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

GRIDDED_SURFACE_PATCH

public static final GriddedSurfacePatch.GriddedSurfaceType GRIDDED_SURFACE_PATCH
A presumably custom type of GriddedSurfaceType


CONE

public static final GriddedSurfacePatch.GriddedSurfaceType CONE
A gridded surface given as a family of conic sections whose control points vary linearly.


CYLINDER

public static final GriddedSurfacePatch.GriddedSurfaceType CYLINDER
A gridded surface given as a family of circles whose positions vary along a set of parallel lines, keeping the cross sectional horizontal curves of a constant shape.


SPHERE

public static final GriddedSurfacePatch.GriddedSurfaceType SPHERE
A gridded surface given as a family of circles whose positions vary linearly along the axis of the sphere, and whise radius varies in proportions to the cosine function of the central angle. The horizontal circles resemble lines of constant latitude, and the vertical arcs resemble lines of constant longitude.

Method Detail

values

public static GriddedSurfacePatch.GriddedSurfaceType[] 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 (GriddedSurfacePatch.GriddedSurfaceType c : GriddedSurfacePatch.GriddedSurfaceType.values())
    System.out.println(c);

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

valueOf

public static GriddedSurfacePatch.GriddedSurfaceType 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.