renamed is_region_simple to is_valid_region and fixed bugs and added examples

fixed bugs in pair and triplet and added degenerate test cases
This commit is contained in:
Adrian Mariano
2021-11-03 22:30:01 -04:00
parent 530f3b3449
commit fe0586180e
8 changed files with 175 additions and 35 deletions

View File

@@ -1439,7 +1439,7 @@ function _region_centroid(region,eps=EPSILON) =
total[0]/total[1];
/// Function: _polygon_centroid()
/// Internal Function: _polygon_centroid()
/// Usage:
/// cpt = _polygon_centroid(poly);
/// Topics: Geometry, Polygons, Centroid