How this calculation works
Halfspace inequalities describe a convex region by the sides of supporting planes that are allowed. The region may be empty, unbounded, lower dimensional or a closed solid. This calculator checks feasibility and boundedness with exact rational linear programming before constructing vertices from triple-plane intersections. For a bounded solid it collects supporting faces, orders their vertices outward, and computes volume exactly from oriented boundary triangles. Edge incidence and Euler checks support the recovered mesh. It does not label every feasible set a finite-volume polyhedron merely because a few plane intersections exist.
P={x∈R³:aᵢ·x≤dᵢ}; bounded full-dimensional P has volume (1/6)Σ outward face triangles v₀·(v₁×v₂).A worked example
The six inequalities x≤1,−x≤0,y≤1,−y≤0,z≤1,−z≤0 define the unit cube. Their intersection has eight vertices, twelve edges, six faces and exact volume one. Adding duplicate inequality 2x≤2 does not create another face. Replacing both z bounds by z≤0 and −z≤0 gives a bounded square in the plane z=0: volume zero and lower-dimensional status. Keeping only x≤1 leaves an unbounded halfspace rather than a closed box with missing walls.
Good to know
1–20 rational 3D inequalities with nonzero normals, all in <= convention. Exact feasibility and coordinate boundedness precede finite vertex enumeration. Full-dimensional face ordering uses numeric angles, then exact oriented volume, two-face edge incidence and Euler checks must pass. Duplicate supports share a face. Bounded lower-dimensional sets return zero volume without a full-dimensional face mesh. Exact fraction/LP resource limits raise errors; no curved surfaces, strict inequalities, nonconvex unions or general mesh repair.
Reference: CGAL — halfspace intersection and bounded polyhedron conventions (opens in a new tab) ↗
Feasibility and boundedness must be proved before interpreting a solid
A contradictory pair such as x≤0 and x≥1 gives an empty region. A feasible inequality set can still admit directions of unlimited travel, even if some triples of planes meet at finite corners. The solver checks every positive and negative coordinate objective; an unbounded coordinate supplies a recession direction. A finite list of visible vertices by itself therefore cannot prove the region is a closed solid.
For a bounded feasible region, every extreme vertex is supported by enough independent active planes. Enumerating all supported triples recovers candidate vertices, and every candidate is substituted into every inequality before acceptance. Exact equality identifies which vertices belong to a supporting plane. Duplicate inequalities can support the same face and are consolidated by vertex set, while an inequality active at only an edge or vertex does not invent an extra two-dimensional face.
A boundary mesh needs orientation and topological consistency
For each face, the outward direction follows its inequality normal. Cyclic ordering establishes face triangles with consistent orientation, and the signed triple-product sum computes volume even when the origin is outside the solid. Taking absolute volume separately for each origin-based tetrahedron would generally overcount in that situation. The exact final positive volume is accompanied by two-face edge incidence and the convex Euler relation V−E+F=2.
Lower-dimensional bounded intersections are valid feasible sets but have zero three-dimensional volume. The page reports their affine dimension status instead of forcing a duplicate two-sided surface mesh through the full-solid checks. The Tetrahedron volume calculator from six edge lengths accepts one specified four-vertex solid; this page reconstructs a potentially many-faced convex region from linear restrictions. It does not combine separate inequality systems into a nonconvex union or infer omitted bounds.
A few questions, answered
How do I enter x greater than or equal to zero?
Use the row −1,0,0,0, representing −x≤0. Every input inequality uses <=, so reverse all coefficients and the bound together for a lower restriction.
Why can a feasible result have no finite volume reported?
A feasible set can be unbounded. Finite volume is reported only after boundedness and the supported closed-solid or lower-dimensional construction have been established.