Points located inside of 3-dim region

14 visualizzazioni (ultimi 30 giorni)
MCM
MCM il 1 Lug 2015
Risposto: Matt J il 1 Lug 2015
Hello,
I'm looking for something very similar to the function inpolygon but in 3 dimensions.
in = inpolygon(xq,yq,xv,yv) returns in indicating if the query points specified by xq and yq are inside or on the edge of the polygon area defined by xv and yv.
I need the exact same thing except for x,y and z. So far, I've been unsuccessful in my search for a similar Matlab function but I believe there should be one. Anyone know how to use inpolygon with 3 dimensions instead of 2? Or know another Matlab function that was made for n dimensions?
Thanks

Risposte (1)

Matt J
Matt J il 1 Lug 2015

Categorie

Scopri di più su Surfaces, Volumes, and Polygons in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by