grasshopper2 Rhinorhino3d.com
ComponentAuto-generatedVector
Find Interval
00000000-5651-4d0d-8b42-73d4d19d7a31
object preview
This page was generated from the component’s built-in descriptions. An in-depth article has not been written for it yet.

Find the interval which contains the given number.

Input parameters:

  1. In → Numeric intervals to search.
  2. Nm → Number to search with.
  3. Mt → Search method to apply.
    • 0 → First
    • 1 → Last
    • 2 → Shortest
    • 3 → Longest
    • 4 → Earliest Start
    • 5 → Latest Start
    • 6 → Earliest End
    • 7 → Latest End
    • 8 → Innermost
    • 9 → Outermost

Output parameters:

  1. Ix → Index of found interval, or -1 if no interval contains the number.
  2. Nr → Index of the interval closest to the number, or -1 if one of the intervals actually contains the number.