Module s2::r2::rect

source ·

Structs

Rect represents a closed axis-aligned rectangle in the (x,y) plane.

Constants

Canonical empty rectangle. Use IsEmpty() to test for empty rectangles, since they have more than one representation. A Rect::default() is not the same as the EmptyRect.