Description
Deforms a shell by a set of reference points and deformed points pairs.
Syntax
Function RFMeshTools.DeformShellByMorphing(shellID As RFEntityID, iNumLandmarks As Long, pBefore As RFPoint3, pAfter As RFPoint3, iEffectiveIntensityLevel As Long, dInterpolationRatio As Double, dMaxIntensityRadius As Double, bFixBoundaryVertices As Boolean) As RFErrorCode
The DeformShellByMorphing syntax has these parts:
| Part | Description |
|---|---|
| shellID | [IN] RFEntityID Required. Entity ID of a shell. |
| iNumLandmarks | [IN] Long Required. The size of pBefore and pAfter array. |
| pBefore | [IN] RFPoint3 Required. The first element of reference points. |
| pAfter | [IN] RFPoint3 Required. The first element of deformed(moved) points. |
| iEffectiveIntensityLevel | [IN] Long Required. Defines local sensitivity. Usually the value ranging 0 ~ 6 (integer) will affordable. |
| dInterpolationRatio | [IN] Double Required. Linear interpolation parameter. |
| dMaxIntensityRadius | [IN] Double Required. |
| bFixBoundaryVertices | [IN] Boolean Required. |