TerraLib 4.1
TeLine2D Class Reference

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

#include <TeGeometry.h>

Inheritance diagram for TeLine2D:
TeGeomComposite< TeCoord2D > TeVector TeGeometry TeContourLine TeLinearRing

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