RFShell.FindRayIntersectionSingleDirection (Available After RapidForm2004)



Your Ad Here

Description

Calculates the first intersection point between a specified half-infinite line and the shell, and retrieves a Boolean value indicating whether the intersection is successful.

Syntax

Function RFShell.FindRayIntersectionSingleDirection(pRayPoint As RFPoint3, pRayNormal As RFVector3, frontFaceOnly As Boolean, pIntPoint As RFPoint3, pIntDistance As Double, pIntFaceID As RFEntityID, pSuccess As Boolean) As RFErrorCode

The FindRayIntersection syntax has these parts:

Part Description
pRayPoint [INRFPoint3 Required. Origin of the half-infinite line.
pRayNormal [INRFVector3 Required. Direction of the half-infinite line.
frontFaceOnly [INBoolean Required. It determines whether visible faces along the pRayNorma direction are only considered.
pIntPoint [OUTRFPoint3 Required. The first intersection point on the shell.
pIntDistance [OUTDouble Required. Distance between pRayPoint and pIntPoint.
pIntFaceID [OUTRFEntityID Required. Face's RFEntityID on which pIntPoint lies.
pSuccess [OUTBoolean Required. Boolean value indicating whether an intersection point is found.

Remarks

 

Return to Rapidform Index


Your Ad Here