IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Namespaces | Functions
PolygonSegmentationUtils.h File Reference

Utility functions for polygon segmentation management. More...

#include <IPSDKBaseShapeSegmentation/IPSDKBaseShapeSegmentationExports.h>
#include <IPSDKBaseShapeSegmentation/Segmentation/2d/PolygonSegmentationTypes.h>

Go to the source code of this file.

Namespaces

 ipsdk
 Main namespace for IPSDK library.
 
 ipsdk::shape::segmentation
 Namespace aggregating basic shape segmentation components.
 

Functions

IPSDKBASESHAPESEGMENTATION_API bool ipsdk::shape::segmentation::detectSelfIntersectingPoint (const ipsdk::geom::Shape2dPolygon &polygon, ipUInt32 &firstPointIndex, ipUInt32 &secondPointIndex)
 function allowing to detect first self intersecting points into a polygon More...
 
IPSDKBASESHAPESEGMENTATION_API void ipsdk::shape::segmentation::extractLocalPointInfo (const ipsdk::geom::Shape2dPolygonWithHolesPtr &pPolygon, PolygonPointInfoMap &polygonPointInfoMap)
 function allowing to extract local informations around polygon points More...
 
IPSDKBASESHAPESEGMENTATION_API void ipsdk::shape::segmentation::normalize (ipsdk::geom::Shape2dPolygonWithHoles &polygonWithHoles)
 function allowing to normalize a polygon to ensure that : More...
 
IPSDKBASESHAPESEGMENTATION_API bool ipsdk::shape::segmentation::hasAlignedPoints (const ipsdk::geom::Shape2dPolygon &polygon)
 function allowing to check whether a polygon contains aligned points
 
IPSDKBASESHAPESEGMENTATION_API bool ipsdk::shape::segmentation::hasAlignedPoints (const ipsdk::geom::Shape2dPolygonWithHoles &polygonWithHoles)
 function allowing to check whether a polygon contains aligned points
 
IPSDKBASESHAPESEGMENTATION_API void ipsdk::shape::segmentation::removeAlignedPoints (ipsdk::geom::Shape2dPolygon &polygon)
 function allowing to remove consecutive aligned points from polygon
 
IPSDKBASESHAPESEGMENTATION_API void ipsdk::shape::segmentation::removeAlignedPoints (ipsdk::geom::Shape2dPolygonWithHoles &polygonWithHoles)
 function allowing to remove consecutive aligned points from polygon
 

Detailed Description

Utility functions for polygon segmentation management.

Author
E.Noirfalise
Date
2016/08/16