+ move middle_point into label namespace

This commit is contained in:
artemp 2012-07-30 18:31:15 +01:00
parent 03422de504
commit 8931509adc

View file

@ -241,6 +241,8 @@ double path_length(PathType & path)
return length;
}
namespace label {
template <typename PathType>
bool middle_point(PathType & path, double & x, double & y)
{
@ -271,8 +273,6 @@ bool middle_point(PathType & path, double & x, double & y)
return true;
}
namespace label {
template <typename PathType>
bool centroid(PathType & path, double & x, double & y)
{