| TerraLib 4.1

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

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Protected Member Functions | Protected Attributes | Friends
TePrecision Class Reference

Describes a class for supportin scale and representation dependency. More...

`#include <TePrecision.h>`

Inheritance diagram for TePrecision:

List of all members.

## Public Member Functions

| ~TePrecision ()
| Destructor.
void | setPrecision (double precision)
| Sets the precision value to be considered.
double | precision ()
| Returns the precision value in use.

## Protected Member Functions

| TePrecision ()
| Constructor.

## Protected Attributes

double | precision_
| Stores the precision.

## Friends

class | TeSingleton< TePrecision >

## Detailed Description

Describes a class for supportin scale and representation dependency.

The entire set of geometric algorithms make use of this class, an so it must be properly set. It will be used when dealling with approximate calculus

See also:
  TeSingleton

## Constructor & Destructor Documentation

TePrecision::~TePrecision | ( |  | ) | `[inline]`

Destructor.

TePrecision::TePrecision | ( |  | ) | `[inline, protected]`

Constructor.

## Member Function Documentation

double TePrecision::precision | ( |  | ) | `[inline]`

Returns the precision value in use.

void TePrecision::setPrecision | ( | double | precision | ) | `[inline]`

Sets the precision value to be considered.

Examples:
  spatialQuery.cpp, spatialQueryAndBuffer.cpp, and TePDIRegister_test.cpp.

## Friends And Related Function Documentation

friend class TeSingleton< TePrecision >`[friend]`

## Member Data Documentation

double TePrecision::precision_`[protected]`

Stores the precision.

The documentation for this class was generated from the following file:

- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/kernel/TePrecision.h

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines