RFNurbsSurface.RayIntersectPoints (Available After RapidForm2002 PlusPack1)



Your Ad Here

Description

Get the intersected points between the ray fired from specified points and NURBS surface.

Syntax

Function RFNurbsSurface.RayIntersectPoints(pointCount As Long, pPoints As RFPoint3, pDirection As RFVector3, tolerance As Double, pInitialUParams As Double, pInitialVParams As Double, pIntUParams As Double, pIntVParams As Double, pIntPoints As RFPoint3, pIntDists As Double, pSuccesses As Boolean) As RFErrorCode

The RayIntersectPoints syntax has these parts:

Part Description
pointCount [INLong Required. The number of points to be intersected.
pPoints [INRFPoint3 Required. The first element of RFPoint3 array containing points to be intersected with NURBS surface.
pDirection [INRFVector3 Required. The direction of ray.
tolerance [INDouble Required. Distance tolerance to determine whether two points are at the same position.
pInitialUParams [INDouble Required. Initial parameters in U parametric direction from which calculation is started.
pInitialVParams [INDouble Required. Initial parameters in V parametric direction from which calculation is started.
pIntUParams [OUTDouble Required. Intersection point parameters in U parametric direction on NURBS surface.
pIntVParams [OUTDouble Required. Intersection point parameters in V parametric direction on NURBS surface.
pIntPoints [OUTRFPoint3 Required. Intersection points with NURBS surface.
pIntDists [OUTDouble Required. Distances between each pPoint and pIntPoint.
pSuccesses [OUTBoolean Required. Boolean values indicating if each intersection is successful or not.

Remarks

 

Return to Rapidform Index


Your Ad Here