10-21-2020, 04:52 PM
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
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