Jump to content
Developer Wiki and Function Reference Links ×

Detect if 3D point is inside a solid


paullim

Recommended Posts

I don't believe there is a 3D equivalent of PtInPoly.

 

I can think of a couple of possible work arounds. Perhaps someone else will have a better solution.

 

1. Extract Surfaces from a Top and Elevation view of the volume you are interested in and then use PtInPoly to see if the point is in both. If it is, then you have your answer.

 

2. If the volume in question is a Solid, then create another small solid and place it at the point in question and Intersect Solids. If you get anything other than a NIL handle returned then the small solid at least partially overlaps with the original solid.

 

3.  ???  Batter Up!!

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...