Use linestring_length() from Boost
This commit is contained in:
parent
0d6ff22e19
commit
bf809d1fd0
3 changed files with 4 additions and 6 deletions
|
@ -29,7 +29,7 @@ sub coincides_with {
|
|||
|
||||
sub length {
|
||||
my $self = shift;
|
||||
return Slic3r::Geometry::line_length($self);
|
||||
return Boost::Geometry::Utils::linestring_length($self);
|
||||
}
|
||||
|
||||
sub vector {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue