QGIS API Documentation  3.6.0-Noosa (5873452)
Public Member Functions | List of all members
QgsGeometry::Error Class Reference

#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. More...
 
QString what () const
 A human readable error message containing details about the error. More...
 
QgsPointXY where () const
 The coordinates at which the error is located and should be visualized. More...
 

Detailed Description

Definition at line 1805 of file qgsgeometry.h.

Constructor & Destructor Documentation

◆ Error() [1/3]

QgsGeometry::Error::Error ( )
inline

Definition at line 1808 of file qgsgeometry.h.

◆ Error() [2/3]

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

Definition at line 1812 of file qgsgeometry.h.

◆ Error() [3/3]

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

Definition at line 1816 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 3407 of file qgsgeometry.cpp.

◆ what()

QString QgsGeometry::Error::what ( ) const

A human readable error message containing details about the error.

Definition at line 3397 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 3402 of file qgsgeometry.cpp.


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