|
DGtal 2.0.0
|
#include <DGtal/geometry/curves/FrechetShortcut.h>
Public Member Functions | |
| Cone () | |
| Cone (double a0, double a1) | |
| Cone (double x, double y, double x0, double y0, double x1, double y1) | |
| Cone (const Cone &c)=default | |
| Cone & | operator= (const Cone &c) |
| bool | isEmpty () const |
| void | intersectCones (Cone c) |
| Cone | intersectConesSimple (Cone c) |
| Cone | symmetricalCone () |
| void | selfDisplay (std::ostream &out) const |
Data Fields | |
| double | myMin |
| double | myMax |
| bool | myInf |
Class Cone: data structures and methods to handle the cone update used to test if the width of the shortcut is lower than the error.
Definition at line 267 of file FrechetShortcut.h.
| DGtal::FrechetShortcut< TIterator, TInteger >::Cone::Cone | ( | ) |
Referenced by Cone(), intersectCones(), intersectConesSimple(), operator=(), and symmetricalCone().
| DGtal::FrechetShortcut< TIterator, TInteger >::Cone::Cone | ( | double | a0, |
| double | a1 ) |
Constructor from two angles
| a0 | an angle |
| a1 | a second angle |
| DGtal::FrechetShortcut< TIterator, TInteger >::Cone::Cone | ( | double | x, |
| double | y, | ||
| double | x0, | ||
| double | y0, | ||
| double | x1, | ||
| double | y1 ) |
Constructor from three points x, x0, x1. The cone is defined by the two lines (xx0) and (xx1)
| x | x |
| y | y |
| x0 | x0 |
| y0 | y0 |
| x1 | x1 |
| y1 | y1 |
|
default |
| void DGtal::FrechetShortcut< TIterator, TInteger >::Cone::intersectCones | ( | Cone | c | ) |
| Cone DGtal::FrechetShortcut< TIterator, TInteger >::Cone::intersectConesSimple | ( | Cone | c | ) |
Intersect two half cones
| c | a cone to intersection with 'this' |
References Cone().
| bool DGtal::FrechetShortcut< TIterator, TInteger >::Cone::isEmpty | ( | ) | const |
Test if the cone is empty
| Cone & DGtal::FrechetShortcut< TIterator, TInteger >::Cone::operator= | ( | const Cone & | c | ) |
| void DGtal::FrechetShortcut< TIterator, TInteger >::Cone::selfDisplay | ( | std::ostream & | out | ) | const |
Writes/Displays the object on an output stream.
| out | the output stream where the object is written. |
| Cone DGtal::FrechetShortcut< TIterator, TInteger >::Cone::symmetricalCone | ( | ) |
| bool DGtal::FrechetShortcut< TIterator, TInteger >::Cone::myInf |
Boolean: true if the cone is infinite
Definition at line 283 of file FrechetShortcut.h.
| double DGtal::FrechetShortcut< TIterator, TInteger >::Cone::myMax |
Angle max of the cone
Definition at line 278 of file FrechetShortcut.h.
| double DGtal::FrechetShortcut< TIterator, TInteger >::Cone::myMin |
Angle min of the cone
Definition at line 273 of file FrechetShortcut.h.