range(from, to)

range (from, to), populates a collection of locations along the supplied dimension starting from the offset “from” (relative the current location) to the offset “to” (relative to the current location).

range(Hierarchy h, double from, double to)