Description
Calculates the deviation between two shells.
Syntax
Function RFMeshTools.CalcShellShellDeviation(fromShID As RFEntityID, toShID As RFEntityID, dCalcTolerance As Double, iType As RFDeviationType, bEntireShell As Boolean, bIgnoreBoundary As Boolean, dAcceptTolerance As Double, pdMaxDistance As Double, pdMinDistance As Double, pdAveDistance As Double, pdStdDev As Double, piNumInTolerance As Long, piNumOutTolerancePlus As Long, piNumOutToleranceMinus As Long) As RFErrorCode
The CalcShellShellDeviation syntax has these parts:
| Part | Description |
|---|---|
| fromShID | [IN] RFEntityID Required. The RFEntityID of the shell for calculating deviation. |
| toShID | [IN] RFEntityID Required. The base shell's RFEntityID. |
| dCalcTolerance | [IN] Double Required. The maximum value which is regarded as reasonable deviation. |
| iType | [IN] RFDeviationType Required. Deviation type. |
| bEntireShell | [IN] Boolean Required. Whether calculate the entire shell or not. |
| bIgnoreBoundary | [IN] Boolean Required. Whether ignore the boundary of shell or not. |
| dAcceptTolerance | [IN] Double Required. The acceptable tolerance of deviation. |
| pdMaxDistance | [OUT] Double Required. The maximum deviation. |
| pdMinDistance | [OUT] Double Required. The minimum deviation. |
| pdAveDistance | [OUT] Double Required. The average deviation. |
| pdStdDev | [OUT] Double Required. The standard deviation. |
| piNumInTolerance | [OUT] Long Required. The number of entities which are in tolerance. |
| piNumOutTolerancePlus | [OUT] Long Required. The number of entities which are plus and out of tolerance. |
| piNumOutToleranceMinus | [OUT] Long Required. The number of entities which are minus and out of tolerance. |