Eliminate vertices outside of multiple convex hulls

Goal: Eliminate vertices outside of multiple 3D cubes.
Here's what I currently have in the prerequisites.
Prerequisites - Already Developed
Table of volumes as [volume_name, x,y,z] with each volume_name containing 8 coordinates of a cube.
Table of vertices to check as [x,y,z]
Functions - Need to determine ConvexHull/Voronoi or existing functions???
Need to compare the vertice table against the volumes
I'll check vertice in a while loop against volume 1, 2, n...
If not in any volume, record vertice row within the vertice table as a DeleteList
DeleteList compare against original List and reogranize vertice table
Other Notes:
Cubes are not oriented along XYZ
Not sure if Convex Hull can generate rectangles or if it "balloons" the rectangles.

Answers (0)

This question is closed.

Products

Release

R2016b

Asked:

on 27 Jun 2019

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!