Gamelle.ShapeArbitrary shapes: segments, circles and polygons.
val pp : Stdlib.Format.formatter -> t -> unitFormat.printf "%a" pp t pretty prints the shape t.
val signed_area : t -> floatsigned_area s returns the signed area of the shape s.
rotate a s rotates the shape s by angle a (in radians).
mem pt s returns true if point pt lies inside the shape s, false otherwise.
distance2 pt s returns the squared distance of the point pt with the shape s.
intersect a b returns true if the shape a intersects the shape b, false otherwise.