Method ProjectToFace2
- Namespace
- GeometryHelper.Core
- Assembly
- GeometryHelper.dll
ProjectToFace2(GeoCoordinateSystem3, GeoFace3)
Lays a face and its holes out in a frame, dropping each vertex's distance from the plane.
public static GeoFace2 ProjectToFace2(GeoCoordinateSystem3 frame, GeoFace3 face)
Parameters
frameGeoCoordinateSystem3The frame to lay it out in.
faceGeoFace3The face.
Returns
- GeoFace2
The face in the plane of the frame, holes and all.
Remarks
The boundary and every hole are laid out side for side, as ProjectToPolygon2(GeoCoordinateSystem3, GeoPolygon3) lays out a polygon.
Exceptions
- ArgumentNullException
Thrown when the face is null.
- ArgumentException
Thrown when the boundary or a hole, seen along the Z axis of the frame, encloses no area within the global tolerance, or the frame has a coordinate that is not a finite number.