Click or drag to resize
DigitalRuneGeometryHelperGetDistance Method (Aabb, Aabb)
Computes the distance between the two axis-aligned bounding boxes (AABBs).

Namespace: DigitalRune.Geometry
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
public static float GetDistance(
	Aabb aabbA,
	Aabb aabbB
)

Parameters

aabbA
Type: DigitalRune.Geometry.ShapesAabb
The first AABB.
aabbB
Type: DigitalRune.Geometry.ShapesAabb
The second AABB.

Return Value

Type: Single
The distance between the two AABBs. 0 if the AABB are touching or intersecting.
See Also