Update geom2d.hpp

Fixed the containment of a point on a vertical line