CDT  1.4.1
C++ library for constrained Delaunay triangulation
Loading...
Searching...
No Matches
CDT::Error Class Reference

Base class for errors. More...

#include <Triangulation.h>

Inheritance diagram for CDT::Error:
Collaboration diagram for CDT::Error:

Public Member Functions

 Error (const std::string &description, const SourceLocation &srcLoc)
 Constructor.
 
const std::string & description () const
 Get error description.
 
const SourceLocationsourceLocation () const
 Get source location from where the error was thrown.
 

Detailed Description

Base class for errors.

Contains error description and source location: file, function, line

Definition at line 138 of file Triangulation.h.

Constructor & Destructor Documentation

◆ Error()

CDT::Error::Error ( const std::string & description,
const SourceLocation & srcLoc )
inline

Constructor.

Definition at line 142 of file Triangulation.h.

Member Function Documentation

◆ description()

const std::string & CDT::Error::description ( ) const
inline

Get error description.

Definition at line 150 of file Triangulation.h.

◆ sourceLocation()

const SourceLocation & CDT::Error::sourceLocation ( ) const
inline

Get source location from where the error was thrown.

Definition at line 155 of file Triangulation.h.


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