TerraLib 4.1
Disjoint test

Functions

template<class T1 , class T2 >
bool TeDisjoint (const T1 &o1, const T2 &o2)
TL_DLL bool TeDisjoint (const TeCoord2D &c1, const TeCoord2D &c2)
Check if coordinate cl and coordinate c2 are disjoint.
TL_DLL bool TeDisjoint (const TeCoord2D &c, const TeBox &b)
Check if coordinate and box are disjoint.
TL_DLL bool TeDisjoint (const TeBox &bx1, const TeBox &bx2)
Check if box 1 and box 2 are disjoint.
TL_DLL bool TeDisjoint (const TeCoord2D &c, const TeLine2D &l)
Check if coordinate and line are disjoint.
TL_DLL bool TeDisjoint (const TeCoord2D &c, const TePolygon &pol)
Check if coordinate and polygon are disjoint.
TL_DLL bool TeDisjoint (const TePoint &p1, const TePoint &p2)
Check if point l and point 2 are disjoint.
TL_DLL bool TeDisjoint (const TePoint &p, const TeLine2D &l)
Check if point and object are disjoint.
TL_DLL bool TeDisjoint (const TePoint &p, const TePolygon &pol)
Check if point and object are disjoint.
TL_DLL bool TeDisjoint (const TeLine2D &redLine, const TeLine2D &blueLine)
Check if lines are disjoint.
TL_DLL bool TeDisjoint (const TeLine2D &l, const TePolygon &pol)
Check if line and polygon are disjoint.
TL_DLL bool TeDisjoint (const TePolygon &redPol, const TePolygon &bluePol)
Check if polygons are disjoint.
TL_DLL bool TeDisjoint (const TeCell &cell1, const TeCell &cell2)
Check if cell 1 and cell 2 are disjoint.
TL_DLL bool TeDisjoint (const TeCell &cell, const TeLine2D &line)
Check if cell and line are disjoint.
TL_DLL bool TeDisjoint (const TeCell &cell, const TePolygon &pol)
Check if cell and polygon are disjoint.
TL_DLL bool TeDisjoint (const TeCell &cell, const TePoint &point)
Check if cell and point are disjoint.

Detailed Description

Check if two objects are disjoint.

``` Applies to all geometries.
TeDisjoint(x, y) => (x inter y = false)
(I(x) inter I(y) = false) ^ (I(x) inter B(y) = false) ^ (B(x) inter I(y) = false) ^ (B(x) inter B(y) = false)
```

Function Documentation

template<class T1 , class T2 >
 bool TeDisjoint ( const T1 & o1, const T2 & o2 ) ` [inline]`
 TL_DLL bool TeDisjoint ( const TeCell & cell, const TePoint & point )

Check if cell and point are disjoint.

 TL_DLL bool TeDisjoint ( const TeCell & cell, const TePolygon & pol )

Check if cell and polygon are disjoint.

 TL_DLL bool TeDisjoint ( const TeCell & cell, const TeLine2D & line )

Check if cell and line are disjoint.

 TL_DLL bool TeDisjoint ( const TeCell & cell1, const TeCell & cell2 )

Check if cell 1 and cell 2 are disjoint.

 TL_DLL bool TeDisjoint ( const TePolygon & redPol, const TePolygon & bluePol )

Check if polygons are disjoint.

 TL_DLL bool TeDisjoint ( const TeLine2D & l, const TePolygon & pol )

Check if line and polygon are disjoint.

 TL_DLL bool TeDisjoint ( const TeLine2D & redLine, const TeLine2D & blueLine )

Check if lines are disjoint.

 TL_DLL bool TeDisjoint ( const TePoint & p, const TePolygon & pol )

Check if point and object are disjoint.

 TL_DLL bool TeDisjoint ( const TePoint & p, const TeLine2D & l )

Check if point and object are disjoint.

 TL_DLL bool TeDisjoint ( const TePoint & p1, const TePoint & p2 )

Check if point l and point 2 are disjoint.

 TL_DLL bool TeDisjoint ( const TeCoord2D & c, const TePolygon & pol )

Check if coordinate and polygon are disjoint.

 TL_DLL bool TeDisjoint ( const TeCoord2D & c, const TeLine2D & l )

Check if coordinate and line are disjoint.

 TL_DLL bool TeDisjoint ( const TeBox & bx1, const TeBox & bx2 )

Check if box 1 and box 2 are disjoint.

 TL_DLL bool TeDisjoint ( const TeCoord2D & c, const TeBox & b )

Check if coordinate and box are disjoint.

 TL_DLL bool TeDisjoint ( const TeCoord2D & c1, const TeCoord2D & c2 )

Check if coordinate cl and coordinate c2 are disjoint.