Table of Contents

Method ToCells

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

ToCells(CellOptions3)

Cuts the box into cells as the options say, along the world's axes, using the default tolerance.

public GeoCellGrid3 ToCells(CellOptions3 options)

Parameters

options CellOptions3

How each axis of the grid is divided, the joint, and the snap distance.

Returns

GeoCellGrid3

The grid of cells.

ToCells(CellOptions3, Tolerance)

Cuts the box into cells as the options say, along the world's axes, within a tolerance.

public GeoCellGrid3 ToCells(CellOptions3 options, Tolerance tolerance)

Parameters

options CellOptions3

How each axis of the grid is divided, the joint, and the snap distance.

tolerance Tolerance

The tolerance it is cut within: which cells are whole, and the least a cut is snapped by.

Returns

GeoCellGrid3

The grid of cells.

ToCells(CellOptions3, MeshPlacement3)

Cuts the box into cells as the options say, its grid standing as the placement says, using the default tolerance.

public GeoCellGrid3 ToCells(CellOptions3 options, MeshPlacement3 placement)

Parameters

options CellOptions3

How each axis of the grid is divided, the joint, and the snap distance.

placement MeshPlacement3

Which way the grid's axes run, and where a cell starts.

Returns

GeoCellGrid3

The grid of cells.

ToCells(CellOptions3, MeshPlacement3, Tolerance)

Cuts the box into cells as the options say, its grid standing as the placement says, within a tolerance: blocks, bays, lifts or bars, each a closed body of what the box holds of the cell.

public GeoCellGrid3 ToCells(CellOptions3 options, MeshPlacement3 placement, Tolerance tolerance)

Parameters

options CellOptions3

How each axis of the grid is divided, the joint, and the snap distance.

placement MeshPlacement3

Which way the grid's axes run, and where a cell starts.

tolerance Tolerance

The tolerance it is cut within: which cells are whole, and the least a cut is snapped by.

Returns

GeoCellGrid3

The grid of cells.

Exceptions

ArgumentNullException

Thrown when the options or the placement are null.

ArgumentException

Thrown when a cell is no larger than the point tolerance along an axis it divides, or the grid would lay more cells than a grid may have.