Method ProjectToPolygon2
- Namespace
- GeometryHelper.Core
- Assembly
- GeometryHelper.dll
ProjectToPolygon2(GeoCoordinateSystem3, GeoPolygon3)
Lays a polygon out in a frame, dropping each vertex's distance from the plane.
public static GeoPolygon2 ProjectToPolygon2(GeoCoordinateSystem3 frame, GeoPolygon3 polygon)
Parameters
frameGeoCoordinateSystem3The frame to lay it out in.
polygonGeoPolygon3The polygon.
Returns
- GeoPolygon2
The polygon in the plane of the frame. It runs counter-clockwise when the frame Z axis agrees with the polygon normal, and clockwise when it opposes it.
Exceptions
- ArgumentNullException
Thrown when the polygon is null.