You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just wanted to ask you if there is a way to get the bounding box of a mesh when or after building a KDTree. This would just mean if it is possible to retrieve or compute the point with the maximum coordinates (xmax, ymax, zmax, etc) and a point with the minimum coordinates (xmin, ymin, zmin, etc).
I am loading unstructured meshes (see this kind of meshes) as KDTrees and it would be great if I could get the bounding box when doing so (or compute it after). However, computing it afterwards would be similar to check all the nodes that I pass to the KDTree constructor and select the maximum or minimum value for each coordinate.
Thanks!
The text was updated successfully, but these errors were encountered:
Hi @KristofferC
First of all, great package!
I just wanted to ask you if there is a way to get the bounding box of a mesh when or after building a
KDTree
. This would just mean if it is possible to retrieve or compute the point with the maximum coordinates (xmax
,ymax
,zmax
, etc) and a point with the minimum coordinates (xmin
,ymin
,zmin
, etc).I am loading unstructured meshes (see this kind of meshes) as
KDTree
s and it would be great if I could get the bounding box when doing so (or compute it after). However, computing it afterwards would be similar to check all the nodes that I pass to theKDTree
constructor and select the maximum or minimum value for each coordinate.Thanks!
The text was updated successfully, but these errors were encountered: