OTB
9.0.0
Orfeo Toolbox
|
#include <otbGeometriesToGeometriesFilter.h>
Policy to call the transformation functor on OGRGeometry
(even when the actual transformed element is a ogr::Layer
).
TransformationFunctor | actual transformation functor |
TransformedElementType | geometries to transform. This policy-class is specialized for ogr::Layer and OGRGeometry . |
This functor dispatcher is meant to work:
ogr::Layer
(in that case, it acts as a in-place filter).ogr::Layer
s (in that case, it acts as a copy filter).Specializations are expected to provide:
TransformedElementType
which is expected to match TransformationFunctor::TransformedElementType
;operator()
one that takes a reference to a ogr::Layer
for in-place transformation;operator()
one that takes a const reference, and a reference to ogr::Layer
for by-copy transformation;operator->()
that returns a pointer to the actual TransformationFunctor
. ogr::Feature
.Definition at line 270 of file otbGeometriesToGeometriesFilter.h.