Description
Projects the currently selected faces(region) to a specified or automatically calculated cylinder, and returns an RFErrorCode value indicating whether an error occurs.
Syntax
Function RFMeshTools.FitRegionToCylinder(bBestFit As Boolean, pCylinder As RFCylinder) As RFErrorCode
The FitRegionToCylinder syntax has these parts:
| Part | Description |
|---|---|
| bBestFit | [IN] Boolean Required. It determines whether the cylinder geometry is calculated based on the least squre fitting method. |
| pCylinder | [IN] RFCylinder Required. Cylinder geometry to fit. |
Remarks