Introduction
For each primitive (other than the point) we will implement two test functions. The first function will tell us if a point is located inside or on the surface of a primitive. The second test will tell us what the closest point on the primitive is to a test point.