zone.create.ratio
Syntax
- f := zone.create.ratio(fr,index,isize)
Get a value calculated by a geometric progression, given a ratio, an index, and a size. This is the same ratio as is used in the
zone create
logic, theextrude block create
, andbuilding-blocks block create
. This divides the interval from 0.0 to 1.0 into size sections, each of which is ratio times the size of the previous one.Returns: f - the fraction from 0.0 to 1.0 of the geometric progression from 0 to size at index of the given ratio
Arguments: fr - the geometric ratio to use for the progression. Each interval will be ratio times larger than the previous.
index - the index (from 0 to size) of the location in the progression to calculate
isize - the total number of intervals involved
Was this helpful? ... | 3DEC © 2019, Itasca | Updated: Feb 25, 2024 |