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 | [IN] Long Required. The number of points to be intersected. |
| pPoints | [IN] RFPoint3 Required. The first element of RFPoint3 array containing points to be intersected with NURBS surface. |
| pDirection | [IN] RFVector3 Required. The direction of ray. |
| tolerance | [IN] Double Required. Distance tolerance to determine whether two points are at the same position. |
| pInitialUParams | [IN] Double Required. Initial parameters in U parametric direction from which calculation is started. |
| pInitialVParams | [IN] Double Required. Initial parameters in V parametric direction from which calculation is started. |
| pIntUParams | [OUT] Double Required. Intersection point parameters in U parametric direction on NURBS surface. |
| pIntVParams | [OUT] Double Required. Intersection point parameters in V parametric direction on NURBS surface. |
| pIntPoints | [OUT] RFPoint3 Required. Intersection points with NURBS surface. |
| pIntDists | [OUT] Double Required. Distances between each pPoint and pIntPoint. |
| pSuccesses | [OUT] Boolean Required. Boolean values indicating if each intersection is successful or not. |
Remarks