Class PlanarPolygon3D
- java.lang.Object
-
- org.locationtech.jts.operation.distance3d.PlanarPolygon3D
-
public class PlanarPolygon3D extends java.lang.Object
Models a polygon lying in a plane in 3-dimensional Cartesian space. The polygon representation is supplied by aPolygon
, containing coordinates with XYZ ordinates. 3D polygons are assumed to lie in a single plane. The plane best fitting the polygon coordinates is computed and is represented by aPlane3D
.- Author:
- mdavis
-
-
Constructor Summary
Constructors Constructor Description PlanarPolygon3D(Polygon poly)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Plane3D
getPlane()
Polygon
getPolygon()
boolean
intersects(Coordinate intPt)
boolean
intersects(Coordinate pt, LineString ring)
-
-
-
Constructor Detail
-
PlanarPolygon3D
public PlanarPolygon3D(Polygon poly)
-
-
Method Detail
-
getPlane
public Plane3D getPlane()
-
getPolygon
public Polygon getPolygon()
-
intersects
public boolean intersects(Coordinate intPt)
-
intersects
public boolean intersects(Coordinate pt, LineString ring)
-
-