Description
Tessellates the NURBS curve within a specified parameter range, based on either chord height or angular tolerance and gets the number of tessellated points and parameters.
Syntax
Function RFNurbsCurve.Tessellate(pInterval As RFExtent1d, chordHeight As Double, angleTolerance As Double, minSegCount As Long, pParams As Double, pPts As RFPoint3, pPtsCount As Long) As RFErrorCode
The Tessellate syntax has these parts:
| Part | Description |
|---|---|
| pInterval | [IN] RFExtent1d Required. Paramter range to tessellate. |
| chordHeight | [IN] Double Required. Chord height tolerance. |
| angleTolerance | [IN] Double Required. Angular tessellation tolerance in radian unit. |
| minSegCount | [IN] Long Required. Minimum number of segments. |
| pParams | [OUT] Double Required. The first element of a Double array to store tessellated parameters. |
| pPts | [OUT] RFPoint3 Required. The first element of an RFPoint3 array to store tessellated points. |
| pPtsCount | [OUT] Long Required. The number of tessellated points |
Settings
The chordHeight has these settings:
| Value | Description |
|---|---|
| 0.0 | It indicates that chord height tolerance is ignored and angular tolerance is used. |
| (Double value greater than 0.0) | It indicates that angular tolerance is ignored and chord height tolerance is used. |
The angleTolerance has these settings:
| Value | Description |
|---|---|
| 0.0 | It indicates that angular tolerance is ignored and chord height tolerance is used. |
| (Double value greater than 0.0) | It indicates that angular tolerance is ignored and chord height tolerance is used. |
Remarks