Click or drag to resize
DigitalRuneAabbTreeTGetOverlaps Method (Vector3F, Pose, AabbTreeT, Vector3F, Pose, ListPairT)
Gets overlaps between all items of this spatial partition and the items of another spatial partition.

Namespace: DigitalRune.Geometry.Partitioning
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
public void GetOverlaps(
	Vector3F scale,
	Pose pose,
	AabbTree<T> otherTree,
	Vector3F otherScale,
	Pose otherPose,
	List<Pair<T>> overlaps
)

Parameters

scale
Type: DigitalRune.Mathematics.AlgebraVector3F
The scale of this spatial partition.
pose
Type: DigitalRune.GeometryPose
The pose of this spatial partition.
otherTree
Type: DigitalRune.Geometry.PartitioningAabbTreeT
The other spatial partition to test against.
otherScale
Type: DigitalRune.Mathematics.AlgebraVector3F
The scale of the otherTree.
otherPose
Type: DigitalRune.GeometryPose
The pose of the otherTree.
overlaps
Type: System.Collections.GenericListPairT
A list where all pairwise overlaps between items of this spatial partition and otherTree are added. In each PairT the first item (see First) is from this partition and the second item (see Second) is from otherTree.
Exceptions
ExceptionCondition
ArgumentNullExceptionotherTree is .
ArgumentNullExceptionoverlaps is .
Remarks

Both spatial partitions are unscaled and defined in local space. The scales and the poses transform the spatial partitions from their local space to world space. The scale is applied before the pose.

Filtering (see Filter) is applied to filter overlaps.

See Also