java.lang.Object
net.preibisch.mvrecon.process.interestpointregistration.pairwise.constellation.overlap.ParallelepipedOverlap

public class ParallelepipedOverlap extends Object
Tight overlap test for two affine-transformed voxel cubes (parallelepipeds in world space) via the 3-D Separating Axis Theorem (SAT). Used as a narrow-phase refinement on top of SimpleBoundingBoxOverlap's AABB broad phase. SAT for two convex parallelepipeds checks 15 candidate separating axes:
  • 3 face normals from each box (= 6) — cross products of edge pairs at corner 0.
  • 9 edge-cross-products (3 from A × 3 from B).
For each axis, project all 8 corners of each box and compare the resulting 1-D intervals. Near-zero-length axes (parallel edges, 2-D views, etc.) are skipped — those degeneracies never separate the volumes.