Minimum Distance Between Two Parallel Planes Given Points in Space

102 Views Asked by At

I'm given a number of points (in this case 7) and need to calculate the minimum distance between two parallel planes which "sandwich" or encompass all of the given points. The goal is to calculate flatness of the specimen.

I'm not even sure how to approach this...

Surface flatness example

3

There are 3 best solutions below

2
On

Hint: Compute the Hessian Normalform of the plane,given by $$\frac{ax+by+cz+d}{\pm\sqrt{a^2+b^2+c^2}}=0$$

5
On

You are seeking the width of the convex hull of your point set. Compute the convex hull $H$. Then the width is determined either by a vertex and a face of $H$ (i.e., one plane determined by a face, the other antipodal and parallel, touching at a vertex), or by two skew edges. Since you only have $n=7$ points, you can just check all {point,face} and {edge,edge} pairs: $O(n^2)$ complexity.

Added to illustrate the need for edge-edge width support.


         


0
On

You can solve this problem using a linear programming approach

Given the points $p_k$ and a vector $\vec n = (a,b,c)$ we need to solve the linear problem

$$ \min_{a,b,c,d} d\ \ \text{s. t. }\ \ -d \le p_k\cdot \vec n \le d,\ \ \text{for}\ \ k=1,2,\cdots,n $$