Intersect() public method

Test for the intersection of this plane with this Triangle.
public Intersect ( Plane plane ) : bool
plane Plane
return bool
Beispiel #1
0
 /// <summary>
 /// Test for the intersection of this plane with this Triangle.
 /// </summary>
 /// <param name="plane"></param>
 /// <returns></returns>
 public bool Intersect(Plane plane)
 {
     return(Triangle.Intersect(plane, this.vert0, this.vert1, this.vert2));
 }
Beispiel #2
0
 /// <summary>
 /// Tests for a intersection bewteen this Ray and this Triangle.
 /// </summary>
 /// <param name="ray"></param>
 /// <returns></returns>
 public bool Intersect(Ray ray)
 {
     float t; return(Triangle.Intersect(ray, this.vert0, this.vert1, this.vert2, out t));
 }