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

Utility function for RTree objects management. More...

#include <IPSDKGeometry/IPSDKGeometryExports.h>
#include <IPSDKGeometry/Tools/RTreeTypes.h>
#include <vector>

Go to the source code of this file.

Namespaces

 ipsdk
 Main namespace for IPSDK library.
 
 ipsdk::geom
 Namespace aggregating geometrical routines and classes.
 

Functions

template<typename T >
IPSDKGEOMETRY_API boost::shared_ptr< RTree< Point2dData< T > > > ipsdk::geom::createPoint2dRTree (const std::vector< Point2dData< T > > &coll, const ipUInt32 startIdx=0)
 function allowing to create a point 2d based RTree object from point 2d collection
 
IPSDKGEOMETRY_API BBox2dRTreePtr ipsdk::geom::createBBox2dRTree (const std::vector< BoundingBox2d< Shape2dDataType > > &coll, const ipUInt32 startIdx=0)
 function allowing to create a bounding box based RTree object from bounding box collection
 
IPSDKGEOMETRY_API Seg2dRTreePtr ipsdk::geom::createSeg2dRTree (const Shape2d &shape2d, const ipBool bProcessHoles)
 function allowing to create a segment based RTree object from shape data
 
template<typename T >
IPSDKGEOMETRY_API boost::shared_ptr< RTree< Point3dData< T > > > ipsdk::geom::createPoint3dRTree (const std::vector< Point3dData< T > > &coll, const ipUInt32 startIdx=0)
 function allowing to create a point 3d based RTree object from point 3d collection
 
IPSDKGEOMETRY_API BBox3dRTreePtr ipsdk::geom::createBBox3dRTree (const std::vector< BoundingBox3d< Shape3dDataType > > &coll, const ipUInt32 startIdx=0)
 function allowing to create a bounding box based RTree object from bounding box collection
 
IPSDKGEOMETRY_API LTri3dRTreePtr ipsdk::geom::createLTri3dRTree (const Shape3d &shape3d, const ipBool bProcessHoles)
 function allowing to create a lightweight triangle based RTree object from shape data
 
IPSDKGEOMETRY_API ipReal64 ipsdk::geom::distance (const Seg2dRTree &seg2dRTree1, const Seg2dRTree &seg2dRTree2)
 function allowing to compute distance between two segment based RTree objects
 
IPSDKGEOMETRY_API ipReal64 ipsdk::geom::distance (const LTri3dRTree &lTri3dRTree1, const LTri3dRTree &lTri3dRTree2)
 function allowing to compute distance between two lightweight triangle based RTree objects
 
IPSDKGEOMETRY_API ipReal64 ipsdk::geom::contactLength (const Seg2dRTree &seg2dRTree1, const Seg2dRTree &seg2dRTree2, const ipReal64 contactDist, const eSegmentContactPolicy &contactPolicy, const ipReal32 segmentSubSamplingStep=0)
 function allowing to compute length of contact between a segment based RTree object and an other one More...
 
IPSDKGEOMETRY_API ipReal64 ipsdk::geom::contactSurface (const LTri3dRTree &lTri3dRTree1, const LTri3dRTree &lTri3dRTree2, const ipReal64 contactDist)
 function allowing to compute surface of contact between a lightweight triangle based RTree object and an other one More...
 

Detailed Description

Utility function for RTree objects management.

Author
E.Noirfalise
Date
2017/07/03