Intersection of a polyhedron with a line
- Intersection of a polyhedron with a line
In general, a convex polyhedron is defined as the intersection of a finite number of halfspaces. That is, a convex polyhedron is the set of solutions of a system of inequations of the form
:
There are many problems in which it is useful to find the intersection of a ray and a convex polyhedron; for example, in computer graphics, optimization, and even in some Monte Carlo methods. The formal statement of our problem is to find the intersection of the set with the line defined by , where and .
To this end, we would like to find such that , which is equivalent to finding a such that :for .
Thus, we can bound as follows:::::
The last two lines follow from the cases when the direction vector is parallel to the halfplane defined by the row of : . In the second to last case, the point is on the inside of the halfspace; in the last case, the point is on the outside of the halfspace, and so will always be infeasible.
As such, we can find as all points in the region (so long as we do not have the fourth case from above):which will be empty if there is no intersection.
See also
* Polytope
* Polyhedron
* Hyperplane
Wikimedia Foundation.
2010.
Look at other dictionaries:
Intersection — has various meanings in different contexts: *In mathematics and geometry **Intersection (set theory), the set of elements common to some collection of sets. **Line line intersection **Line plane intersection **Line–sphere intersection… … Wikipedia
Line-plane intersection — 1. No intersection. 2. Point intersection. 3. Line intersection.In analytic geometry, the intersection of a line and a plane can be the empty set, a point, or a line. Distinguishing these cases, and determining equations for the point and line in … Wikipedia
Polyhedron — Polyhedra redirects here. For the relational database system, see Polyhedra DBMS. For the game magazine, see Polyhedron (magazine). For the scientific journal, see Polyhedron (journal). Some Polyhedra Dodecahedron (Regular polyhedron) … Wikipedia
Line graph — This article is about the mathematical concept. For statistical presentation method, see line chart. In graph theory, the line graph L(G) of undirected graph G is another graph L(G) that represents the adjacencies between edges of G. The name… … Wikipedia
Polytope — Not to be confused with polytrope. In elementary geometry, a polytope is a geometric object with flat sides, which exists in any general number of dimensions. A polygon is a polytope in two dimensions, a polyhedron in three dimensions, and so on… … Wikipedia
List of mathematics articles (I) — NOTOC Ia IA automorphism ICER Icosagon Icosahedral 120 cell Icosahedral prism Icosahedral symmetry Icosahedron Icosian Calculus Icosian game Icosidodecadodecahedron Icosidodecahedron Icositetrachoric honeycomb Icositruncated dodecadodecahedron… … Wikipedia
Kepler–Poinsot polyhedron — In geometry, a Kepler–Poinsot polyhedron is any of four regular star polyhedra. They may be obtained by stellating the regular convex dodecahedron and icosahedron, and differ from these in having regular pentagrammic faces or vertex figures.… … Wikipedia
combinatorics — /keuhm buy neuh tawr iks, tor , kom beuh /, n. (used with singular v.) See combinatorial analysis. * * * Branch of mathematics concerned with the selection, arrangement, and combination of objects chosen from a finite set. The number of possible… … Universalium
Dihedral angle — In aerospace engineering, the dihedral is the angle between the two wings; see Dihedral (aircraft). In geometry, a dihedral or torsion angle is the angle between two planes. Figure 1: Dihedral angle of three vectors, defined as an exterior… … Wikipedia
Vertex (geometry) — For vertices in the geometry of curves, see Vertex (curve). For other uses of the word, see Vertex (disambiguation). In geometry, a vertex (plural vertices) is a special kind of point that describes the corners or intersections of geometric… … Wikipedia