data points inside a pyramid

1 回表示 (過去 30 日間)
yogesh jain
yogesh jain 2015 年 12 月 21 日
コメント済み: jgg 2015 年 12 月 23 日
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 .
  6 件のコメント
yogesh jain
yogesh jain 2015 年 12 月 22 日
ya would be but that does not solve getting the inside data points issue . They may be limited and layered data points .
jgg
jgg 2015 年 12 月 23 日
If you have the three base points, and the peak of the pyramid, then any other point is just a linear combination of the base points, and then the peak.

サインインしてコメントする。

採用された回答

Guillaume
Guillaume 2015 年 12 月 22 日
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.
  2 件のコメント
yogesh jain
yogesh jain 2015 年 12 月 23 日
編集済み: yogesh jain 2015 年 12 月 23 日
Hello Mr.Guillaume , Thanks for your consideration . The second way would also be beneficial for me .
yogesh jain
yogesh jain 2015 年 12 月 23 日
編集済み: yogesh jain 2015 年 12 月 23 日
For better understanding, this is the situation - blue dots are available points , red are vertices of pyramid (having yellow faces) , now how to get inside points ??

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLine Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by