Package sec.geo
Class GeoPath
java.lang.Object
sec.geo.GeoPath
- All Implemented Interfaces:
Shape
- Direct Known Subclasses:
GeoArc,GeoBlock,GeoBlock2,GeoEllipse
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final GeodeticCalculatorprotected static final Ellipsoid -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidarcTo(GeoPoint pivot, double widthMeters, double heightMeters, double leftAzimuthDegrees, double rightAzimuthDegrees) voidbooleancontains(double x, double y) booleancontains(double x, double y, double w, double h) booleanbooleangetPath()getPathIterator(AffineTransform at, double flatness) booleanintersects(double x, double y, double w, double h) booleanvoidlineTo(double longitudeDegrees, double latitudeDegrees) voidvoidmoveTo(double longitudeDegrees, double latitudeDegrees) voidprotected GlobalCoordinatestoGlobalCoord(GeoPoint point) toString()
-
Field Details
-
REFERENCE_ELLIPSOID
-
geoCalc
-
-
Constructor Details
-
GeoPath
public GeoPath() -
GeoPath
public GeoPath(double maxDistanceMeters, double flatnessDistanceMeters, int limit)
-
-
Method Details
-
moveTo
-
moveTo
public void moveTo(double longitudeDegrees, double latitudeDegrees) -
lineTo
-
lineTo
public void lineTo(double longitudeDegrees, double latitudeDegrees) -
arcTo
public void arcTo(GeoPoint pivot, double widthMeters, double heightMeters, double leftAzimuthDegrees, double rightAzimuthDegrees) -
getToPoints
-
closePath
public void closePath() -
contains
-
contains
-
contains
public boolean contains(double x, double y) -
contains
public boolean contains(double x, double y, double w, double h) -
getBounds
-
getBounds2D
- Specified by:
getBounds2Din interfaceShape
-
getPathIterator
- Specified by:
getPathIteratorin interfaceShape
-
getPathIterator
- Specified by:
getPathIteratorin interfaceShape
-
intersects
- Specified by:
intersectsin interfaceShape
-
intersects
public boolean intersects(double x, double y, double w, double h) - Specified by:
intersectsin interfaceShape
-
toString
-
toGlobalCoord
-
getPath
-