first implementation, but for overhangs the code is not run for some reason
This commit is contained in:
parent
11a7eb86fc
commit
38a287fec4
5 changed files with 149 additions and 4 deletions
|
@ -137,6 +137,13 @@ public:
|
|||
tree = AABBTreeLines::build_aabb_tree_over_indexed_lines(this->lines);
|
||||
}
|
||||
|
||||
explicit LinesDistancer(std::vector<LineType> &&lines) : lines(lines)
|
||||
{
|
||||
tree = AABBTreeLines::build_aabb_tree_over_indexed_lines(this->lines);
|
||||
}
|
||||
|
||||
LinesDistancer() = default;
|
||||
|
||||
// negative sign means inside
|
||||
std::tuple<Floating, size_t, Vec<2, Floating>> signed_distance_from_lines_extra(const Vec<2, Scalar> &point) const
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue