com.vividsolutions.jump.warp
Class TaggedCoordinate

java.lang.Object
  extended by com.vividsolutions.jts.geom.Coordinate
      extended by com.vividsolutions.jump.warp.TaggedCoordinate
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Comparable

public class TaggedCoordinate
extends com.vividsolutions.jts.geom.Coordinate

A Coordinate associated with another Coordinate.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.vividsolutions.jts.geom.Coordinate
com.vividsolutions.jts.geom.Coordinate.DimensionalComparator
 
Field Summary
 
Fields inherited from class com.vividsolutions.jts.geom.Coordinate
NULL_ORDINATE, x, y, z
 
Constructor Summary
TaggedCoordinate(com.vividsolutions.jts.geom.Coordinate c, com.vividsolutions.jts.geom.Coordinate tag)
          Creates a TaggedCoordinate
 
Method Summary
 com.vividsolutions.jts.geom.Coordinate getTag()
          Returns the tag.
 
Methods inherited from class com.vividsolutions.jts.geom.Coordinate
clone, compareTo, distance, equals, equals2D, equals3D, hashCode, hashCode, setCoordinate, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TaggedCoordinate

public TaggedCoordinate(com.vividsolutions.jts.geom.Coordinate c,
                        com.vividsolutions.jts.geom.Coordinate tag)
Creates a TaggedCoordinate

Parameters:
c - the coordinates of this TaggedCoordinate
tag - the associated Coordinate
Method Detail

getTag

public com.vividsolutions.jts.geom.Coordinate getTag()
Returns the tag.

Returns:
this coordinate's associated coordinate