QGIS API Documentation 4.1.0-Master (467af3bbe65)
Loading...
Searching...
No Matches
QgsGeometry::Error Class Reference

A geometry error. More...

#include <qgsgeometry.h>

Public Member Functions

 Error ()
 Error (const QString &m)
 Error (const QString &m, const QgsPointXY &p)
bool hasWhere () const
 true if the location available from
bool operator== (const QgsGeometry::Error &other) const
QString what () const
 A human readable error message containing details about the error.
QgsPointXY where () const
 The coordinates at which the error is located and should be visualized.

Detailed Description

A geometry error.

Definition at line 2932 of file qgsgeometry.h.

Constructor & Destructor Documentation

◆ Error() [1/3]

QgsGeometry::Error::Error ( )
inline

Definition at line 2935 of file qgsgeometry.h.

◆ Error() [2/3]

QgsGeometry::Error::Error ( const QString & m)
inlineexplicit

Definition at line 2939 of file qgsgeometry.h.

◆ Error() [3/3]

QgsGeometry::Error::Error ( const QString & m,
const QgsPointXY & p )
inline

Definition at line 2943 of file qgsgeometry.h.

Member Function Documentation

◆ hasWhere()

bool QgsGeometry::Error::hasWhere ( ) const

true if the location available from

See also
where is valid.

Definition at line 4798 of file qgsgeometry.cpp.

◆ operator==()

bool QgsGeometry::Error::operator== ( const QgsGeometry::Error & other) const
inline

Definition at line 2974 of file qgsgeometry.h.

◆ what()

QString QgsGeometry::Error::what ( ) const

A human readable error message containing details about the error.

Definition at line 4788 of file qgsgeometry.cpp.

◆ where()

QgsPointXY QgsGeometry::Error::where ( ) const

The coordinates at which the error is located and should be visualized.

Definition at line 4793 of file qgsgeometry.cpp.


The documentation for this class was generated from the following files: