#include "s2/r2rect.h"
#include <iosfwd>
#include "s2/r1interval.h"
#include "s2/r2.h"
R2Rect R2Rect::FromCenterSize(R2Point const& center, R2Point const& size) { … }
R2Rect R2Rect::FromPointPair(R2Point const& p1, R2Point const& p2) { … }
bool R2Rect::Contains(R2Rect const& other) const { … }
bool R2Rect::InteriorContains(R2Rect const& other) const { … }
bool R2Rect::Intersects(R2Rect const& other) const { … }
bool R2Rect::InteriorIntersects(R2Rect const& other) const { … }
void R2Rect::AddPoint(R2Point const& p) { … }
void R2Rect::AddRect(R2Rect const& other) { … }
R2Point R2Rect::Project(R2Point const& p) const { … }
R2Rect R2Rect::Expanded(R2Point const& margin) const { … }
R2Rect R2Rect::Union(R2Rect const& other) const { … }
R2Rect R2Rect::Intersection(R2Rect const& other) const { … }
bool R2Rect::ApproxEquals(R2Rect const& other, double max_error) const { … }
std::ostream& operator<<(std::ostream& os, R2Rect const& r) { … }