Table of Contents

Method Prepare

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

Prepare()

Prepares this body to be asked many questions, using the default tolerance.

public GeoPreparedSolid3 Prepare()

Returns

GeoPreparedSolid3

The prepared body; a snapshot, safe to share between threads.

Remarks

The openings are cut in once, the surface meshed and indexed once, and the box kept, so that a body asked about a hundred others pays for each of those once instead of a hundred times. The prepared body answers as this one does. It is Prepare and not Get because it does the work, as BuildIndex() does: calling it in a loop is slower than not calling it.

Prepare(Tolerance)

Prepares this body to be asked many questions, within a tolerance.

public GeoPreparedSolid3 Prepare(Tolerance tolerance)

Parameters

tolerance Tolerance

The tolerance the openings are cut in and the surface meshed to.

Returns

GeoPreparedSolid3

The prepared body; a snapshot, safe to share between threads.