Module physics/distances-3d
Functions
pointLine3dDistance
- pointLine3dDistance(aStartX: number, aStartY: number, aStartZ: number, aEndX: number, aEndY: number, aEndZ: number, bCenterX: number, bCenterY: number, bCenterZ: number): number
-
Parameters
-
aStartX: number
-
aStartY: number
-
aStartZ: number
-
aEndX: number
-
aEndY: number
-
aEndZ: number
-
bCenterX: number
-
bCenterY: number
-
bCenterZ: number
Returns number
pointNormalPlane3dDistance
-
Parameters
Returns number
pointPoint3dDistance
- pointPoint3dDistance(ax: number, ay: number, az: number, bx: number, by: number, bz: number): number
-
Parameters
-
ax: number
-
ay: number
-
az: number
-
bx: number
-
by: number
-
bz: number
Returns number
pointPointSqr3dDistance
- pointPointSqr3dDistance(ax: number, ay: number, az: number, bx: number, by: number, bz: number): number
-
Parameters
-
ax: number
-
ay: number
-
az: number
-
bx: number
-
by: number
-
bz: number
Returns number
vectorPoint3dDistance
- vectorPoint3dDistance(startX: number, startY: number, startZ: number, endX: number, endY: number, endZ: number, pointX: number, pointY: number, pointZ: number): number
-
Parameters
-
startX: number
-
startY: number
-
startZ: number
-
endX: number
-
endY: number
-
endZ: number
-
pointX: number
-
pointY: number
-
pointZ: number
Returns number