Skip to content

Commit

Permalink
Merge pull request #1316 from goat-community/dev
Browse files Browse the repository at this point in the history
Coarser concavity to avoid weird shapes
  • Loading branch information
EPajares authored May 5, 2022
2 parents 7270495 + c43f98a commit 4123b6c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/api/src/exts/cpp/src/concaveman.h
Original file line number Diff line number Diff line change
Expand Up @@ -645,9 +645,9 @@ std::vector<std::array<T, 2>> concaveman(
// start with a convex hull of the points
const std::vector<int> &hull,
// a relative measure of concavity; higher value means simpler hull
T concavity = 2,
T concavity = 7,
// when a segment goes below this length threshold, it won't be drilled down further
T lengthThreshold = 0)
T lengthThreshold = 0.6)
{

typedef Node<T> node_type;
Expand Down Expand Up @@ -803,7 +803,7 @@ std::array<T, 2> findCandidate(
{

typedef std::array<T, 2> point_type;
//typedef CircularElement<Node<T>> circ_elem_type;
// typedef CircularElement<Node<T>> circ_elem_type;
typedef rtree<T, 2, MAX_CHILDREN, std::array<T, 2>> tree_type;
typedef const tree_type const_tree_type;
typedef std::reference_wrapper<const_tree_type> tree_ref_type;
Expand Down
Binary file modified app/api/src/exts/cpp/src/isochrone.cpython-39-x86_64-linux-gnu.so
Binary file not shown.

0 comments on commit 4123b6c

Please sign in to comment.