grasshopper2 Rhinorhino3d.com
ComponentAuto-generatedVector
Sort Intervals
00000000-76a5-4a51-a85b-bcd9090bcb54
object preview
This page was generated from the component’s built-in descriptions. An in-depth article has not been written for it yet.

Sort a collection of intervals using a variety of sorting rules.

Input parameters:

  1. In → Intervals to sort.
  2. Ru → Sorting rule to apply.
    • 0 → None
    • 1 → Start, Length
    • 2 → Start, End
    • 3 → Length, Start
    • 4 → Length, End
    • 5 → End, Length
    • 6 → End, Start
    • 7 → Middle, Length

Output parameters:

  1. In → List of sorted intervals.
  2. Im → Index map representing the sort order.