Skip to content

Commit

Permalink
not subdivide trivial chord
Browse files Browse the repository at this point in the history
  • Loading branch information
aboudev committed Jul 4, 2017
1 parent be19c33 commit 9bb62fc
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -903,7 +903,8 @@ template <typename Polyhedron,
const FacetSegmentMap &seg_pmap,
const FT thre = FT(0.2)) {
const std::size_t chord_size = std::distance(chord_begin, chord_end);
if (chord_size < 2)
// do not subdivide trivial chord
if (chord_size < 4)
return 1;

halfedge_descriptor he_start = *chord_begin;
Expand Down

0 comments on commit 9bb62fc

Please sign in to comment.