Find points inside 3D polygon

8 visualizzazioni (ultimi 30 giorni)
Timofey
Timofey il 5 Dic 2014
Commentato: John Mahoney il 5 Dic 2014
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
John Mahoney
John Mahoney il 5 Dic 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?

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Computational Geometry 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