module ThreeDimensional where import Point(Point) class ThreeDimensional a where center :: a -> Point contains_point :: a -> Point -> Bool