| TerraLib 4.1

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

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

Public Member Functions
TeLine2D Class Reference

TeLine2D: Supports a simple 2D line, composed of 2D xy points. More...

`#include <TeGeometry.h>`

Inheritance diagram for TeLine2D:

List of all members.

## Public Member Functions

bool | isRing () const
| Check if a line2D is a closed ring.
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.
TeGeomRep | elemType () const
| Returns the basic geometry in a set of geometries structure.

## Detailed Description

TeLine2D: Supports a simple 2D line, composed of 2D xy points.

See also:
  TeGeometry TeLinearRing

Examples:

  createLayer.cpp, and TePDIUtils_test.cpp.

## Member Function Documentation

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

Returns the basic geometry in a set of geometries structure.

Reimplemented from TeGeometry.

bool TeLine2D::isRing | ( |  | ) | const`[virtual]`

Check if a line2D is a closed ring.

Reimplemented from TeGeometry.

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

Sets the identification of the object associated to this geometry.

Reimplemented from TeGeomComposite< TeCoord2D >.

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

Returns the identification of the object associated to this geometry.

Reimplemented from TeGeomComposite< TeCoord2D >.

Examples:
  createLayer.cpp.

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

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

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines