mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-14 01:54:51 +02:00
Updated Topics in fit_to_range and fit_to_box
This commit is contained in:
@@ -678,7 +678,7 @@ function mean_angle(angle1,angle2) =
|
|||||||
|
|
||||||
// Function: fit_to_range()
|
// Function: fit_to_range()
|
||||||
// Synopsis: Scale the values in an array to span a range.
|
// Synopsis: Scale the values in an array to span a range.
|
||||||
// Topics: Math
|
// Topics: Math, Bounds, Scaling
|
||||||
// See Also: fit_to_box()
|
// See Also: fit_to_box()
|
||||||
// Usage:
|
// Usage:
|
||||||
// a = fit_to_range(M, minval, maxval);
|
// a = fit_to_range(M, minval, maxval);
|
||||||
|
@@ -667,7 +667,7 @@ function _insert_many(list, k, newlist,i=0) =
|
|||||||
|
|
||||||
// Function: pointlist_bounds()
|
// Function: pointlist_bounds()
|
||||||
// Synopsis: Returns the min and max bounding coordinates for the given list of points.
|
// Synopsis: Returns the min and max bounding coordinates for the given list of points.
|
||||||
// Topics: Geometry, Bounding Boxes, Bounds
|
// Topics: Geometry, Bounding Boxes, Bounds, Scaling
|
||||||
// See Also: closest_point(), furthest_point(), vnf_bounds()
|
// See Also: closest_point(), furthest_point(), vnf_bounds()
|
||||||
// Usage:
|
// Usage:
|
||||||
// pt_pair = pointlist_bounds(pts);
|
// pt_pair = pointlist_bounds(pts);
|
||||||
@@ -691,7 +691,7 @@ function pointlist_bounds(pts) =
|
|||||||
|
|
||||||
// Function: fit_to_box()
|
// Function: fit_to_box()
|
||||||
// Synopsis: Scale the x, y, and/or z coordinantes of a list of points to span a range.
|
// Synopsis: Scale the x, y, and/or z coordinantes of a list of points to span a range.
|
||||||
// Topics: Geometry, Bounding Boxes, Bounds, VNF
|
// Topics: Geometry, Bounding Boxes, Bounds, VNF Manipulation
|
||||||
// See Also: fit_to_range()
|
// See Also: fit_to_range()
|
||||||
// Usage:
|
// Usage:
|
||||||
// new_pts = fit_to_box(pts, [x=], [y=], [z=]);
|
// new_pts = fit_to_box(pts, [x=], [y=], [z=]);
|
||||||
|
Reference in New Issue
Block a user