MiscFunctions..::..PointOnPlaneFromRay Method

Finds the point on the plane made by a ray. If that ray is not going to pass through the that plane, then null is returned.

Namespace:  TVGL
Assembly:  TessellationAndVoxelizationGeometryLibraryUniversal (in TessellationAndVoxelizationGeometryLibraryUniversal.dll)

Syntax


public static double[] PointOnPlaneFromRay(
	double[] normalOfPlane,
	double distOfPlane,
	double[] rayPosition,
	double[] rayDirection
)
Public Shared Function PointOnPlaneFromRay ( _
	normalOfPlane As Double(), _
	distOfPlane As Double, _
	rayPosition As Double(), _
	rayDirection As Double() _
) As Double()
public:
static array<double^>^ PointOnPlaneFromRay(
	array<double^>^ normalOfPlane, 
	double^ distOfPlane, 
	array<double^>^ rayPosition, 
	array<double^>^ rayDirection
)

Parameters

normalOfPlane
Type: array<Double>[]()[][]
The normal of plane.
distOfPlane
Type: Double
The dist of plane.
rayPosition
Type: array<Double>[]()[][]
The ray position.
rayDirection
Type: array<Double>[]()[][]
The ray direction.

Return Value

Vertex.