MATLAB: Data points inside a pyramid

inside pointspyramidtriangular base

Hello all, I have a triangular base pyramid having four points (three for triangular base and one for height). how can I get the inside points of the pyramid ? Thank you .

Best Answer

We're going round in circles. Your solid (which is a tetrahedron by the way, not a pyramid) is uniquely defined by 4 four points, the ones you start with. This is the "minimum set of points which can represent" it.
As with any geometric shape, there are an infinity of "inside data point". It's of course not possible to return an infinity of points.
Related Question