Click or drag to resize
DigitalRuneBasePartitionTGetOverlaps Method (Vector3F, Pose, ISpatialPartitionT, Vector3F, Pose)
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 virtual IEnumerable<Pair<T>> GetOverlaps(
	Vector3F scale,
	Pose pose,
	ISpatialPartition<T> otherPartition,
	Vector3F otherScale,
	Pose otherPose
)

Parameters

scale
Type: DigitalRune.Mathematics.AlgebraVector3F
The scale of this spatial partition.
pose
Type: DigitalRune.GeometryPose
The pose of this spatial partition.
otherPartition
Type: DigitalRune.Geometry.PartitioningISpatialPartitionT
The other spatial partition to test against.
otherScale
Type: DigitalRune.Mathematics.AlgebraVector3F
The scale of the otherPartition.
otherPose
Type: DigitalRune.GeometryPose
The pose of the otherPartition.

Return Value

Type: IEnumerablePairT
All pairwise overlaps between items of this spatial partition and otherPartition. In each returned PairT the first item (see First) is from this partition and the second item (see Second) is from otherPartition.

Implements

ISpatialPartitionTGetOverlaps(Vector3F, Pose, ISpatialPartitionT, Vector3F, Pose)
Exceptions
ExceptionCondition
ArgumentNullExceptionotherPartition 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