BOSL2/tests
RonaldoCMP 3bf22cd236 In-depth review
Besides param validation and some formating, changes:

A. add new functions:

1. _valid_line()
2. _valid_plane()
3. line_from_points()
4. projection_on_plane()
5. points_on_plane()

B. rename/redefine/remove functions:

1. points_are_coplanar() >> coplanar()
2. collinear() works with list of points as well as coplanar()
3. find_noncollinear_points >> noncollinear_triple
4. collinear_indexed() removed
5. polygon_is_convex() >> is_convex_polygon()

C. recode/optimize the codes of the functions:

1. point_on_segment2d()
2. point_left_of_line2d()
3. distance_from_line()
4. line_closest_point()
5. plane_from_polygon()
6. _general_plane_line_intersection()
7. polygon_line_intersection()
8. find_circle_2tangents()
9. find_circle_3points()
10. polygon_area()
11. is_convex_polygon()
12. reindex_polygon()
13. centroid()
14. polygon_is_clockwise()
15. clockwise_polygon()
16. ccw_polygon()

The function name changes were updated in:
test_geometry.scad
hull.scad
rounding.scad
vnf.scad

Regression tests for the new external functions were included in test_geometry.scad.

Unsolved questions:
1. why sorting the indices in plane_from_points and polygon_line_intersection?
2. aren't redundant plane_from_polygon() and plane_from_points()?
2020-08-16 23:33:11 +01:00
..
hull.scad Changed to relative include names 2020-07-21 20:05:21 -04:00
polyhedra.scad A broad review of input data check and code format 2020-07-24 22:54:34 +01:00
test_affine.scad Changed to relative include names 2020-07-21 20:05:21 -04:00
test_arrays.scad Exclude echo() 2020-08-11 15:36:44 +01:00
test_common.scad Overall review, input data check, format, new function definitions 2020-07-29 22:41:02 +01:00
test_coords.scad Changed to relative include names 2020-07-21 20:05:21 -04:00
test_cubetruss.scad Changed to relative include names 2020-07-21 20:05:21 -04:00
test_debug.scad Changed to relative include names 2020-07-21 20:05:21 -04:00
test_edges.scad Changed to relative include names 2020-07-21 20:05:21 -04:00
test_geometry.scad In-depth review 2020-08-16 23:33:11 +01:00
test_hull.scad change hull to use find_noncollinear_points, add some error checks, 2020-07-28 17:54:57 -04:00
test_linear_bearings.scad Changed to relative include names 2020-07-21 20:05:21 -04:00
test_math.scad Merge pull request #229 from adrianVmariano/master 2020-08-04 00:38:23 -07:00
test_mutators.scad Changed to relative include names 2020-07-21 20:05:21 -04:00
test_primitives.scad Changed to relative include names 2020-07-21 20:05:21 -04:00
test_quaternions.scad Changed to relative include names 2020-07-21 20:05:21 -04:00
test_queues.scad Changed to relative include names 2020-07-21 20:05:21 -04:00
test_shapes.scad Fix list_remove() for null index list. 2020-07-29 22:39:17 -07:00
test_shapes2d.scad Changed to relative include names 2020-07-21 20:05:21 -04:00
test_skin.scad Changed to relative include names 2020-07-21 20:05:21 -04:00
test_stacks.scad Changed to relative include names 2020-07-21 20:05:21 -04:00
test_strings.scad Changed to relative include names 2020-07-21 20:05:21 -04:00
test_structs.scad Changed to relative include names 2020-07-21 20:05:21 -04:00
test_transforms.scad Changed to relative include names 2020-07-21 20:05:21 -04:00
test_vectors.scad A broad review of input data check and code format 2020-07-24 22:54:34 +01:00
test_version.scad Changed to relative include names 2020-07-21 20:05:21 -04:00
test_vnf.scad Changed to relative include names 2020-07-21 20:05:21 -04:00