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월 21일
If anybody can help me out ... please do !!
Guillaume
Guillaume 2015년 12월 21일
Your question is not clear. There are an infinity of points inside a pyramid.
yogesh jain
yogesh jain 2015년 12월 21일
yes , actually those are infinite but the minimum set of points which can represent the pyramid .
jgg
jgg 2015년 12월 21일
Would that not just be the three base points, which you have, and then add the height to the centroid of those points?
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일

0 개 추천

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개)

카테고리

도움말 센터File Exchange에서 Annotations에 대해 자세히 알아보기

질문:

2015년 12월 21일

댓글:

jgg
2015년 12월 23일

Community Treasure Hunt

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

Start Hunting!

Translated by