Method BySize
- Namespace
- GeometryHelper.Meshing
- Assembly
- GeometryHelper.dll
BySize(double, GridAlignment)
Cells of a size along the axis, a joint apart, standing as the alignment says, or with one starting at the placement's origin when it gives one.
public static CellAxis BySize(double size, GridAlignment alignment = GridAlignment.Start)
Parameters
sizedoubleThe size of a cell along the axis.
alignmentGridAlignmentWhere the cells stand against the body, measured between its furthest corners along the axis.
Returns
Exceptions
- ArgumentOutOfRangeException
Thrown when the size is not a finite number above nought, or the alignment is not one of GridAlignment.