has anywone written a 3D version of inpolygon

7 views (last 30 days)
I would like to locate the number of 3-dimensional points inside a convex 3-dimensional volume. In other words I would like to use or write a function equivalent to the MATLAB inpolygon() for use in 3 dimensions rather than on a plane. (I have written a function to do the eqivalent of inpolygon on the surface of a sphere, but that is not the same thing at all). thanks, John

Accepted Answer

Grzegorz Knor
Grzegorz Knor on 10 Dec 2011
See tsearchn:
doc tsearchn

More Answers (0)

Categories

Find more on Statistics and Machine Learning Toolbox in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!