FInd a chord in a polyhedron in a random direction?

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)

Yes. Use MATLAB, simple 10th grade trigonometry & algebra, and the rand() and line() functions.

This question is closed.

Asked:

on 1 Jun 2012

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!