21 #ifndef otbCorrectPolygonFunctor_h
22 #define otbCorrectPolygonFunctor_h
41 template <
class TPolygon>
68 return closeFunctor(simplifyFunctor(input));
This filter close the input path, making the last point equal to the first one.
This filter simplify and close the input polygon, making the last point equal to the first one.
PolygonType::Pointer PolygonPointerType
otb::SimplifyPathFunctor< PolygonType, PolygonType > SimplifyFunctorType
ClosePathFunctor< PolygonType, PolygonType > CloseFunctorType
PolygonPointerType operator()(const TPolygon *input)
This filter performs a simplification of the input path.
void SetTolerance(double Tolerance)
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.