Grasshopper Docs

Community documentation for Grasshopper add-ons & plugins

Domain
Matrix
Operators
Polynomials
Script
Time
Trig
Util

Test for similarity of two numbers

Inputs

NameIDDescriptionType
First NumberANumber to compareNumber
Second NumberBNumber to compare toNumber
ThresholdT%Percentage (0% ~ 100%) of A and B below which similarity is assumedNumber

Outputs

NameIDDescriptionType
Similarity=True if A ≈ BBoolean
Absolute differencedtThe absolute difference between A and BNumber

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

Report an Issue  |  Terms of Service