| 139 | |
| 140 | |
| 141 | bool Foam::treeDataEdge::overlaps |
| 142 | ( |
| 143 | const label index, |
| 144 | const treeBoundBox& cubeBb |
| 145 | ) const |
| 146 | { |
| 147 | const edge& e = edges_[edgeLabels_[index]]; |
| 148 | |
| 149 | const point& start = points_[e.start()]; |
| 150 | const point& end = points_[e.end()]; |
| 151 | |
| 152 | point intersect; |
| 153 | |
| 154 | return cubeBb.intersects(start, end, intersect); |
| 155 | } |
| 156 | |
| 157 | |
| 158 | bool Foam::treeDataEdge::overlaps |
no test coverage detected