GeoAPI 2.0
Build 2005-06-08

org.opengis.go.spatial
Class PathType

Object
  extended by CodeList
      extended by SimpleEnumerationType
          extended by PathType
All Implemented Interfaces:
Serializable, Comparable
Direct Known Subclasses:
GlobalPathType, UnprojectedPathType, VectorPathType

public class PathType
extends SimpleEnumerationType

This class serves as the base class for objects that represent the various methods for computing a path between two locations. Singleton instances of PathType will exist to represent for example a path of constant bearing (rhumbline), or a great circle path.

Path type is an algorithmic sequence of interpolation and projection.

For each path type, an implementations will iteratively apply the respective algorithms until the appropriate display resolution is reached.

Path Type Interpolation Method
rhumbline constant bearing
great circle geodesic
vector linear in worldspace (interpolation before projection)
pixel-straight linear in display space (interpolation after projection)
spline cubic in display space (interpolation after projection)

Version:
$Revision: 1.6 $, $Date: 2005/05/16 10:54:58 $
See Also:
Serialized Form

Field Summary
protected static List VALUES
          The list of enumeration available in this virtual machine.
 
Constructor Summary
protected PathType(String name, String description)
          Creates a new PathType with the given value and name.
 
Method Summary
 CodeList[] family()
          Returns the list of enumerations of the same kind than this enum.
static PathType[] values()
          Returns the list of PathTypes.
 
Methods inherited from class SimpleEnumerationType
getDescription, getIcon, getNullIcon, loadIconResource, toString
 
Methods inherited from class CodeList
compareTo, name, ordinal, readResolve
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

VALUES

protected static final List VALUES
The list of enumeration available in this virtual machine. Must be declared first!.

Constructor Detail

PathType

protected PathType(String name,
                   String description)
Creates a new PathType with the given value and name.

Parameters:
name - the short name for the enum.
description - the description for the enum.
Method Detail

values

public static PathType[] values()
Returns the list of PathTypes.


family

public CodeList[] family()
Returns the list of enumerations of the same kind than this enum.

Specified by:
family in class CodeList

GeoAPI 2.0
Build 2005-06-08

Symbols, terms and definitions
Copyright OpenGIS® Consortium