Method ToFace3
- Namespace
- GeometryHelper.Core
- Assembly
- GeometryHelper.dll
ToFace3(GeoCoordinateSystem3, GeoFace2)
Puts a face of the plane back into space, holes and all.
public static GeoFace3 ToFace3(GeoCoordinateSystem3 frame, GeoFace2 face)
Parameters
frameGeoCoordinateSystem3The frame it was laid out in.
faceGeoFace2The face in the plane.
Returns
- GeoFace3
The face in space, on the plane of the frame.
Remarks
The boundary and every hole are laid in side for side, as ToPolygon3(GeoCoordinateSystem3, GeoPolygon2) lays a polygon: a square hole 2 across with a corner cut by 0.3, shrunk in the plane by a thousandth, keeps its five corners.
Exceptions
- ArgumentNullException
Thrown when the face is null.
- ArgumentException
Thrown when the frame or the face has a coordinate that is not a finite number.