Anagh's Law

Monotonicity of geometric clearance
Anagh Kanungo. Revised . Version 1.1.0.

Typeset note (PDF) · LaTeX source · Archived v1.1.0 (DOI) · Original v1.0.0 · Illustrated explainer · Origin and naming

This note specifies the elementary containment implication behind geometric clearance: a common admissible placement that strictly clears a containing envelope also strictly clears a contained one. It is a consequence of monotonicity of direct images, not a new mathematical theorem. This revision is author prepared and has not been peer reviewed; the archived v1.1.0 edition includes the PDF and LaTeX source.

Contents

1. Geometric setup

The ambient space is R3\mathbb R^3 with its Euclidean norm and topology. All object models are expressed in a common body coordinate system; any alignment needed to compare them is fixed before applying a placement. Let S⊆R3S\subseteq\mathbb R^3 be the available region. Its interior int⁡S\operatorname{int}S consists of points with an open neighborhood contained in SS.

Definition 1 (Envelope and placement). For a nonempty compact occupied set K⊆R3K\subseteq\mathbb R^3, an envelope is a compact set EE with K⊆EK\subseteq E. It need not be a bounding box or be convex. A rigid placement is the map

TR,t(x)=Rx+t,R∈SO⁡(3),t∈R3,T_{R,t}(x)=Rx+t,\qquad R\in\operatorname{SO}(3),\quad t\in\mathbb R^3,

Here

SO⁡(3)={R∈R3×3:RTR=I, det⁡R=1}.\operatorname{SO}(3)=\{R\in\mathbb R^{3\times3}:R^{\mathsf T}R=I,\ \det R=1\}.

For a set EE, write T(E)={T(x):x∈E}T(E)=\{T(x):x\in E\}. The envelope strictly clears SS at TT if T(E)⊆int⁡ST(E)\subseteq\operatorname{int}S. In contrast, T(E)⊆ST(E)\subseteq S permits boundary contact when the boundary belongs to SS.

The occupied set itself, its axis-aligned bounding box in the chosen body frame, or its convex hull can serve as an envelope. A body-frame box can become an oriented box after rotation. A common tolerance ε≥0\varepsilon\geq0 can be modeled by the padded envelope

Eε=E⊕B‾ε(0),B‾ε(0)={u:∥u∥≤ε},E_\varepsilon=E\oplus\overline B_\varepsilon(0),\qquad \overline B_\varepsilon(0)=\{u:\|u\|\leq\varepsilon\},

where E⊕F={e+f:e∈E, f∈F}E\oplus F=\{e+f:e\in E,\ f\in F\} is a Minkowski sum.

Let AE⊆SO⁡(3)×R3\mathcal A_E\subseteq\operatorname{SO}(3)\times\mathbb R^3 denote the allowed placements of EE. Membership in AE\mathcal A_E is an extra modeling hypothesis: supports, orientation restrictions, or other physical constraints do not follow from inclusion.

2. Monotonicity and clearance

A map between partially ordered sets is order preserving if u≤vu\leq v implies F(u)≤F(v)F(u)\leq F(v). Here the ordered sets are power sets with the inclusion order.

Lemma 2 (Monotonicity of direct images). For any function f:X→Yf:X\to Y, the direct-image map f∗:P(X)→P(Y)f_*:\mathcal P(X)\to\mathcal P(Y), f∗(E)={f(x):x∈E}f_*(E)=\{f(x):x\in E\}, is order preserving.

Proof. If B⊆AB\subseteq A and y∈f∗(B)y\in f_*(B), then y=f(x)y=f(x) for some x∈B⊆Ax\in B\subseteq A. Hence y∈f∗(A)y\in f_*(A). ∎

Theorem 3 (Containment transfers strict clearance). Let A,B⊆R3A,B\subseteq\mathbb R^3 be nonempty compact envelopes with B⊆AB\subseteq A. Let (R,t)∈AA∩AB(R,t)\in\mathcal A_A\cap\mathcal A_B, and set T=TR,tT=T_{R,t}. If T(A)⊆int⁡ST(A)\subseteq\operatorname{int}S, then T(B)⊆int⁡ST(B)\subseteq\operatorname{int}S.

Proof. By Lemma 2,

T(B)⊆T(A)⊆int⁡S.□T(B)\subseteq T(A)\subseteq\operatorname{int}S.\qquad\square

Remark 1 (Role of the hypotheses). Neither compactness nor rigidity is required for this inclusion implication: Lemma 2 applies to any function. They specify the intended geometric model. Compactness does have a clearance consequence: if R3∖int⁡S\mathbb R^3\setminus\operatorname{int}S is nonempty, strict clearance implies

dist⁡(T(A),R3∖int⁡S)>0,\operatorname{dist}\bigl(T(A),\mathbb R^3\setminus\operatorname{int}S\bigr)>0,

because a compact set disjoint from a closed set has positive distance. This gives some positive margin, not an arbitrarily prescribed one.

With a common allowed set Q\mathcal Q, define

