32 #include "../WBoundingBox.h"
33 #include "../WExportCommon.h"
34 #include "../WMixinVector.h"
35 #include "linearAlgebra/WLinearAlgebra.h"
51 explicit WLine(
const std::vector< WPosition > &points );
64 void resampleByNumberOfPoints(
size_t numPoints );
73 void resampleBySegmentLength(
double newSegementLength );
83 void removeAdjacentDuplicates();
94 void unifyDirectionBy(
const WLine& other );
115 OWCOMMON_EXPORT
double pathLength(
const WLine& line );
139 OWCOMMON_EXPORT
int equalsDelta(
const WLine& line,
const WLine& other,
double delta );
149 OWCOMMON_EXPORT
double maxSegmentLength(
const WLine& line );
159 bool hasMorePointsThen(
const WLine& first,
const WLine& second );
161 inline bool hasMorePointsThen(
const WLine& first,
const WLine& second )
163 return first.
size() > second.
size();