+ move middle_point into label namespace
This commit is contained in:
parent
03422de504
commit
8931509adc
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue