RFNurbsCurve.ProjectPoint



Your Ad Here

Description

Projects the specified point on the NURBS curve.

Syntax

Function RFNurbsCurve.ProjectPoint(pPoint As RFPoint3, tolerance As Double, bLocal As Boolean, initialParam As Double, pPrjParam As Double, pPrjPoint As RFPoint3, pPrjDist As Double, pSuccess As Boolean) As RFErrorCode

The ProjectPoint syntax has these parts:

Part Description
pPoint [INRFPoint3 Required. Point to project to the NURBS curve.
tolerance [INDouble Required. Distance tolerance to determine whether two points are at the same position.
bLocal [INBoolean Required. It determines the projection method.
initialParam [INDouble Required. Initial parameter from which the calculation is started.
pPrjParam [OUTDouble Required. Parameter of the projection point on the NURBS curve.
pPrjPoint [OUTRFPoint3 Required. Projection point on the NURBS curve.
pPrjDist [OUTDouble Required. Distance between the point pPoint and its projection point pPrjPoint.
pSuccess [OUTBoolean Required. Boolean value indicating if the projection is successful or not.

Settings

The bLocal has these settings:

Value Description
TRUE Local projection is performed from the given initialParam parameter. i.e. globally minimum distance point projection is not assured.
FALSE initialParam parameter is ignored and globally minimum distance point projection is performed.

Remarks

 

Return to Rapidform Index


Your Ad Here