Class ExtendedCoordinate

java.lang.Object
org.locationtech.jts.geom.Coordinate
org.locationtech.jtsexample.geom.ExtendedCoordinate
All Implemented Interfaces:
Serializable, Cloneable, Comparable

public class ExtendedCoordinate extends Coordinate
Version:
1.7
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • m

      private double m
      An example of extended data. The m variable holds a measure value for linear referencing
  • Constructor Details

    • 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 Details

    • copy

      public ExtendedCoordinate copy()
      Overrides:
      copy in class Coordinate
    • 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)