Docs grammar fixes for reindex_polygon()

This commit is contained in:
Revar Desmera 2019-12-26 21:39:49 -08:00
parent 91b0e58093
commit a70734cd29
2 changed files with 9 additions and 8 deletions

View file

@ -987,13 +987,14 @@ function polygon_shift_to_closest_point(path, pt) =
// Usage: // Usage:
// newpoly = reindex_polygon(reference, poly); // newpoly = reindex_polygon(reference, poly);
// Description: // Description:
// Rotates the point order and possibly reverses the point order of a polygon path to optimize its pairwise its // Rotates and possibly reverses the point order of a polygon path to optimize its pairwise point
// point association with a reference polygon. The two polygons must have the same number of vertices. // 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 // The optimization is done by computing the distance, norm(reference[i]-poly[i]), between
// vertices of the two polygons and choosing the polygon point order that makes the total sum over all pairs as // corresponding pairs of vertices of the two polygons and choosing the polygon point order that
// small as possible. Returns the reindexed polygon. Note that the geometry of the polygon is not changed by // makes the total sum over all pairs as small as possible. Returns the reindexed polygon. Note
// this operation, just the labeling of its vertices. If the input polygon is oriented opposite // that the geometry of the polygon is not changed by this operation, just the labeling of its
// the reference then its point order is flipped. // vertices. If the input polygon is oriented opposite the reference then its point order is
// flipped.
// Arguments: // Arguments:
// reference = reference polygon path // reference = reference polygon path
// poly = input polygon to reindex // poly = input polygon to reindex

View file

@ -8,7 +8,7 @@
////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////
BOSL_VERSION = [2,0,62]; BOSL_VERSION = [2,0,63];
// Section: BOSL Library Version Functions // Section: BOSL Library Version Functions