Skip to content

Commit

Permalink
Apply 2 suggestion(s) to 1 file(s)
Browse files Browse the repository at this point in the history
  • Loading branch information
delhomer authored and lbartoletti committed Oct 10, 2023
1 parent cf81590 commit 165408e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/algorithm/visibility.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ visibility(const Geometry &polygon, const Geometry &point, NoValidityCheck)
// Create Triangular Expansion Visibility object.
TEV tev(arr);

// If the point is within a face, we can compute the visbility that way
// If the point is within a face, we can compute the visibility that way
if (face != nullptr) {
fh = tev.compute_visibility(queryPoint, *face, output_arr);
} else {
Expand Down Expand Up @@ -161,7 +161,7 @@ visibility(const Geometry &polygon, const Geometry &pointA,
hit != pwh.holes_end(); ++hit)
CGAL::insert(arr, hit->edges_begin(), hit->edges_end());

// If the point in a boundary segment, find the corresponding half edge
// If the point is in a boundary segment, find the corresponding half edge
Halfedge_const_handle he = arr.halfedges_begin();
while (he->source()->point() != startPoint ||
he->target()->point() != endPoint) {
Expand Down

0 comments on commit 165408e

Please sign in to comment.