Class GeometricUtils
- java.lang.Object
-
- com.treasure.hunt.strategy.searcher.impl.strategyFromPaper.GeometricUtils
-
public class GeometricUtils extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.locationtech.jts.geom.Coordinate
centerOfRectangle(org.locationtech.jts.geom.Coordinate[] rect)
static double
minimumAngleToXAxis(org.locationtech.jts.geom.LineSegment line)
static SearchPath
moveToCenterOfRectangle(org.locationtech.jts.geom.Point P1, org.locationtech.jts.geom.Point P2, org.locationtech.jts.geom.Point P3, org.locationtech.jts.geom.Point P4, SearchPath move)
static org.locationtech.jts.geom.Coordinate
twoStepsOrthogonal(HalfPlaneHint hint, org.locationtech.jts.geom.Coordinate cur_pos)
static org.locationtech.jts.geom.Coordinate
twoStepsOrthogonal(HalfPlaneHint hint, org.locationtech.jts.geom.Point P)
-
-
-
Method Detail
-
centerOfRectangle
public static org.locationtech.jts.geom.Coordinate centerOfRectangle(org.locationtech.jts.geom.Coordinate[] rect)
-
moveToCenterOfRectangle
public static SearchPath moveToCenterOfRectangle(org.locationtech.jts.geom.Point P1, org.locationtech.jts.geom.Point P2, org.locationtech.jts.geom.Point P3, org.locationtech.jts.geom.Point P4, SearchPath move)
-
twoStepsOrthogonal
public static org.locationtech.jts.geom.Coordinate twoStepsOrthogonal(HalfPlaneHint hint, org.locationtech.jts.geom.Point P)
-
twoStepsOrthogonal
public static org.locationtech.jts.geom.Coordinate twoStepsOrthogonal(HalfPlaneHint hint, org.locationtech.jts.geom.Coordinate cur_pos)
-
minimumAngleToXAxis
public static double minimumAngleToXAxis(org.locationtech.jts.geom.LineSegment line)
-
-