RFMeshTools.DecimateShell



Your Ad Here

Description

Decimates a specified shell with satisfying specified parameters, and returns an RFErrorCode value indicating whether an error occurs.

Syntax

Function RFMeshTools.DecimateShell(shellID As RFEntityID, faceCount As Long, ratio As Double, tolerance As Double, bNoVertexMove As Boolean, bPreserveBoundary As Boolean, bPreserveQuality As Boolean) As RFErrorCode

The DecimateShell syntax has these parts:

Part Description
shellID [INRFEntityID Required. Shell's RFEntityID to decimate.
faceCount [INLong Required. Demanding number of faces after the decimation.
ratio [INDouble Required. Demanding decimation ratio.
tolerance [INDouble Required. Demanding distance tolerance.
bNoVertexMove [INBoolean Required. It determines whether all the original vertex coordinates are not moved.
bPreserveBoundary [INBoolean Required. It determines whether all the boundary vertices coordinates are not moved.
bPreserveQuality [INBoolean Required. It determines whether mesh quality is preserved as much as possible.

Remarks

 

Return to Rapidform Index


Your Ad Here