///<summary> /// Returns true if the ray hits the figure and false otherwise. If there's an intersection, returns its parameters into inter. ///</summary> public abstract bool Hit(Ray ray, ref Intersection inter);