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