Class PlanarPolygon3D
Models a polygon lying in a plane in 3-dimensional Cartesian space. The polygon 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.
Inherited Members
Namespace: NetTopologySuite.Operation.Distance3D
Assembly: NetTopologySuite.dll
Syntax
public class PlanarPolygon3D
Constructors
| Improve this Doc View SourcePlanarPolygon3D(Polygon)
Creates an instance of this class using the provided Polygon.
Declaration
public PlanarPolygon3D(Polygon poly)
Parameters
Type | Name | Description |
---|---|---|
Polygon | poly | The polygon |
Properties
| Improve this Doc View SourcePlane
Gets a value indicating the plane
Declaration
public Plane3D Plane { get; }
Property Value
Type | Description |
---|---|
Plane3D |
Polygon
Gets a value indicating the polygon
Declaration
public Polygon Polygon { get; }
Property Value
Type | Description |
---|---|
Polygon |
Methods
| Improve this Doc View SourceIntersects(Coordinate)
Checks if intPt
intersects with this PlanarPolygon3D.
Declaration
public bool Intersects(Coordinate intPt)
Parameters
Type | Name | Description |
---|---|---|
Coordinate | intPt | The point to check |
Returns
Type | Description |
---|---|
Boolean |
|
Intersects(Coordinate, LineString)
Checks if the point pt
intersects with ring
when projected to this instance's facing plane
Declaration
public bool Intersects(Coordinate pt, LineString ring)
Parameters
Type | Name | Description |
---|---|---|
Coordinate | pt | A point |
LineString | ring | A ring |
Returns
Type | Description |
---|---|
Boolean |
|