| TerraLib 4.1

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

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

Public Member Functions
TePoint Class Reference

TePoint: A class for handling 2D Points. More...

`#include <TeGeometry.h>`

Inheritance diagram for TePoint:

List of all members.

## Public Member Functions

| TePoint (const double &x=0., const double &y=0.)
| Default constructor.
| TePoint (const TeCoord2D &c)
| Copy constructor.
TeGeomRep | elemType () const
| Returns the basic geometry in a set of geometries structure.
string | objectId () const
| Returns the identification of the object associated to this geometry.
void | objectId (const string &id)
| Sets the identification of the object associated to this geometry.

## Detailed Description

TePoint: A class for handling 2D Points.

Examples:

  createLayer.cpp.

## Constructor & Destructor Documentation

TePoint::TePoint | ( | const double & | x = `0.`,
|  | const double & | y = `0.`
| ) |  | `[inline]`

Default constructor.

TePoint::TePoint | ( | const TeCoord2D & | c | ) | `[inline]`

Copy constructor.

## Member Function Documentation

TeGeomRep TePoint::elemType | ( |  | ) | const`[inline, virtual]`

Returns the basic geometry in a set of geometries structure.

Reimplemented from TeGeometry.

void TePoint::objectId | ( | const string & | id | ) | `[inline, virtual]`

Sets the identification of the object associated to this geometry.

Reimplemented from TeGeometry.

string TePoint::objectId | ( |  | ) | const`[inline, virtual]`

Returns the identification of the object associated to this geometry.

Reimplemented from TeGeometry.

Examples:
  createLayer.cpp.

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

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

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines