Table of Contents

Method Divide

Namespace
GeometryHelper.Meshing
Assembly
GeometryHelper.dll

Divide(int, int, int, double)

As many equal cells along each axis as asked, from the body's first side to its far one.

public static CellOptions3 Divide(int countX, int countY, int countZ, double joint = 0)

Parameters

countX int

How many cells along the grid's X axis; one leaves the body whole that way.

countY int

How many cells along the grid's Y axis; one leaves the body whole that way.

countZ int

How many cells along the grid's Z axis; one leaves the body whole that way.

joint double

The gap between two neighbouring cells, along each axis divided; nought for none.

Returns

CellOptions3

Exceptions

ArgumentOutOfRangeException

Thrown when a count is below one, or the joint is negative or not a finite number.