Constructor GeoFace2
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
GeoFace2(GeoPolygon2)
Initializes a face with no holes.
public GeoFace2(GeoPolygon2 boundary)
Parameters
boundaryGeoPolygon2The 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
boundaryGeoPolygon2The outer boundary.
holesIEnumerable<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.