15 #ifndef __IPSDKGEOMETRY_SIMPLIFYTRANSFORM2D_H__ 16 #define __IPSDKGEOMETRY_SIMPLIFYTRANSFORM2D_H__ 19 #include <IPSDKGeometry/Transform/2d/BaseGeometryTransform2d.h> 53 void setMaxDistance(
const ipReal64 maxDistance);
54 const ipReal64 getMaxDistance()
const;
68 bool processInSitu(
Vector2d& entity)
const;
82 bool processInSitu(
Shape2d& entity)
const;
100 template <
typename T>
102 template <
typename T>
140 #endif // __IPSDKGEOMETRY_SIMPLIFYTRANSFORM2D_H__ 2d ellipse class associated to cartesian 2d coordinates. For a non rotated ellipse, the major axis follows the x axis and the minor axis follows the y axis.
Definition: Ellipse2d.h:40
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
Point class associated to cartesian 2d coordinates.
Definition: GeometryEntity2dTypes.h:28
static const eTransform2dType::domain g_transform2dType
geometry transformation type
Definition: SimplifyTransform2d.h:35
double ipReal64
Base types definition.
Definition: BaseTypes.h:57
#define IPSDK_DECLARE_GEOMETRY_TRANSFORM_2D(libraryName, className)
Macro allowing to declare a geometry transform 2d.
Definition: GeometryTransform2dHdrMacros.h:26
Closed polygon potentially associated to interior polygonal holes.
Definition: PolygonWithHoles2d.h:40
eTransform2dType getTransform2dType() const
method allowing to retrieve entity 2d transformation type
Definition: SimplifyTransform2d.h:117
Geometry simplification computation.
Definition: GeometryTransform2dTypes.h:55
Definition of import/export macro for library.
const ipReal64 getMaxDistance() const
access to maximum distance of a vertex to other segments to be removed (default value : 1...
Definition: SimplifyTransform2d.h:129
#define IPSDKGEOMETRY_API
Import/Export macro for library IPSDKGeometry.
Definition: IPSDKGeometryExports.h:25
Algorithm allowing to simplify a geometry.
Definition: SimplifyTransform2d.h:27
2d segment associated to two points
Definition: Segment2d.h:38
boost::shared_ptr< BaseGeometryEntity2d > GeometryEntity2dPtr
shared pointer to BaseGeometryEntity2d
Definition: GeometryEntity2dTypes.h:88
Closed polygon associated to an ordered collection of 2d points.
Definition: Polygon2d.h:38
Vector class associated to polar 2d coordinates.
Definition: Vector2d.h:32
2d rectangle class associated to cartesian 2d coordinates
Definition: Rectangle2d.h:35
2d circle associated to cartesian 2d coordinates
Definition: Circle2d.h:36
Base class for geometry 2d transformations.
Definition: BaseGeometryTransform2d.h:34
2d square class associated to cartesian 2d coordinates
Definition: Square2d.h:35
Shape 2d associated to one or more closed polygon 2d.
Definition: Shape2d.h:35
Rectangular 2d bounding box class associated to cartesian 2d coordinates.
Definition: BoundingBox2d.h:37
eTransform2dType
Enumerate describing geometry 2d transform type.
Definition: GeometryTransform2dTypes.h:33
ipReal64 _maxDistance
Definition: SimplifyTransform2d.h:110
void setMaxDistance(const ipReal64 maxDistance)
access to maximum distance of a vertex to other segments to be removed (default value : 1...
Definition: SimplifyTransform2d.h:123