41 QgsVector operator*(
double scalar )
const;
42 QgsVector operator/(
double scalar )
const;
44 double length()
const;
52 double angle(
void )
const;
101 void set(
double x,
double y )
124 QString toString()
const;
127 QString toString(
int thePrecision )
const;
138 QString toDegreesMinutesSeconds(
int thePrecision,
const bool useSuffix =
true,
const bool padded =
false )
const;
149 QString toDegreesMinutes(
int thePrecision,
const bool useSuffix =
true,
const bool padded =
false )
const;
156 QString wellKnownText()
const;
159 double sqrDist(
double x,
double y )
const;
162 double sqrDist(
const QgsPoint& other )
const;
168 double azimuth(
const QgsPoint& other );
177 void multiply(
const double& scalar );
209 if (( p1.
x() == p2.
x() ) && ( p1.
y() == p2.
y() ) )
218 os << p.
toString().toLocal8Bit().data();
225 uint h1 =
qHash(( quint64 )p.m_x );
226 uint h2 =
qHash(( quint64 )p.m_y );
227 hash = h1 ^( h2 << 1 );