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 Commento

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?

Accedi per commentare.

Risposte (0)

Categorie

Richiesto:

il 5 Dic 2014

Commentato:

il 5 Dic 2014

Community Treasure Hunt

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

Start Hunting!

Translated by