main/src/georegression/metric/Intersection3D_F64.java
public static int intersect(Triangle3D_F64 T , LineParametric3D_F64 R , Point3D_F64 output) {
		return intersect(T,R,output,
				new Vector3D_F64(),new Vector3D_F64(),new Vector3D_F64(),new Vector3D_F64());
	}
public static int intersect(Triangle3D_F64 T , LineParametric3D_F64 R , Point3D_F64 output) {
		return intersect(T,R,output,
				new Vector3D_F64(),new Vector3D_F64(),new Vector3D_F64(),new Vector3D_F64());
	}
<p>Finds the intersection between a 3D triangle and a line.  Code ported from [1].  Internal
working variables are provided in this interface to reduce memory creation/destruction.</p>

<p>
[1] http://geomalgorithms.com/a06-_intersect-2.html
</p>

@param T (Input) Triangle in 3D space
@param R (Input) Line segment in 3D space.
@param output (Output) Storage for the intersection, if there is one
@return <ul style="list-style-type:none">
<li>-1 = triangle is degenerate (a segment or point)</li>
<li>0 =  disjoint (no intersect)</li>
<li>1 =  intersect in unique point. Positive direction or zero</li>
<li>2 =  are in the same plane</li>
<li>3 =  intersect in unique point. Negative direction</li>
</ul>