RFNurbsCurve.Tessellate



Your Ad Here

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 [INRFExtent1d Required. Paramter range to tessellate.
chordHeight [INDouble Required. Chord height tolerance.
angleTolerance [INDouble Required. Angular tessellation tolerance in radian unit.
minSegCount [INLong Required. Minimum number of segments.
pParams [OUTDouble Required. The first element of a Double array to store tessellated parameters.
pPts [OUTRFPoint3 Required. The first element of an RFPoint3 array to store tessellated points.
pPtsCount [OUTLong 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

 

Return to Rapidform Index


Your Ad Here