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

:Ax le b.

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 {xinmathbb{R}^n|Ax le b} with the line defined by c+tv, where tinmathbb{R} and c, vinmathbb{R}^n.

To this end, we would like to find t such that A(c+tv)le b, which is equivalent to finding a t such that : [Av] _it leq [b-Ac] _ifor i=1,ldots,n.

Thus, we can bound t as follows::t leq frac{ [b-Ac] _i}{ [Av] _i} ;;;{ m if}; [Av] _i > 0:t geq frac{ [b-Ac] _i}{ [Av] _i} ;;;{ m if}; [Av] _i < 0 :t { m; unbounded} ;;;{ m if}; [Av] _i = 0, [b-Ac] _i > 0 :t { m; infeasible} ;;;{ m if}; [Av] _i = 0, [b-Ac] _i < 0

The last two lines follow from the cases when the direction vector v is parallel to the halfplane defined by the i^{th} row of A: a_i^Tx leq b_i. In the second to last case, the point c is on the inside of the halfspace; in the last case, the point c is on the outside of the halfspace, and so t will always be infeasible.

As such, we can find t as all points in the region (so long as we do not have the fourth case from above):left [ max_{i: [Av] _ileq 0}frac{ [b-Ac] _i}{ [Av] _i}, min_{i: [Av] _igeq 0}frac{ [b-Ac] _i}{ [Av] _i} ight] ,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

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”