Find points inside 3D polygon

11 views (last 30 days)
Timofey
Timofey on 5 Dec 2014
Commented: John Mahoney on 5 Dec 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 Comment
John Mahoney
John Mahoney on 5 Dec 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?

Sign in to comment.

Answers (0)

Categories

Find more on Elementary Polygons in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!