// Point to local space - already done!
// testPoint.transform(this.getGlobalInverseMatrix());
//Send ray from the test point in x, y, and z direction
//and count the intersections (this is not really sufficient!)
Ray ray0 = new Ray(new Vector3D(testPoint), new Vector3D(1,0,0));
Ray ray1 = new Ray(new Vector3D(testPoint), new Vector3D(0,1,0));
Ray ray2 = new Ray(new Vector3D(testPoint), new Vector3D(0,0,1));
int i0 = this.getNumIntersections(ray0);
int i1 = this.getNumIntersections(ray1);
int i2 = this.getNumIntersections(ray2);