Class TransformForAxisParallelism


  • public class TransformForAxisParallelism
    extends java.lang.Object
    For more information what internal and external refers to please look in the documentation of MinimumRectangleSearcher
    See Also:
    MinimumRectangleSearcher
    • Constructor Summary

      Constructors 
      Constructor Description
      TransformForAxisParallelism​(HalfPlaneHint hint, org.locationtech.jts.geom.Point internalCenterInExternalRepresentation)
      Creates a transformer where the HalfPlaneHint hint in internal coordinates is parallel to the x-axis and shows upwards and the internalCenterInExternalRepresentation is the point (0,0) in internal coordinates.
      TransformForAxisParallelism​(org.locationtech.jts.geom.LineSegment line)
      Creates a transformer where the line line in internal coordinate is parallel to the x-axis and the point line.p0 is (0,0) in internal coordinates.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double getAngle()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TransformForAxisParallelism

        public TransformForAxisParallelism​(HalfPlaneHint hint,
                                           org.locationtech.jts.geom.Point internalCenterInExternalRepresentation)
        Creates a transformer where the HalfPlaneHint hint in internal coordinates is parallel to the x-axis and shows upwards and the internalCenterInExternalRepresentation is the point (0,0) in internal coordinates.
        Parameters:
        hint - the internal x-axis is parallel to
        internalCenterInExternalRepresentation - the internal center (point (0,0)) in external coordinates
      • TransformForAxisParallelism

        public TransformForAxisParallelism​(org.locationtech.jts.geom.LineSegment line)
        Creates a transformer where the line line in internal coordinate is parallel to the x-axis and the point line.p0 is (0,0) in internal coordinates.
    • Method Detail

      • getAngle

        public double getAngle()