I am looking for an algorithm to check easily that a point $A(x,y,z)$ is in the convex hull of $4$ points $A_i(x_i,y_i,z_i)$ in the usual $3$-dimensional Euclidean space. The only algorithm I see comes from my Math education (I really know nothing specific about this subject). It consists of solving the $4$-dimensional linear system $k_1A_1+k_2A_2+k_3A_3+k_4A_4 = A$ and $k_1+k_2+k_3+k_4=1$ using Cramer's rule and to check that $k_1,\dots,k_4$ belong to the interval $[0,1]$ (I forget on purpose the case where the main determinant is $0$). That requires to calculate five $4$-dimensional determinants. Is there any simpler way for this particular case ?
2026-03-27 00:04:50.1774569890
Algorithm to check that a point is in the convex rule of $4$ points in the $3$-dimensional space
66 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in EUCLIDEAN-GEOMETRY
- Visualization of Projective Space
- Triangle inequality for metric space where the metric is angles between vectors
- Circle inside kite inside larger circle
- If in a triangle ABC, ∠B = 2∠C and the bisector of ∠B meets CA in D, then the ratio BD : DC would be equal to?
- Euclidean Fifth Postulate
- JMO geometry Problem.
- Measure of the angle
- Difference between parallel and Equal lines
- Complex numbers - prove |BD| + |CD| = |AD|
- Find the ratio of segments using Ceva's theorem
Related Questions in CONVEX-HULLS
- Is every finite descending sequence in [0,1] in convex hull of certain points?
- What exactly the Ellipsoid method does?
- Why is the determinant test attractive for the Convex Hull algorithm?
- Unit-length 2D curve segment with maximal width along all directions
- A point in a convex hull
- Why is Sklansky algorithm convex hull wrong
- Proving this convex hull lemma
- Why do we check $n^2 - n$ pairs of points in SlowConvexHull algorithm?
- Convex combination of $2^n$ vectors from cartesian products of half-spaces
- There exists $\vec{w}$ such that $\vec{\beta}_j\cdot \vec{w}>0$ $\iff$ the origin is not in the convex hull of $\vec{\beta}_j$ and $\vec{e}_i$.
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?
You just need to implement a signed-volume function for tetrahedra. See below for one source (among many). You will need to orient the faces of your tetrahedron consistently counterclockwise.
Then your point p(=A) is in the tetrahedron a,b,c,d if and only if the volume of p,a,b,c is negative, and similarly negative for all four faces and p. If p is outside the tetrahedron, one or more of those volumes will be positive. (Interchange counterclockwise with clockwise just flips all the signs.)
Computational Geometry in C