Table of Contents

Constructor GeoSolid3

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

GeoSolid3(IEnumerable<GeoFace3>)

Initializes a solid from its bounding faces.

public GeoSolid3(IEnumerable<GeoFace3> faces)

Parameters

faces IEnumerable<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

faces IEnumerable<GeoFace3>

The faces bounding the solid.

openings IEnumerable<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

faces GeoFace3[]