more efficient shortest-distance pocket routing
This commit is contained in:
parent
ad53e78e7e
commit
f08319efe7
3 changed files with 40 additions and 9 deletions
|
|
@ -1800,7 +1800,7 @@ class Polygon {
|
|||
* print paths.
|
||||
*
|
||||
* @param {Point} target
|
||||
* @return {Object} {point:point, distance:distance}
|
||||
* @return {Object} {distance, point, index: point_index}
|
||||
*/
|
||||
findClosestPointTo(target) {
|
||||
let dist,
|
||||
|
|
|
|||
Loading…
Reference in a new issue