| TerraLib 4.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Examples

Functions
Special Geometry tests
Geometry algorithms

## Functions

template<class T1 , class T2 >
bool | TeWithinOrCoveredByOrEquals (const T1 &geom1, const T2 &geom2)
| Check if geom1 is WITHIN, COVERED BY or EQUAL to geom2.
template<>
TL_DLL bool | TeWithinOrCoveredByOrEquals (const TeBox &bx1, const TeBox &bx2)
| Check if box1 is WITHIN, COVERED BY or EQUAL to box2.
template<>
TL_DLL bool | TeWithinOrCoveredByOrEquals (const TeLine2D &line1, const TeLine2D &line2)
| Check if line1 is WITHIN, COVERED BY or EQUAL to line2.
template<>
TL_DLL bool | TeWithinOrCoveredByOrEquals (const TeLine2D &line1, const TePolygon &pol)
| Check if line1 is WITHIN or COVERED BY to pol.
template<>
TL_DLL bool | TeWithinOrCoveredByOrEquals (const TePolygon &pol1, const TePolygon &pol2)
| Check if pol1 is WITHIN, COVERED BY or EQUAL to pol2.

## Detailed Description

Geometry tests.

## Function Documentation

template<class T1 , class T2 >

bool TeWithinOrCoveredByOrEquals | ( | const T1 & | geom1,
|  | const T2 & | geom2
| ) |  |

Check if geom1 is WITHIN, COVERED BY or EQUAL to geom2.

template<>

TL_DLL bool TeWithinOrCoveredByOrEquals | ( | const TePolygon & | pol1,
|  | const TePolygon & | pol2
| ) |  |

Check if pol1 is WITHIN, COVERED BY or EQUAL to pol2.

template<>

TL_DLL bool TeWithinOrCoveredByOrEquals | ( | const TeLine2D & | line1,
|  | const TePolygon & | pol
| ) |  |

Check if line1 is WITHIN or COVERED BY to pol.

template<>

TL_DLL bool TeWithinOrCoveredByOrEquals | ( | const TeLine2D & | line1,
|  | const TeLine2D & | line2
| ) |  |

Check if line1 is WITHIN, COVERED BY or EQUAL to line2.

template<>

TL_DLL bool TeWithinOrCoveredByOrEquals | ( | const TeBox & | bx1,
|  | const TeBox & | bx2
| ) |  |

Check if box1 is WITHIN, COVERED BY or EQUAL to box2.

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines