47 if((t & 0xF00) == 0x300)
52 else if((t & 0xF00) == 0x700)
57 else if((t & 0xF00) == 0xB00)
85 return new Line(*
this);
virtual const double & getM() const
It returns the Point m-coordinate value, if it has one or DoubleNotANumber otherwise.
GeomType
Each enumerated type is compatible with a Well-known Binary (WKB) type code.
A Line is LineString with 2 points.
A Line is LineString with 2 points.
A point with x and y coordinate values.
Line & operator=(const Line &rhs)
Assignment operator.
virtual const double & getZ() const
It returns the Point z-coordinate value, if it has one or DoubleNotANumber otherwise.
double * m_zA
A pointer to z values.
LineString is a curve with linear interpolation between points.
const double & getY() const
It returns the Point y-coordinate value.
A point with x and y coordinate values.
An Envelope defines a 2D rectangular region.
~Line()
Virtual destructor.
te::dt::AbstractData * clone() const
It clones the line.
A base class for values that can be retrieved from the data access module.
Coord2D * m_coords
A pointer to x, y values.
virtual LineString & operator=(const LineString &rhs)
Assignment operator.
Line(GeomType t, int srid=0, Envelope *mbr=0)
It initializes the line with the specified spatial reference system id and envelope.
const double & getX() const
It returns the Point x-coordinate value.
double * m_mA
A pointer to m values.