We need your help! 🔥
Please consider disabling your ad-blocker to support this website! 🔑
We are a free, community-supported website! 🥰
We only display small unobtrusive ads which help us stay online! 💯
Thank you in advance! ❤️
Domain
Matrix
Operators
Polynomials
Script
Time
Trig
Util

Find Domain

Find the first domain that contains a specific value

Inputs

NameIDDescriptionType
DomainsDCollection of domains to searchDomain
NumberNNumber to testNumber
StrictSStrict comparison, if true then the value must be on the interior of a domainBoolean

Outputs

NameIDDescriptionType
IndexIIndex of first domain that includes the specified valueInteger
NeighbourNIndex of domain that is closest to the specified valueInteger

Site design © Robin Rodricks.   Grasshopper Maths and associated data © 2024 Robert McNeel & Associates.  
Rhinoceros and Grasshopper are registered trademarks of Robert McNeel & Associates.  Hosted by GitHub

Report an Issue  |  Terms of Service