| TerraLib 4.1

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

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

Public Member Functions
TeArc Class Reference

TeArc : Provides support for a 2D arc. More...

`#include <TeGeometry.h>`

Inheritance diagram for TeArc:

List of all members.

## Public Member Functions

| TeArc ()
| Empty contructors.
| TeArc (TeNode &from, TeNode &to)
| Construtor.
| TeArc (int from, int to)
| Construtor.
TeNode & | fromNode ()
| Returns the starting node.
TeNode & | toNode ()
| Returns the ending node.
int | fromId () const
| Returns the geometrical identification of the starting node.
void | fromId (int i)
| Sets the geometrical identification of the starting node.
int | toId () const
| Returns the geometrical identification of the ending node.
void | toId (int i)
| Sets the geometrical identification of the ending node.
void | setNodes (TeNode &from, TeNode &to)
| Sets the starting and ending node.
TeGeomRep | elemType () const
| Returns the basic geometry in a set of geometries structure.
bool | operator== (const TeArc &other) const
| Returns TRUE if a TeArc is equal to other.

## Detailed Description

TeArc : Provides support for a 2D arc.

## Constructor & Destructor Documentation

TeArc::TeArc | ( |  | ) | `[inline]`

Empty contructors.

TeArc::TeArc | ( | TeNode & | from,
|  | TeNode & | to
| ) |  | `[inline]`

Construtor.

Parameters:

  from | the starting node of an arc
  to | the ending node of an arc

TeArc::TeArc | ( | int | from,
|  | int | to
| ) |  | `[inline]`

Construtor.

Parameters:

  from | the geometrical identification of the starting node of an arc
  to | the geometrical identification of the ending node of an arc

## Member Function Documentation

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

Returns the basic geometry in a set of geometries structure.

Reimplemented from TeGeometry.

int TeArc::fromId | ( |  | ) | const`[inline]`

Returns the geometrical identification of the starting node.

void TeArc::fromId | ( | int | i | ) | `[inline]`

Sets the geometrical identification of the starting node.

TeNode& TeArc::fromNode | ( |  | ) | `[inline]`

Returns the starting node.

bool TeArc::operator== | ( | const TeArc & | other | ) | const`[inline]`

Returns TRUE if a TeArc is equal to other.

void TeArc::setNodes | ( | TeNode & | from,
|  | TeNode & | to
| ) |  | `[inline]`

Sets the starting and ending node.

void TeArc::toId | ( | int | i | ) | `[inline]`

Sets the geometrical identification of the ending node.

int TeArc::toId | ( |  | ) | const`[inline]`

Returns the geometrical identification of the ending node.

TeNode& TeArc::toNode | ( |  | ) | `[inline]`

Returns the ending node.

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