示例#1
0
 constexpr explicit vec(const osmium::NodeRef& nr) noexcept :
     x(nr.x()),
     y(nr.y()) {
 }
示例#2
0
int tav(osmium::NodeRef a,osmium::NodeRef b)
{
    return sqrt(std::pow(a.x()-b.x(),2)+std::pow(a.y()-b.y(),2));

}