KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Macros | Functions
polypath.cpp File Reference

implementation of class PolyPath More...

#include <l/l_sys_lib.h>
#include <l/l_sys_io.h>
#include <qd_cpp/polypath.h>
#include <algorithm>
#include <iterator>
#include <ostream>

Namespaces

 kjb
 Classes and functions for dealing with trajectory files.
 
 kjb::qd
 support for the path algorithm I call the quasi-Dijkstra method.
 

Macros

#define NO_DUPLICATES(a, b)
 

Functions

Vector2 kjb::qd::get_unit_vector_2x_angle (const Vector2 &v)
 double the angle relative to (1,0) and return a unit vector that way. More...
 
Vector2 kjb::qd::get_unit_vector_2x_angle_of_unit_vector (const Vector2 &)
 like compute_unit_vector_2x_angle but for unit-magnitude input. More...
 
bool kjb::qd::is_valid_as_polypath (const PixPath &, bool throw_failure=false)
 test whether a pixel path is convertible to PolyPath (maybe say why) More...
 

Detailed Description

implementation of class PolyPath

Author
Andrew Predoehl

Macro Definition Documentation

#define NO_DUPLICATES (   a,
 
)
Value:
do \
{ \
if ((a) == (b)) \
{ \
} \
} \
if(ss(2)==3) grayIm
#define KJB_THROW_2(ex, msg)
Definition: l_exception.h:48
while(1)
Definition: splitter.cc:797
Object thrown when an argument to a function is not acceptable.
Definition: l_exception.h:377