assertEquals("distance P1", distance, base.getP1().distance(summit), EPS);
assertEquals("distance P2", distance, base.getP2().distance(summit), EPS);
final double x=10; // Can be any arbitrary point.
final double y=8;
assertEquals("nearest colinear point", base.ptLineDist(x,y),
test.nearestColinearPoint(new Point2D.Double(x,y)).distance(x,y), EPS);
}
/**
* Tests {@link Plane#setPlane} methods.