Class S2Shape.ReferencePoint

    • Method Detail

      • contained

        public abstract boolean contained()
        Returns true if this point is contained by the reference shape.
      • create

        public static S2Shape.ReferencePoint create​(boolean contained)
        Returns a referenced point at an arbitrary position, suitable for shapes that contain all points or no points.
      • create

        public static S2Shape.ReferencePoint create​(S2Point p,
                                                    boolean contained)
        Creates a referenced point at position 'p', with known containment 'contained'.