Class CutPoint

    • Field Detail

      • coordinate

        public org.locationtech.jts.geom.Coordinate coordinate
        Coordinate of the cut point.
      • zGround

        public double zGround
        Topographic height of the point.
      • groundCoefficient

        public double groundCoefficient
        Ground effect coefficient. G=1.0 Soft, uncompacted ground (pasture, loose soil); snow etc G=0.7 Compacted soft ground (lawns, park areas): G=0.3 Compacted dense ground (gravel road, compacted soil): G=0.0 Hard surfaces (asphalt, concrete, top of buildings):
    • Constructor Detail

      • CutPoint

        public CutPoint()
      • CutPoint

        public CutPoint​(org.locationtech.jts.geom.Coordinate coordinate)
      • CutPoint

        public CutPoint​(org.locationtech.jts.geom.Coordinate coordinate,
                        double zGround,
                        double groundCoefficient)
      • CutPoint

        public CutPoint​(CutPoint other)
        Copy constructor
        Parameters:
        other - Other instance to copy
    • Method Detail

      • setCoordinate

        public void setCoordinate​(org.locationtech.jts.geom.Coordinate coordinate)
      • setGroundCoefficient

        public void setGroundCoefficient​(double groundCoefficient)
        Sets the ground coefficient of this point.
        Parameters:
        groundCoefficient - The ground coefficient of this point.
      • setZGround

        public void setZGround​(double zGround)
        Sets the topographic height.
        Parameters:
        zGround - The topographic height.
      • getCoordinate

        public org.locationtech.jts.geom.Coordinate getCoordinate()
        Retrieve the coordinate of the point.
        Returns:
        The coordinate of the point.
      • getGroundCoefficient

        public double getGroundCoefficient()
        Retrieve the ground effect coefficient of the point. If there is no coefficient, returns 0.
        Returns:
        Ground effect coefficient or NaN.
      • getzGround

        public Double getzGround()
        Retrieve the topographic height of the point.
        Returns:
        The topographic height of the point.
      • compareTo

        public int compareTo​(CutPoint cutPoint)
        Specified by:
        compareTo in interface Comparable<CutPoint>
        Parameters:
        cutPoint - the object to be compared.
        Returns: