TransWikia.com

Check if line lies between two planes

Mathematics Asked by michalt38 on December 23, 2020

I have a line given by an equation $$vec{p} = vec{l}_0 + dvec{l}$$ where $vec{l}$ is a direction vector of a line, $l_0$ is a point on a line and $d$ is some scalar. I know that this line is parallel to two planes, both given by a point lying on a plane and a normal. I want to distinguish if the line lies between those two planes.

One Answer

Just consider the projections on a line perpendicular to the planes.

Let $vec a$, $vec b$ be the points on the planes, and $vec n$ the common normal vector of the planes (I'm assuming the planes are parallel, otherwise the question is meaningless). The line lies between the planes if $$ vec acdotvec n < vec l_0cdotvec n < vec bcdotvec n $$ or the analogous reversed inequality.

Correct answer by Intelligenti pauca on December 23, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP