S2Polygon.clone

GetRectBound() returns essentially tight results, while GetCapBound() might have a lot of extra padding. Both bounds are conservative in that if the loop contains a point P, then the bound contains P also.

class S2Polygon
override const
clone
()

Meta