F(E)={(R,t)∈Q:TR,t(E)⊆int⁡S}.\mathcal F(E)=\{(R,t)\in\mathcal Q:T_{R,t}(E)\subseteq\operatorname{int}S\}.

Theorem 3 gives F(A)⊆F(B)\mathcal F(A)\subseteq\mathcal F(B) when B⊆AB\subseteq A. Thus feasible placements expand as the envelope shrinks. For differing allowed sets, a sufficient hypothesis for this inclusion is AA⊆AB\mathcal A_A\subseteq\mathcal A_B; a single witness only needs to be allowed for both.

3. Motion and a common margin

Corollary 4 (Shared motion; bus–tunnel interpretation). Let B⊆AB\subseteq A be as in Theorem 3. Let q:[0,1]→SO⁡(3)×R3q:[0,1]\to\operatorname{SO}(3)\times\mathbb R^3 be a continuous path, q(s)=(Rs,ts)q(s)=(R_s,t_s), admissible as an entire motion for both objects. If TRs,ts(A)⊆int⁡ST_{R_s,t_s}(A)\subseteq\operatorname{int}S for every s∈[0,1]s\in[0,1], then the same holds for BB.

Proof. Apply Theorem 3 at each ss. ∎

The bus–tunnel wording is the case where AA encloses the bus and BB encloses another vehicle in the same aligned frame. Both vehicles must admit the same motion. Entrance clearance or finitely many sampled poses does not establish the hypothesis for all ss.

Corollary 5 (Common safety margin). For ε≥0\varepsilon\geq0, if B⊆AB\subseteq A and T(A⊕B‾ε(0))⊆int⁡ST(A\oplus\overline B_\varepsilon(0))\subseteq\operatorname{int}S, then T(B⊕B‾ε(0))⊆int⁡ST(B\oplus\overline B_\varepsilon(0))\subseteq\operatorname{int}S.

Proof. Every b+ub+u with b∈Bb\in B and ∥u∥≤ε\|u\|\leq\varepsilon also lies in A⊕B‾ε(0)A\oplus\overline B_\varepsilon(0). Apply Lemma 2. ∎

For a rigid placement,

T(E⊕B‾ε(0))=T(E)⊕B‾ε(0),T(E\oplus\overline B_\varepsilon(0))=T(E)\oplus\overline B_\varepsilon(0),

because rotations preserve the Euclidean ball. This corollary uses a common margin. Unequal required margins need a containment check on the padded envelopes.

4. The containment order

Proposition 6. Inclusion on the nonempty compact subsets of R3\mathbb R^3 is a partial order, but not a total order.

Proof. Inclusion is reflexive and transitive, and A⊆BA\subseteq B together with B⊆AB\subseteq A implies A=BA=B. For non-totality, take

A=[0,1]×[0,3]×[0,1],B=[0,12]×[0,4]×[0,1].\begin{aligned}A&=[0,1]\times[0,3]\times[0,1],\\B&=[0,\tfrac12]\times[0,4]\times[0,1].\end{aligned}

The point (1,0,0)(1,0,0) belongs to A∖BA\setminus B, while (0,4,0)(0,4,0) belongs to B∖AB\setminus A. Hence neither set contains the other. ∎

Here vol⁡(B)=2<3=vol⁡(A)\operatorname{vol}(B)=2<3=\operatorname{vol}(A), yet B⊈AB\nsubseteq A. For example, AA strictly clears [−1,2]×[−1,72]×[−1,2][-1,2]\times[-1,\tfrac72]\times[-1,2] at the identity placement, whereas BB does not. Lower volume therefore does not transfer clearance. A common containing envelope may exist without a largest member of the family.

Remark 2 (Conservative bounds and physical scope). If an enclosing box clears, so does the geometry it encloses. Failure of the box does not imply failure of that geometry. Containment alone says nothing about steering limits, turning radius, ground support, load capacity, strength, friction, or deformation. Those belong to the admissibility model or to additional constraints.

5. Context and references

This implication belongs to the elementary monotonicity of direct images under inclusion. It is consistent with the conservative-envelope reasoning used in collision checking. LaValle treats rigid-body transformations and configuration-space obstacles [1]. Van den Bergen uses hierarchies of axis-aligned bounding boxes (AABB trees) for collision detection of deformable models [2]. Gilbert, Johnson, and Keerthi give an algorithm for distances between convex sets [3]. These references concern geometric modeling and computational methods; the implication above neither derives those algorithms nor supplies a new collision-detection algorithm.

  1. Steven M. LaValle. Planning Algorithms. Cambridge University Press, 2006. Chapters 3–4. Author's online book.
  2. Gino van den Bergen. Efficient collision detection of complex deformable models using AABB trees. Journal of Graphics Tools, 2(4), 1997. doi:10.1080/10867651.1997.10487480.
  3. Elmer G. Gilbert, Daniel W. Johnson, and S. Sathiya Keerthi. A fast procedure for computing the distance between complex objects in three-dimensional space. IEEE Journal of Robotics and Automation, 4(2):193–203, 1988. doi:10.1109/56.2083.