Calculate bounds
#1
Hi,
need help.
i have a 3dpoint and i want to check if it is inside a mes or outside.
How i can have to use bounds to check the position of the point.
i used this code but not works: (mstop is the pint and denti(y) is the mesh
Code:
If (mstop.Z > denti(y).Bounds.Z And mstop.Z < denti(y).Bounds.Z + denti(y).Bounds.SizeZ) And (mstop.X > denti(y).Bounds.X And mstop.X < denti(y).Bounds.X + denti(y).Bounds.SizeX) Then
                       rotation.Angle = 90 - minclinazione
                       contr = True
                       Exit For
                   End If
  


Messages In This Thread
Calculate bounds - by kreativasas - 10-21-2020, 04:52 PM
RE: Calculate bounds - by abenedik - 10-22-2020, 09:13 AM
RE: Calculate bounds - by kreativasas - 10-22-2020, 09:51 AM
RE: Calculate bounds - by abenedik - 10-22-2020, 10:36 AM
RE: Calculate bounds - by abenedik - 10-27-2020, 12:10 PM
RE: Calculate bounds - by mattia.riviera - 11-02-2020, 10:15 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)