Click or drag to resize
Ab4d.SharpEngine logo

RayFindClosestRay Method

FindClosestRay is a static method that returns a Ray that goes from ray1 to ray2 and starts on the closest point between two rays. If closest cannot be found, the returned Ray has zero length (its IsValid property is false).

Namespace: Ab4d.SharpEngine.Common
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public static Ray FindClosestRay(
	Ray ray1,
	Ray ray2
)

Parameters

ray1  Ray
first Ray
ray2  Ray
second Ray

Return Value

Ray
Ray that goes from ray1 to ray2 and starts on the closest point between two rays
See Also