Table of Contents

Method ToPolygon3

Namespace
GeometryHelper.Core
Assembly
GeometryHelper.dll

ToPolygon3(GeoCoordinateSystem3, GeoPolygon2)

Puts a polygon of the plane back into space.

public static GeoPolygon3 ToPolygon3(GeoCoordinateSystem3 frame, GeoPolygon2 polygon)

Parameters

frame GeoCoordinateSystem3

The frame it was laid out in.

polygon GeoPolygon2

The polygon in the plane.

Returns

GeoPolygon3

The polygon in space, on the plane of the frame.

Exceptions

ArgumentNullException

Thrown when the polygon is null.

ArgumentException

Thrown when the polygon encloses no area, which no plane of space can carry.