MathUtilities.NearestPointToLines(Ray, Ray) Method    
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Find 3D point that minimizes distance to 2 lines, midpoint of the shortest perpendicular line segment between them
public:
 static UnityEngine::Vector3 NearestPointToLines(UnityEngine::Ray p, UnityEngine::Ray q);
	public static UnityEngine.Vector3 NearestPointToLines(UnityEngine.Ray p, UnityEngine.Ray q);
	static member NearestPointToLines : UnityEngine.Ray * UnityEngine.Ray -> UnityEngine.Vector3
	Public Shared Function NearestPointToLines (p As Ray, q As Ray) As Vector3
	Parameters
- p
 - UnityEngine.Ray
 
ray that specifies a line
- q
 - UnityEngine.Ray
 
ray that specifies a line
Returns
point nearest to the lines