s2.s2text_format

Undocumented in source.

Members

Functions

makeIndex
bool makeIndex(string str, MutableS2ShapeIndex index)
Undocumented in source. Be warned that the author may not have intended to support it.
makeIndex
deprecated MutableS2ShapeIndex makeIndex(string str)
Undocumented in source. Be warned that the author may not have intended to support it.
makeIndexOrDie
MutableS2ShapeIndex makeIndexOrDie(string str)
Undocumented in source. Be warned that the author may not have intended to support it.
makeLatLng
bool makeLatLng(string str, S2LatLng latlng)
Undocumented in source. Be warned that the author may not have intended to support it.
makeLatLngOrDie
S2LatLng makeLatLngOrDie(string str)
Undocumented in source. Be warned that the author may not have intended to support it.
makeLatLngRect
bool makeLatLngRect(string str, S2LatLngRect rect)
Undocumented in source. Be warned that the author may not have intended to support it.
makeLatLngRect
deprecated S2LatLngRect makeLatLngRect(string str)
Undocumented in source. Be warned that the author may not have intended to support it.
makeLatLngRectOrDie
S2LatLngRect makeLatLngRectOrDie(string str)
Undocumented in source. Be warned that the author may not have intended to support it.
makeLaxPolygon
bool makeLaxPolygon(string str, S2LaxPolygonShape lax_polygon)
Undocumented in source. Be warned that the author may not have intended to support it.
makeLaxPolygon
deprecated S2LaxPolygonShape makeLaxPolygon(string str)
Undocumented in source. Be warned that the author may not have intended to support it.
makeLaxPolygonOrDie
S2LaxPolygonShape makeLaxPolygonOrDie(string str)
Undocumented in source. Be warned that the author may not have intended to support it.
makeLaxPolyline
bool makeLaxPolyline(string str, S2LaxPolylineShape lax_polyline)
Undocumented in source. Be warned that the author may not have intended to support it.
makeLaxPolyline
deprecated S2LaxPolylineShape makeLaxPolyline(string str)
Undocumented in source. Be warned that the author may not have intended to support it.
makeLaxPolylineOrDie
S2LaxPolylineShape makeLaxPolylineOrDie(string str)
Undocumented in source. Be warned that the author may not have intended to support it.
makeLoop
bool makeLoop(string str, S2Loop loop)
Undocumented in source. Be warned that the author may not have intended to support it.
makeLoop
deprecated S2Loop makeLoop(string str)
Undocumented in source. Be warned that the author may not have intended to support it.
makeLoopOrDie
S2Loop makeLoopOrDie(string str)
Undocumented in source. Be warned that the author may not have intended to support it.
makePoint
bool makePoint(string str, S2Point point)
Undocumented in source. Be warned that the author may not have intended to support it.
makePoint
deprecated S2Point makePoint(string str)
Undocumented in source. Be warned that the author may not have intended to support it.
makePointOrDie
S2Point makePointOrDie(string str)
Undocumented in source. Be warned that the author may not have intended to support it.
makePolygon
bool makePolygon(string str, S2Polygon polygon)
Undocumented in source. Be warned that the author may not have intended to support it.
makePolygonOrDie
S2Polygon makePolygonOrDie(string str)
Undocumented in source. Be warned that the author may not have intended to support it.
makePolyline
bool makePolyline(string str, S2Polyline polyline)
Undocumented in source. Be warned that the author may not have intended to support it.
makePolyline
deprecated S2Polyline makePolyline(string str)
Undocumented in source. Be warned that the author may not have intended to support it.
makePolylineOrDie
S2Polyline makePolylineOrDie(string str)
Undocumented in source. Be warned that the author may not have intended to support it.
makeVerbatimPolygon
bool makeVerbatimPolygon(string str, S2Polygon polygon)

As above, but does not CHECK-fail on invalid input. Returns true if conversion is successful.

makeVerbatimPolygon
deprecated S2Polygon makeVerbatimPolygon(string str)
Undocumented in source. Be warned that the author may not have intended to support it.
makeVerbatimPolygonOrDie
S2Polygon makeVerbatimPolygonOrDie(string str)

Like MakePolygon(), except that it does not normalize loops (i.e., it gives you exactly what you asked for).

parseLatLngs
bool parseLatLngs(string str, S2LatLng[] latlngs)
Undocumented in source. Be warned that the author may not have intended to support it.
parseLatLngs
deprecated S2LatLng[] parseLatLngs(string str)
Undocumented in source. Be warned that the author may not have intended to support it.
parseLatLngsOrDie
S2LatLng[] parseLatLngsOrDie(string str)
Undocumented in source. Be warned that the author may not have intended to support it.
parsePoints
bool parsePoints(string str, S2Point[] vertices)
Undocumented in source. Be warned that the author may not have intended to support it.
parsePoints
deprecated S2Point[] parsePoints(string str)
Undocumented in source. Be warned that the author may not have intended to support it.
parsePointsOrDie
S2Point[] parsePointsOrDie(string str)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString(S2Point point)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString(S2LatLngRect rect)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString(S2LatLng latlng)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString(S2Loop loop)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString(S2Polyline polyline)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString(S2Polygon polygon)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString(S2Point[] points)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString(S2LatLng[] latlngs)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString(S2LaxPolylineShape polyline)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString(S2LaxPolygonShape polygon)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString(S2ShapeIndex index)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta