Description
Decimates a specified shell by a regular voxel sampling algorithm and returns an RFErrorCode value indicating whether an error occurs.
Syntax
Function RFMeshTools.DecimateLargeShell(shellID As RFEntityID, gridsize As Long, bEvalFaceCount As Boolean, pEvalFaceCount As Long) As RFErrorCode
The DecimateLargeShell syntax has these parts:
| Part | Description |
|---|---|
| shellID | [IN] RFEntityID Required. Shell's RFEntityID to decimate. |
| gridsize | [IN] Long Required. Voxel resolution. |
| bEvalFaceCount | [IN] Boolean Required. It determines whether decimation is actually performed or simple decimated face count estimation is performed. |
| pEvalFaceCount | [OUT] Long Required. Estimated number of faces after the decimation. |
Remarks