public class PlaneTest extends TestCase {
public void testContainment() {
Triangle3D t = new Triangle3D(new Vec3D(-100, 0, 0), new Vec3D(0, 0,
-100), new Vec3D(0, 0, 100));
Plane pl = new Plane(t.computeCentroid(), t.computeNormal());
}
public void testProjection() {
Vec3D origin = new Vec3D(0, 100, 0);
Plane plane = new Plane(origin, new Vec3D(0, 1, 0));