Mathematics: Distance 3D

The following table shows what queries are implemented and gives you an easy lookup for the source code. The acronyms are point (PNT), line (LIN), ray (RAY), segment (SEG), plane (PLN), triangle (TRI), rectangle (RCT), circle (CIR), ellipse (ELL), canonical box (CBX), aligned box (ABX), oriented box (OBX), orthogonal frustum (FRU), tetrahedron (TET), polyhedron (PHD), halfspace (HSP), sphere (SPH), ellipsoid (EPD), capsule (CAP), cone (CON), cylinder (CYL) and torus (TOR). Selecting a table entry will load the source code in a separate browser tab. If you are looking for a query that is not in this table, send us a request and we will try to schedule time to implement it.

  PNT LIN RAY SEG PLN TRI RCT CIR ELL CBX ABX OBX FRU TET PHD HSP SPH EPD CAP CON CYL TOR
PNT
LIN
RAY
SEG
PLN
TRI
RCT
CIR
ELL
CBX
ABX
OBX
FRU
TET
PHD
HSP
SPH
EPD
CAP
CON
CYL
TOR



Template definition for distance and closest-point queries.
Point-linear distance queries.
Point-planar distance queries.
Point-volumetric distance queries.
Linear-linear distance queries.
Linear-planar distance queries.
Linear-volumetric distance queries.
Planar-planar distance queries.
Planar-volumetric distance queries.
Volumetric-volumetric distance queries.