Class Orientation
- java.lang.Object
-
- eu.europa.ec.eurostat.jgiscotools.algo.measure.Orientation
-
public class Orientation extends Object
-
-
Constructor Summary
Constructors Constructor Description Orientation(org.locationtech.jts.geom.Geometry geom)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getGeneralOrientation()
Geometry orientation (in radian, within [0,Pi], from (Ox) axis),computed from the smallest surrounding rectangle orientation.double
getSidesOrientation()
double
getSidesOrientationIndicator()
double[]
getVotes()
-
-
-
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:
-
-