com.vividsolutions.jtsexample.geom
Class ExtendedCoordinate

java.lang.Object
  extended by com.vividsolutions.jts.geom.Coordinate
      extended by com.vividsolutions.jtsexample.geom.ExtendedCoordinate
All Implemented Interfaces:
Serializable, Cloneable, Comparable

public class ExtendedCoordinate
extends Coordinate

Version:
1.7
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.vividsolutions.jts.geom.Coordinate
Coordinate.DimensionalComparator
 
Field Summary
 
Fields inherited from class com.vividsolutions.jts.geom.Coordinate
NULL_ORDINATE, x, X, y, Y, z, Z
 
Constructor Summary
ExtendedCoordinate()
          Default constructor
ExtendedCoordinate(Coordinate coord)
           
ExtendedCoordinate(double x, double y, double z, double m)
           
ExtendedCoordinate(ExtendedCoordinate coord)
           
 
Method Summary
 double getM()
           
 void setM(double m)
           
 String toString()
          Returns a String of the form (x,y,z) .
 
Methods inherited from class com.vividsolutions.jts.geom.Coordinate
clone, compareTo, distance, equals, equals2D, equals3D, getOrdinate, hashCode, hashCode, setCoordinate, setOrdinate
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExtendedCoordinate

public ExtendedCoordinate()
Default constructor


ExtendedCoordinate

public ExtendedCoordinate(double x,
                          double y,
                          double z,
                          double m)

ExtendedCoordinate

public ExtendedCoordinate(Coordinate coord)

ExtendedCoordinate

public ExtendedCoordinate(ExtendedCoordinate coord)
Method Detail

getM

public double getM()

setM

public void setM(double m)

toString

public String toString()
Description copied from class: Coordinate
Returns a String of the form (x,y,z) .

Overrides:
toString in class Coordinate
Returns:
a String of the form (x,y,z)


Copyright © 2012. All Rights Reserved.