Table of Contents

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

size double

The size of a cell along the axis.

alignment GridAlignment

Where the cells stand against the body, measured between its furthest corners along the axis.

Returns

CellAxis

Exceptions

ArgumentOutOfRangeException

Thrown when the size is not a finite number above nought, or the alignment is not one of GridAlignment.