algorithmic modeling for Rhino
Does anyone know of a similar method to the "Includes" method of an Opennurbs.Boundingbox class? i wnat to tst if a boundingbox is contained wthin another bounding box.
There does not appear to be a similar method in Rhinocommon for the Rhino.Geometry.Boundingbox class
thanks
Tags:
Public Function Contains(ByVal box As BoundingBox, ByVal pt As Point3d) As Boolean
If (pt.X < box.Min.X) OrElse (pt.X > box.Max.X) Then Return False
If (pt.Y < box.Min.Y) OrElse (pt.Y > box.Max.Y) Then Return False
If (pt.Z < box.Min.Z) OrElse (pt.Z > box.Max.Z) Then Return False
Return True
End Function
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by