From a70734cd29ec34a3c291273dc8e25f74f3cd7bb2 Mon Sep 17 00:00:00 2001 From: Revar Desmera Date: Thu, 26 Dec 2019 21:39:49 -0800 Subject: [PATCH] Docs grammar fixes for reindex_polygon() --- geometry.scad | 15 ++++++++------- version.scad | 2 +- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/geometry.scad b/geometry.scad index bee155c..3e94733 100644 --- a/geometry.scad +++ b/geometry.scad @@ -987,13 +987,14 @@ function polygon_shift_to_closest_point(path, pt) = // Usage: // newpoly = reindex_polygon(reference, poly); // Description: -// Rotates the point order and possibly reverses the point order of a polygon path to optimize its pairwise its -// point association with a reference polygon. The two polygons must have the same number of vertices. -// The optimization is done by computing the distance, norm(reference[i]-poly[i]), between corresponding pairs of -// vertices of the two polygons and choosing the polygon point order that makes the total sum over all pairs as -// small as possible. Returns the reindexed polygon. Note that the geometry of the polygon is not changed by -// this operation, just the labeling of its vertices. If the input polygon is oriented opposite -// the reference then its point order is flipped. +// Rotates and possibly reverses the point order of a polygon path to optimize its pairwise point +// association with a reference polygon. The two polygons must have the same number of vertices. +// The optimization is done by computing the distance, norm(reference[i]-poly[i]), between +// corresponding pairs of vertices of the two polygons and choosing the polygon point order that +// makes the total sum over all pairs as small as possible. Returns the reindexed polygon. Note +// that the geometry of the polygon is not changed by this operation, just the labeling of its +// vertices. If the input polygon is oriented opposite the reference then its point order is +// flipped. // Arguments: // reference = reference polygon path // poly = input polygon to reindex diff --git a/version.scad b/version.scad index 13988ab..055ced5 100644 --- a/version.scad +++ b/version.scad @@ -8,7 +8,7 @@ ////////////////////////////////////////////////////////////////////// -BOSL_VERSION = [2,0,62]; +BOSL_VERSION = [2,0,63]; // Section: BOSL Library Version Functions