Class Orientation


  • public class Orientation
    extends Object
    • Constructor Detail

      • Orientation

        public Orientation​(org.locationtech.jts.geom.Geometry geom)
    • Method Detail

      • getVotes

        public double[] getVotes()
      • getSidesOrientation

        public double getSidesOrientation()
        Returns:
        The sides orientation measure (see [Duchene et al 2003])
      • getSidesOrientationIndicator

        public double getSidesOrientationIndicator()
      • getGeneralOrientation

        public double getGeneralOrientation()
        Geometry orientation (in radian, within [0,Pi], from (Ox) axis),computed from the smallest surrounding rectangle orientation. Returns 999.9 if the SSR is not defined or if it is square.
        Returns: