26 #ifndef __TERRALIB_GEOMETRY_INTERNAL_LINE_H 
   27 #define __TERRALIB_GEOMETRY_INTERNAL_LINE_H 
  159     void setCoord(
int index, 
double x, 
double y, 
double z = 0., 
double m = 0.);
 
#define TE_DEFINE_VISITABLE
 
LineString is a curve with linear interpolation between points.
 
A base class for values that can be retrieved from the data access module.
 
An Envelope defines a 2D rectangular region.
 
virtual Geometry * intersection(const Geometry *const rhs) const _NOEXCEPT_OP(false)
It returns a geometric object that represents the point set intersection with another geometry.
 
virtual double distance(const Geometry *const rhs) const _NOEXCEPT_OP(false)
It returns the shortest distance between any two points in the two geometry objects.
 
LineString is a curve with linear interpolation between points.
 
A Line is LineString with 2 points.
 
void setCoord(int index, double x, double y, double z=0., double m=0.)
 
te::dt::AbstractData * clone() const
It clones the line.
 
Line(GeomType t, int srid=0, Envelope *mbr=0)
It initializes the line with the specified spatial reference system id and envelope.
 
Line(const Point &first, const Point &second, GeomType t, int srid=0, Envelope *mbr=0)
It initializes the linestring with the specified spatial reference system id and envelope.
 
double distance(te::gm::Point p)
 
Line(const Line &rhs)
Copy constructor.
 
Line & operator=(const Line &rhs)
Assignment operator.
 
bool intersection(const Line &line, Point &coord) const
 
~Line()
Virtual destructor.
 
A point with x and y coordinate values.
 
GeomType
Each enumerated type is compatible with a Well-known Binary (WKB) type code.
 
#define TEGEOMEXPORT
You can use this macro in order to export/import classes and functions from this module.