Class ExtendedCoordinate

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.lang.Comparable

    public class ExtendedCoordinate
    extends Coordinate
    Version:
    1.7
    See Also:
    Serialized Form
    • Field Detail

      • m

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

      • ExtendedCoordinate

        public ExtendedCoordinate()
        Default constructor
      • ExtendedCoordinate

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

        public ExtendedCoordinate​(Coordinate coord)
    • Method Detail

      • getM

        public double getM()
      • setM

        public void setM​(double m)
      • toString

        public java.lang.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)