com.vividsolutions.jts.operation.distance3d
Class PlanarPolygon3D
java.lang.Object
com.vividsolutions.jts.operation.distance3d.PlanarPolygon3D
public class PlanarPolygon3D
- extends java.lang.Object
Models a polygon lying in a plane in 3-dimensional Cartesian space.
The polyogn representation is supplied
by a Polygon
,
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 a Plane3D
.
- Author:
- mdavis
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlanarPolygon3D
public PlanarPolygon3D(Polygon poly)
getPlane
public Plane3D getPlane()
getPolygon
public Polygon getPolygon()
intersects
public boolean intersects(Coordinate intPt)
intersects
public boolean intersects(Coordinate pt,
LineString ring)