KJB
|
Contains definition for classes PixPath, PixPathAc, DoubleCircle. More...
#include <l_cpp/l_exception.h>
#include <m_cpp/m_vector_d.h>
#include <limits>
#include <string>
#include <sstream>
#include <cmath>
#include <algorithm>
Go to the source code of this file.
Classes | |
struct | kjb::qd::PixPoint |
Representation of an (x,y) pair of pixel coordinates. More... | |
struct | kjb::qd::PixPoint::Unused |
exception thrown if the PixPoint is used while uninitialized More... | |
struct | kjb::qd::PixPoint::Is_inbounds |
Predicate functor tests whether a PixPoint is in a bounding box. More... | |
Namespaces | |
kjb | |
Classes and functions for dealing with trajectory files. | |
kjb::qd | |
support for the path algorithm I call the quasi-Dijkstra method. | |
std | |
Functions | |
kjb::Vector2 | kjb::qd::to_vector2 (const PixPoint &p) |
convert the PixPoint to a floating point format More... | |
PixPoint | kjb::qd::reckless_round (const kjb::Vector2 &v) |
round to near integers, disregarding overrange values More... | |
PixPoint | kjb::qd::reckless_floor (const kjb::Vector2 &v) |
truncate towards negative infinity, disregarding overrange values More... | |
PixPoint | kjb::qd::reckless_ceil (const kjb::Vector2 &v) |
round the vector contents to integers, disregarding overrange values More... | |
PixPoint | kjb::qd::str_to_PixPoint (std::istream &iss, const std::string &sep) |
scan a string value into a PixPoint More... | |
PixPoint | kjb::qd::str_to_PixPoint (const std::string &spp, const std::string &sep=",") |
See str_to_PixPoint( std::istream&, const std::string& ). More... | |
template<> | |
void | std::swap (kjb::qd::PixPoint &p1, kjb::qd::PixPoint &p2) |
swap representations of two integer-valued XY pairs More... | |
Variables | |
const bool | kjb::qd::TEST_PIXPOINT_UNUSED = false |
extra test for unused PixPoint More... | |
Contains definition for classes PixPath, PixPathAc, DoubleCircle.