Description
Decimates a specified shell.
Syntax
Function RFMeshTools.DecimateShell2( shellID As RFEntityID, ratio As Double, errorBound As Double, curvatureBalance As Long, flagPreserveVertices As Bool, flagPreserveBoundary As Bool, flagPreserveQuality As Bool, flagPreserveMark As Bool ) As RFErrorCode
The DecimateShell2 syntax has these parts:
| Part | Description |
|---|---|
| shellID | [IN] RFEntityID Required. Shell's RFEntityID to decimate. |
| ratio | [IN] Double Required. 0 ~ 100%. |
| errorBound | [IN] Double Required. Demanding error bound. |
| curvatureBalance | [IN] Long Required. Demanding curvature balance. |
| flagPreserveVertices | [IN] Bool Required. It determines whether all the original vertex coordinates are not moved. |
| flagPreserveBoundary | [IN] Bool Required. It determines whether all the boundary vertices coordinates are not moved. |
| flagPreserveQuality | [IN] Bool Required. It determines whether mesh quality is preserved as much as possible. |
| flagPreserveMark | [IN] Bool Required. It determines whether all the marked edges and vertices coordinates are not moved. |
Remarks