| BasePartitionTGetOverlaps 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.PartitioningAssembly: 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
)
Public Overridable Function GetOverlaps (
scale As Vector3F,
pose As Pose,
otherPartition As ISpatialPartition(Of T),
otherScale As Vector3F,
otherPose As Pose
) As IEnumerable(Of Pair(Of T))
public:
virtual IEnumerable<Pair<T>>^ GetOverlaps(
Vector3F scale,
Pose pose,
ISpatialPartition<T>^ otherPartition,
Vector3F otherScale,
Pose otherPose
)
abstract GetOverlaps :
scale : Vector3F *
pose : Pose *
otherPartition : ISpatialPartition<'T> *
otherScale : Vector3F *
otherPose : Pose -> IEnumerable<Pair<'T>>
override GetOverlaps :
scale : Vector3F *
pose : Pose *
otherPartition : ISpatialPartition<'T> *
otherScale : Vector3F *
otherPose : Pose -> IEnumerable<Pair<'T>>
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 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