S2Shape.getReferencePoint

Returns an arbitrary point P along with a boolean indicating whether P is contained by the shape. (The boolean value must be false for shapes that do not have an interior.)

This ReferencePoint may then be used to compute the containment of other points by counting edge crossings.

class S2Shape
abstract const
getReferencePoint
()

Meta