Package org.postgis.jts
Class JTSShape
- java.lang.Object
-
- org.postgis.jts.JTSShape
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJTSShape.GeometryCollectionPathIteratorstatic classJTSShape.GeometryPathIteratorstatic classJTSShape.LineStringPathIteratorstatic classJTSShape.PointPathIteratorstatic classJTSShape.PolygonPathIterator
-
Constructor Summary
Constructors Constructor Description JTSShape(org.locationtech.jts.geom.Geometry _geom)JTSShape(JtsGeometry _geom)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontains(double x, double y)booleancontains(double x, double y, double w, double h)booleancontains(Point2D p)booleancontains(Rectangle2D r)protected org.locationtech.jts.geom.PolygoncreateRect(double x, double y, double w, double h)RectanglegetBounds()Rectangle2DgetBounds2D()PathIteratorgetPathIterator(AffineTransform at)PathIteratorgetPathIterator(AffineTransform at, double flatness)static JTSShape.GeometryPathIteratorgetPathIterator(org.locationtech.jts.geom.Geometry geometry, AffineTransform _at)booleanintersects(double x, double y, double w, double h)booleanintersects(Rectangle2D r)
-
-
-
Constructor Detail
-
JTSShape
public JTSShape(org.locationtech.jts.geom.Geometry _geom)
-
JTSShape
public JTSShape(JtsGeometry _geom)
-
-
Method Detail
-
contains
public boolean contains(Rectangle2D r)
-
contains
public boolean contains(double x, double y, double w, double h)
-
createRect
protected org.locationtech.jts.geom.Polygon createRect(double x, double y, double w, double h)
-
getBounds2D
public Rectangle2D getBounds2D()
- Specified by:
getBounds2Din interfaceShape
-
getPathIterator
public PathIterator getPathIterator(AffineTransform at)
- Specified by:
getPathIteratorin interfaceShape
-
getPathIterator
public PathIterator getPathIterator(AffineTransform at, double flatness)
- Specified by:
getPathIteratorin interfaceShape
-
intersects
public boolean intersects(Rectangle2D r)
- Specified by:
intersectsin interfaceShape
-
intersects
public boolean intersects(double x, double y, double w, double h)- Specified by:
intersectsin interfaceShape
-
getPathIterator
public static JTSShape.GeometryPathIterator getPathIterator(org.locationtech.jts.geom.Geometry geometry, AffineTransform _at)
-
-