Description
Decimates currently selected faces with satisfying specified parameters and returns an RFErrorCode value indicating whether an error occurs.
Syntax
Function RFMeshTools.DecimateRegion(faceCount As Long, ratio As Double, tolerance As Double, bNoVertexMove As Boolean, bPreserveBoundary As Boolean, bPreserveQuality As Boolean) As RFErrorCode
The DecimateRegion syntax has these parts:
| Part | Description |
|---|---|
| faceCount | [IN] Long Required. Demanding number of faces after the decimation. |
| ratio | [IN] Double Required. Demanding decimation ratio. |
| tolerance | [IN] Double Required. Demanding distance tolerance. |
| bNoVertexMove | [IN] Boolean Required. It determines whether all the original vertex coordinates are not moved. |
| bPreserveBoundary | [IN] Boolean Required. It determines whether all the boundary vertices coordinates are not moved. |
| bPreserveQuality | [IN] Boolean Required. It determines whether mesh quality is preserved as much as possible. |
Remarks