Table of Contents

Constructor GeoFace2

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

GeoFace2(GeoPolygon2)

Initializes a face with no holes.

public GeoFace2(GeoPolygon2 boundary)

Parameters

boundary GeoPolygon2

The outer boundary.

Exceptions

ArgumentNullException

Thrown when the boundary is null.

GeoFace2(GeoPolygon2, IEnumerable<GeoPolygon2>)

Initializes a face with holes.

public GeoFace2(GeoPolygon2 boundary, IEnumerable<GeoPolygon2> holes)

Parameters

boundary GeoPolygon2

The outer boundary.

holes IEnumerable<GeoPolygon2>

The holes; null is read as none.

Exceptions

ArgumentNullException

Thrown when the boundary is null.

ArgumentException

Thrown when one of the holes is null.