TerraLib 4.1
Intersection Operators

Functions

TL_DLL bool TeIntersection (const TeBox &bx1, const TeBox &bx2, TeBox &bout)
 Performs the intersection between box b1 and b2, returning the resulting box bout.
TL_DLL TeCoordPairVect TeGetIntersections (const TePolygon &poly, const double &y)
 Returns the segments that intersept the poly polygon in the line y.

Detailed Description

Functions that calculate the intersection among objects or do intersection test.


Function Documentation

TL_DLL TeCoordPairVect TeGetIntersections ( const TePolygon poly,
const double &  y 
)

Returns the segments that intersept the poly polygon in the line y.

Parameters:
polyA polygon.
yThe ordinate that cuts the polygons edges.
TL_DLL bool TeIntersection ( const TeBox bx1,
const TeBox bx2,
TeBox bout 
)

Performs the intersection between box b1 and b2, returning the resulting box bout.

Parameters:
bx1The first box to do the intersection.
bx2The second box to do the intersection.
boutThe box formed by the intersection of bx1 and bx2.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines