bbox.contains
Whether a point lies inside a box or on its boundary.
Usage
BBox.contains(b: BBox, p: Point3): booleanParameters
bBBoxThe box. Required. In model.
pPoint3The point to test. Required. In model.
Returns
true when min ≤ p ≤ max on every axis; false for an empty box or a NaN coordinate.
Example
BBox.contains(BBox.ofPoints([Point3.origin, Point3.of(1, 1, 1)]), Point3.of(1, 0.5, 0)) // → true