main/src/georegression/metric/Intersection3D_F64.java
public static int intersect(Triangle3D_F64 T , LineSegment3D_F64 R , Point3D_F64 output ) {
		return intersect(T,R,output,
				new Vector3D_F64(),new Vector3D_F64(),new Vector3D_F64(),new Vector3D_F64(),new Vector3D_F64());
	}
public static int intersect(Triangle3D_F64 T , LineSegment3D_F64 R , Point3D_F64 output ) {
		return intersect(T,R,output,
				new Vector3D_F64(),new Vector3D_F64(),new Vector3D_F64(),new Vector3D_F64(),new Vector3D_F64());
	}
public static int intersect ( Triangle3D_F64 T , LineSegment3D_F64 R , Point3D_F64 output ) { return intersect ( T , R , output , new Vector3D_F64 ( ) , new Vector3D_F64 ( ) , new Vector3D_F64 ( ) , new Vector3D_F64 ( ) , new Vector3D_F64 ( ) ) ; }
<p>Finds the intersection between a 3D triangle and a line-segment.  Code ported from [1].</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 -1 = triangle is degenerate (a segment or point)<br>
0 =  disjoint (no intersect)<br>
1 =  intersect in unique point I1<br>
2 =  are in the same plane
<p > Finds the intersection between a 3D triangle and a line - segment . Code ported from [ 1 ] . < / p >