Spatial C++ Library
Generic Multi-Dimensional Containers and Spatial Operations
spatial::invalid_distance Struct Reference

Thrown to report that an negative distance has been passed as a parameter while distances are expected to be positive. More...

#include <exception.hpp>

Inherits std::logic_error.

Public Member Functions

 invalid_distance (const std::string &arg)
 

Detailed Description

Thrown to report that an negative distance has been passed as a parameter while distances are expected to be positive.

See also
except::check_addition()
except::check_multiplication()

Definition at line 110 of file exception.hpp.

Constructor & Destructor Documentation

spatial::invalid_distance::invalid_distance ( const std::string &  arg)
explicit

Definition at line 112 of file exception.hpp.


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