geom3d
Library to handle 3D geometric primitives: create, intersect, display, and make basic computations
Author: David Legland
distanceLine3d works on infinite lines a+t*b. Sometimes (collision detection) the distance between line segments AB and CD is required. A distanceSegment3d would be useful.
The same is true for points (distancePointSegment ).
Or did I just miss it?
07 Feb 2012
geom3d
Library to handle 3D geometric primitives: create, intersect, display, and make basic computations
Author: David Legland
Dear Gavin, thanks for providing this code. It would be easier to understand and implement if you would add a complete description of all arguments in the header of each function - the same way Matlab does.
There are also name collisions, 'connect' is just too generic. A good workaround is to use a prefix such as 'rrt_' to make function names more unique and to simplify renaming.
This *may* be a wonderful path planner. However, it is of no practical use, since the function arguments are not documented.
It is a little effort to describe input and output parameters, add an example and make error messages descriptive. Matlab itself gives the best examples on how to to do this.