Find points inside 3D polygon

There matrix P with coordinates XYZ points. (~ 30-40 points ) There is a matrix Q in which the coordinates of the points are the vertices of a plane. (4 points - a rectangular cross section )
It is necessary to leave only those points of the matrix P, which lie within the plane Q. The three-dimensional region . inpolygon not suitable.
Help please .

1 commentaire

John Mahoney
John Mahoney le 5 Déc 2014
Hi Timofey, A generic point in 3D will not lie within a given plane. Can you clarify?
Do you:
- happen to know that your points in 3D are also within the infinite plane defined by Q, but you want the subset that lies within the prescribed rectangle?
- not know anything special about the points in 3D, but want those that might happen to be precisely within the infinite plane Q?
- not know anything special about the points in 3D, but want those that are "close enough" to the infinite plane Q?

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Interpolation dans Centre d'aide et File Exchange

Question posée :

le 5 Déc 2014

Commenté :

le 5 Déc 2014

Community Treasure Hunt

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

Start Hunting!

Translated by