![]() |
Fréchet View
1.6.0
A Tool for Exploring Fréchet Distance Algorithms
|
describes l,h pointers. Both pointers are assumed to point into the same rectangle section (right-top OR bottom-left)
Definition at line 160 of file boundary.h.
#include <boundary.h>
Inherited by frechet::reach::BoundarySegment.
Public Member Functions | |
| PointerInterval () | |
| empty constructor; constructs an invalid interval, with both pointers being nullptr More... | |
| PointerInterval (Pointer a, Pointer b) | |
| default constructor More... | |
| operator bool () const | |
| true if the interal is valid, i.e. both pointers are More... | |
| bool | operator! () const |
| PointerInterval & | operator= (const Pointer &p) |
| assigment More... | |
| PointerInterval & | swap (bool doit=true) |
| conditional swap More... | |
| PointerInterval | swapped () const |
| bool | contains (Pointer p) const |
| containment test More... | |
| PointerInterval | normalized () const |
| assumes identical orientation !! More... | |
| PointerInterval | operator+ (const PointerInterval &that) const |
| merge operator More... | |
| bool | operator== (const PointerInterval &that) const |
| comparison operator More... | |
| void | clear () |
| clear both pointer (assgin nullptr) More... | |
Public Attributes | |
| Pointer | l |
| points to the lowest segment of the interval More... | |
| Pointer | h |
| points to the highest segment of the interval More... | |
| PointerInterval::PointerInterval | ( | ) |
empty constructor; constructs an invalid interval, with both pointers being nullptr
Definition at line 22 of file boundary.cpp.
default constructor
pointers are assumed in same direction
| a | lowest segment |
| b | highest segment |
Definition at line 25 of file boundary.cpp.
| void PointerInterval::clear | ( | ) |
clear both pointer (assgin nullptr)
Definition at line 255 of file boundary.cpp.
| bool PointerInterval::contains | ( | Pointer | p | ) | const |
containment test
| p | a pointer to a segment |
Definition at line 248 of file boundary.cpp.
| PointerInterval frechet::reach::PointerInterval::normalized | ( | ) | const |
assumes identical orientation !!
Definition at line 92 of file boundary.cpp.
| frechet::reach::PointerInterval::operator bool | ( | ) | const |
true if the interal is valid, i.e. both pointers are
Definition at line 143 of file boundary.cpp.
| bool PointerInterval::operator! | ( | ) | const |
Definition at line 30 of file boundary.cpp.
| PointerInterval frechet::reach::PointerInterval::operator+ | ( | const PointerInterval & | that | ) | const |
merge operator
assumes identical orientation !!
| that | interval to merge with |
Definition at line 105 of file boundary.cpp.
| PointerInterval & PointerInterval::operator= | ( | const Pointer & | p | ) |
assigment
| p | object to assign from |
Definition at line 34 of file boundary.cpp.
|
inline |
comparison operator
| that | interval to compare with |
Definition at line 214 of file boundary.h.
| PointerInterval & PointerInterval::swap | ( | bool | doit = true | ) |
conditional swap
| doit | if true, replace l and h pointers |
Definition at line 39 of file boundary.cpp.
| PointerInterval PointerInterval::swapped | ( | ) | const |
Definition at line 44 of file boundary.cpp.
| Pointer frechet::reach::PointerInterval::h |
points to the highest segment of the interval
Definition at line 162 of file boundary.h.
| Pointer frechet::reach::PointerInterval::l |
points to the lowest segment of the interval
Definition at line 161 of file boundary.h.