TerraLib 4.1
TePoint Class Reference

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

#include <TeGeometry.h>

Inheritance diagram for TePoint:
TeGeomSingle< TeCoord2D > TeVector TeGeometry

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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines