.. _geometry-readme: Geometry -------- *Geometry* module implements basic 2D geometric primitives like :class:`~backpack.geometry.Point`, :class:`~backpack.geometry.Line`, :class:`~backpack.geometry.Rectangle`, :class:`~backpack.geometry.PolyLine`, and useful algorithms like verifying if a line segment :meth:`~backpack.geometry.Line.intersects` another one, a rectangle :meth:`~backpack.geometry.Rectangle.hasinside` a point, or a polygon :meth:`~backpack.geometry.PolyLine.hasinside` another point.