- #1

DHack

- 2

- 0

How would I do it? I can get anything you need for this problem.

Thanks in advance.

You are using an out of date browser. It may not display this or other websites correctly.

You should upgrade or use an alternative browser.

You should upgrade or use an alternative browser.

- Thread starter DHack
- Start date

- #1

DHack

- 2

- 0

How would I do it? I can get anything you need for this problem.

Thanks in advance.

- #2

arildno

Science Advisor

Homework Helper

Gold Member

Dearly Missed

- 10,089

- 135

- #3

DHack

- 2

- 0

Yep.

- #4

mikeph

- 1,235

- 18

Are you saying you have a cube with a known orientation (eg. you are given a unit vector normal to a surface, and the cube centre is fixed at (0, 0, 0)), and want to know if a general point (x, y, z) is in that cube?

Try to develop a method of rotating the coordinate system from the original one to one where the cube sides are perpendicular to the coordinate axes. Then all you need to do is transform your point to this system and ensure it is between each side along all three dimensions.

Share:

- Last Post

- Replies
- 1

- Views
- 520

- Last Post

- Replies
- 21

- Views
- 1K

- Last Post

- Replies
- 20

- Views
- 1K

- Last Post

- Replies
- 1

- Views
- 509

- Replies
- 29

- Views
- 485

- Replies
- 10

- Views
- 446

- Last Post

- Replies
- 6

- Views
- 1K

- Last Post

- Replies
- 4

- Views
- 599

- Replies
- 6

- Views
- 892

- Last Post

- Replies
- 0

- Views
- 362