Definition at line 73 of file DBScanAlg.cxx.
AcceptEllipse::AcceptEllipse |
( |
const BoundingBox & |
b, |
|
|
double |
r1, |
|
|
double |
r2 |
|
) |
| |
|
inlineexplicit |
Definition at line 78 of file DBScanAlg.cxx.
double c[2]
center of the bounding box
const BoundingBox & m_bound
AcceptEllipse::AcceptEllipse |
( |
| ) |
|
|
inlineprivate |
Definition at line 114 of file DBScanAlg.cxx.
static const BoundingBox EmptyBoundingBox
double c[2]
center of the bounding box
const BoundingBox & m_bound
bool AcceptEllipse::operator() |
( |
const RTree::Node *const |
node | ) |
const |
|
inline |
Definition at line 88 of file DBScanAlg.cxx.
91 return m_bound.overlaps(node->bound);
const BoundingBox & m_bound
bool AcceptEllipse::operator() |
( |
const RTree::Leaf *const |
leaf | ) |
const |
|
inline |
Definition at line 94 of file DBScanAlg.cxx.
98 C[0] = (leaf->bound.edges[0].second + leaf->bound.edges[0].first) / 2.0;
99 C[1] = (leaf->bound.edges[1].second + leaf->bound.edges[1].first) / 2.0;
100 D[0] = (leaf->bound.edges[0].second - leaf->bound.edges[0].first) / 2.0;
101 D[1] = (leaf->bound.edges[1].second - leaf->bound.edges[1].first) / 2.0;
103 for (
int i = 0; i < 2; ++i) {
106 t += ((
c[i] - C[i]) * (
c[i] - C[i])) / ((
d[i] + D[i]) * (
d[i] + D[i]));
double c[2]
center of the bounding box
double AcceptEllipse::c[2] |
double AcceptEllipse::d[2] |
double AcceptEllipse::r[2] |
The documentation for this struct was generated from the following file: