TeINTERSECTOR2 Namespace Reference


Data Structures

struct  TeBoundaryIP
 This struct is used to represent a point intersection between two segments on boundary of a TePolygon or TeLine2D. More...
struct  TeSegIdInPolygonSet
 This struct represents an index to the right place of a segment in a TeLineSet, TeLine2D, TePolygon or TePolygonSet. More...

Typedefs

typedef pair
< TeSegIdInPolygonSet,
TeSegIdInPolygonSet
TePairSegIdInPolygonSet
 This pair is used to index two segments that intersects.
typedef
TeSAM::TeRTree
< TeSegIdInPolygonSet, 8 > 
TeSegmentRTree
 This is the type used to index the segments in the boundary of a TeLine2D, TeLineSet, TePolygon or TePolygonSet.
typedef vector
< TeBoundaryIP
TeVectorBoundaryIP
 This is the type of intersection point list.

Functions

short TeCCW (const TeCoord2D &c1, const TeCoord2D &c2, const TeCoord2D &c3, bool &between)
void TeIndexPolygonSet (const TePolygonSet &polygons, TeSegmentRTree &tree)
bool TeIntersection (const TePolygonSet &polygons, TeSegmentRTree &tree, TeVectorBoundaryIP &report)
bool TeIntersection (const TeLineSet &redLines, const TePolygonSet &bluePolygons, TeSegmentRTree &blueTree, TeINTERSECTOR2::TeVectorBoundaryIP &report)
bool TeIntersection (const TePolygonSet &redPolygons, TeSegmentRTree &redTree, const TePolygonSet &bluePolygons, TeINTERSECTOR2::TeVectorBoundaryIP &report)
bool TeIntersection (const TeCoord2D &a, const TeCoord2D &b, const TeCoord2D &c, const TeCoord2D &d, TeBoundaryIP &ips, TeSegmentIntersectionType &intersectionType)
bool TeIntersects (const TeLine2D &redLine, const TeLine2D &blueLine)
bool TeIntersects (const TeCoord2D &a, const TeCoord2D &b, const TeCoord2D &c, const TeCoord2D &d, TeSegmentIntersectionType &intersectionType)
bool TeIsSimple (const TePolygonSet &polygons, vector< TePairSegIdInPolygonSet > &selfIntersectionList)
bool TeSafeIntersections (const TePolygonSet &redPols, const TePolygonSet &bluePols, TeVectorBoundaryIP &report)
bool TeSafeIntersections (const TeLine2D &redLine, const TeLine2D &blueLine, TeVectorBoundaryIP &report, const unsigned int &redObjId=0, const unsigned int &blueObjId=0)


Generated on Sun Jul 29 04:12:56 2012 for TerraLib - Development Source by  doxygen 1.5.3