| TerraLib 4.1

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

- File List
- File Members

Defines | Variables
E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/kernel/TeDefines.h File Reference

Provides a set of general definitions used by Terralib. More...

`#include <string>`
`#include "TeWindowsPlatformDefines.h"`
`#include <float.h>`

Go to the source code of this file.

## Defines

#define | TePLATFORMCODE_MSWINDOWS 1
| Microsoft Windows platform code.
#define | TePLATFORMCODE_LINUX 2
| Generic Linux platform code.
#define | TePLATFORMCODE_SOLARIS 3
| Solaris platform code.
#define | TePLATFORMCODE_APPLE 4
| Apple platform code.
#define | TePLATFORMCODE_AIX 5
| IBM AIX platform code.
#define | TeCOMPILERCODE_VCPLUSPLUS 1
| MS Visual Studio c++ code.
#define | TeCOMPILERCODE_BCPLUSPLUS 2
| Borland c++ code.
#define | TeCOMPILERCODE_GNUC 3
| GNU Compiler code.
#define | TeCOMPILERCODE_CODEWARRIOR 4
| CodeWarrior code.
#define | TeCOMPILERCODE_SUNFORTE7 5
| Sun Forte code.
#define | TeCOMPILERCODE_XLC 6
| AIX xlC code.
#define | MAX(a, b) ( (a>b) ? a : b )
| Macro that returns max between two values.
#define | MIN(a, b) ( (a<b) ? a : b )
| Macro that returns min between two values.
#define | ABS(x) ( ((x) >= 0) ? (x) : -(x) )
| Macro that returns the absolute value.
#define | TeDEFAULT 0
| default selection
#define | TePOINTED 1
| object pointed
#define | TeQUERIED 2
| object queried
#define | TePOINTED_QUERIED 3
| object pointed and queried
#define | TeNOTURN 0
| Unknown orientation.
#define | TeCOLLINEAR 0
| Collinear.
#define | TeCLOCKWISE -1
| Clockwise orientation.
#define | TeCOUNTERCLOCKWISE 1
| Counter-Clockwise orientation.
#define | TeUNKNOWNPOSITION 0
| unknown position
#define | TeINSIDE 1
| inside position
#define | TeOUTSIDE 2
| outside position
#define | TeBOUNDARY 4
| on the boundary position
#define | TeINTERIORINTERIOR 8
| interior and interior intersection
#define | TeINTERIORBOUNDARY 16
| interior and boundary intersection
#define | TeINTERIOREXTERIOR 32
| interior and exterior intersection
#define | TeBOUNDARYINTERIOR 64
| boundary and interior intersection
#define | TeBOUNDARYBOUNDARY 128
| boundary and boundary intersection
#define | TeBOUNDARYEXTERIOR 256
| boundary and exterior intersection
#define | TeEXTERIORINTERIOR 512
| exterior and interior intersection
#define | TeEXTERIORBOUNDARY 1024
| exterior and boundary intersection
#define | TeEXTERIOREXTERIOR 2048
| exterior and exterior intersection
#define | TeDONT_INTERSECT 0
| segments don't intersects
#define | TeDO_INTERSECT 1
| segments intersects
#define | TeAT_ENDPOINT 4
| segments intersects at end points
#define | TeDIFFERENCE 1
| Difference operation.
#define | TeUNION 2
| Union operation.
#define | TeINTERSECTION 4
| Intersection operation.
#define | TL_DLL

## Variables

const int | TeNAME_LENGTH = 2000
| A default name length.
const double | TeMAXFLOAT = 3.4E37
| Maximum float value.
const double | TeMINFLOAT = 3.4E-37
| Minimum float value.
const double | TePI = 3.14159265358979323846
| The ratio of the circumference to the diameter of a circle.
const double | TeCDR = 0.01745329251994329576
| Conversion factor: degrees to radians.
const double | TeCRD = 57.29577951308232087679
| Conversion factor: radians to degrees.
const double | TeEARTHRADIUS = 6378160.
| Int. Astronomical Union - 1965.
const std::string | TeDBVERSION = "4.1.2"
| Current terralib database version.

## Detailed Description

Provides a set of general definitions used by Terralib.

## Variable Documentation

const std::string TeDBVERSION = "4.1.2"

Current terralib database version.

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines