/* * Copyright (C) 2010-2011 Dmitry Marakasov * * This file is part of glosm. * * glosm is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * glosm is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with glosm. If not, see . */ #ifndef SPHERICALPROJECTION_HH #define SPHERICALPROJECTION_HH #include /** * Spherical projection * * This represents Spherical projection. */ class SphericalProjection : public Projection { protected: static Vector3f ProjectImpl(const Vector3i& point, const Vector3i& ref); static Vector3i UnProjectImpl(const Vector3f& point, const Vector3i& ref); public: SphericalProjection(); }; #endif