IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Shape2dSegmentationUtils.h
Go to the documentation of this file.
1 // Shape2dSegmentationUtils.h:
3 // ---------------------------
4 //
14 
15 #ifndef __IPSDKBASESHAPESEGMENTATION_SHAPE2DSEGMENTATIONUTILS_H__
16 #define __IPSDKBASESHAPESEGMENTATION_SHAPE2DSEGMENTATIONUTILS_H__
17 
20 
21 namespace ipsdk {
22 namespace shape {
23 namespace segmentation {
24 
27 
32 
41 createSeparation(const ipUInt64 startPointIndex,
42  const ipUInt64 endPointIndex,
43  ipsdk::geom::Shape2dPolygonWithHoles& polygonWithHoles);
44 
47 
48 } // end of namespace segmentation
49 } // end of namespace shape
50 } // end of namespace ipsdk
51 
52 #endif // __IPSDKBASESHAPESEGMENTATION_SHAPE2DSEGMENTATIONUTILS_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
uint64_t ipUInt64
Base types definition.
Definition: BaseTypes.h:55
Closed polygon potentially associated to interior polygonal holes.
Definition: PolygonWithHoles2d.h:40
IPSDKBASESHAPESEGMENTATION_API ipsdk::geom::Shape2dPolygonWithHolesPtr createSeparation(const ipUInt64 startPointIndex, const ipUInt64 endPointIndex, ipsdk::geom::Shape2dPolygonWithHoles &polygonWithHoles)
function allowing to separate a polygon into two sub polygons
IPSDKBASESHAPESEGMENTATION_API void separateSelfIntersecting(ipsdk::geom::Shape2d &shape2d)
function allowing to separate self intersecting polygons associated to a shape
Definition of import/export macro for library.
Shape 2d associated to one or more closed polygon 2d.
Definition: Shape2d.h:35
Predefined types for shape 2d management.
#define IPSDKBASESHAPESEGMENTATION_API
Import/Export macro for library IPSDKBaseShapeSegmentation.
Definition: IPSDKBaseShapeSegmentationExports.h:25
boost::shared_ptr< Shape2dPolygonWithHoles > Shape2dPolygonWithHolesPtr
shared pointer to polygon with holes associated to shape
Definition: Shape2dTypes.h:69