Method IsWhole
- Namespace
- GeometryHelper.Meshing
- Assembly
- GeometryHelper.dll
IsWhole(int)
Gets whether a face is a whole cell of a grid, which neither the boundary nor a hole cuts by more than the point tolerance.
public bool IsWhole(int index)
Parameters
indexintThe face.
Returns
- bool
true for a whole cell; false for a cut one, and for every face of a mesh that is not a grid.
Remarks
A cell the boundary cuts by no more than the tolerance counts as whole, as a panel a hair short is a whole panel, and keeps the shape it was cut to, so that it stays within the material.
Exceptions
- ArgumentOutOfRangeException
Thrown when there is no such face.