Constructor GeoSolid3
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
GeoSolid3(IEnumerable<GeoFace3>)
Initializes a solid from its bounding faces.
public GeoSolid3(IEnumerable<GeoFace3> faces)
Parameters
facesIEnumerable<GeoFace3>The faces bounding the solid; at least four are needed to close a volume.
Exceptions
- ArgumentNullException
Thrown when the sequence is null.
- ArgumentException
Thrown when fewer than four faces are given, or one is null.
GeoSolid3(IEnumerable<GeoFace3>, IEnumerable<GeoSolid3>)
Initializes a solid from its bounding faces and the solids carved out of it.
public GeoSolid3(IEnumerable<GeoFace3> faces, IEnumerable<GeoSolid3> openings)
Parameters
facesIEnumerable<GeoFace3>The faces bounding the solid.
openingsIEnumerable<GeoSolid3>The solids to subtract; null is read as none.
GeoSolid3(params GeoFace3[])
Initializes a solid directly from face arguments.
public GeoSolid3(params GeoFace3[] faces)
Parameters
facesGeoFace3[]