Table of Contents

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

frame GeoCoordinateSystem3

The frame to lay it out in.

polygon GeoPolygon3

The 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.