The algorithm used reports if a point lies in the interior, exterior, or exactly on the boundary of the Geometry.
Instance methods are provided to implement the interface PointInAreaLocator. However, they provide no performance advantage over the class methods.
This algorithm is suitable for use in cases where only a few points will be tested. If many points will be tested, IndexedPointInAreaLocator may provide better performance.
Location.EXTERIOR != locate(p, geom)