chromium/third_party/s2cellid/src/s2/r2rect.cc

// Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS-IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//

// Author: [email protected] (Eric Veach)

#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) {}