Info

This question is closed. Reopen it to edit or answer.

FInd a chord in a polyhedron in a random direction?

1 view (last 30 days)
Given a polyhedron and a point (X,Y) inside it. I want to choose a random direction and plot the chord passing through (X,Y). Can it be done?

Answers (1)

Image Analyst
Image Analyst on 1 Jun 2012
Yes. Use MATLAB, simple 10th grade trigonometry & algebra, and the rand() and line() functions.

This question is closed.

Community Treasure Hunt

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

Start Hunting!