TerraLib 4.1
TeArc Class Reference

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

#include <TeGeometry.h>

Inheritance diagram for TeArc:
TeVector TeGeometry

List of all members.

Public Member Functions

 TeArc ()
 Empty contructors.
 TeArc (TeNode &from, TeNode &to)
 Construtor.
 TeArc (int from, int to)
 Construtor.
TeNodefromNode ()
 Returns the starting node.
TeNodetoNode ()
 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:
fromthe starting node of an arc
tothe ending node of an arc
TeArc::TeArc ( int  from,
int  to 
) [inline]

Construtor.

Parameters:
fromthe geometrical identification of the starting node of an arc
tothe 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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines