Removed usage of upcube()

This commit is contained in:
Revar Desmera
2019-04-23 15:59:43 -07:00
parent 7115dcaeed
commit 06a460f757
7 changed files with 18 additions and 14 deletions

View File

@@ -271,7 +271,8 @@ function simplify_path_indexed(points, path, eps=EPSILON, _a=0, _b=2, _acc=[]) =
// point_in_polygon(point, path)
// Description:
// This function tests whether the given point is inside, outside or on the boundary of
// the specified polygon using the Winding Number method. (http://geomalgorithms.com/a03-_inclusion.html)
// the specified polygon using the Winding Number method:
// - (http://geomalgorithms.com/a03-_inclusion.html)
// The polygon is given as a list of points, not including the repeated end point.
// Returns -1 if the point is outside the polyon.
// Returns 0 if the point is on the boundary.