Description
Divides currently selected each face into sub-meshes and returns an RFErrorCode value indicating whether an error occurs.
Syntax
Function RFMeshTools.SubdivideRegion2(length As Double, bPreserveSharpEdge As Boolean, bPreserveMark As Boolean, iMethod As RFSubdivisionMethod, bNotAdjustVertexPosition As Boolean, bSubdivideByCurvature As Boolean, iCurvatureRegion As RFCurvatureRegion, dLowCurvatureCriteriaMultiplier As Double, bPreserveTextureIfAny As Boolean, iTextureResolution As Long) As RFErrorCode
The SubdivideRegion2 syntax has these parts:
| Part | Description |
|---|---|
| length | [IN] Double Required. Edges the length of which is less than this value are not subdivided. |
| bPreserveSharpEdge | [IN] Boolean Required. It determines whether creasing edges are not subdivided. |
| bPreserveMark | [IN] Boolean Required. It determines whether preserving mark of vertices or faces. |
| iMethod | [IN] RFSubdivisionMethod Required. Subdivision method. |
| bNotAdjustVertexPosition | [IN] Boolean Required. It determines whether adjusting the position of existing vertices. |
| bSubdivideByCurvature | [IN] Boolean Required. It determines whether subdividing the curvartured region only. |
| iCurvatureRegion | [IN] RFCurvatureRegion Required. Kind of curvature region. |
| dLowCurvatureCriteriaMultiplier | [IN] Double Required. Multiplier for classifying the curvature region. |
| bPreserveTextureIfAny | [IN] Boolean Required. It determines whether preserving the texture if any. |
| iTextureResolution | [IN] Long Required. Texture resolution if texture should be preserved. |
Remarks