forked from organicmaps/organicmaps
For VNG: to finish methods implementation
This commit is contained in:
parent
6eb1705e08
commit
a4e947935d
1 changed files with 5 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include "../geometry/rect2d.hpp"
|
||||
#include "../geometry/point2d.hpp"
|
||||
|
||||
namespace scales
|
||||
{
|
||||
|
@ -9,7 +10,11 @@ namespace scales
|
|||
|
||||
double GetM2PFactor(int level);
|
||||
int GetScaleLevel(double ratio);
|
||||
/// @return such ration, that GetScaleLevel(ration) == level
|
||||
double GetRationForLevel(int level);
|
||||
int GetScaleLevel(m2::RectD const & r);
|
||||
/// @return such rect, that GetScaleLevel(rect) == level
|
||||
m2::RectD GetRectForLevel(int level, m2::PointD const & center, double widthToHeightRatio);
|
||||
double GetEpsilonForLevel(int level);
|
||||
double GetEpsilonForSimplify(int level);
|
||||
bool IsGoodForLevel(int level, m2::RectD const & r);
|
||||
|
|
Loading…
Add table
Reference in a new issue