Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 220.127.116.11 (18.104.22.16890)
public class AabbTree<T> : BasePartition<T>, ISupportClosestPointQueries<T>
Public Class AabbTree(Of T) _ Inherits BasePartition(Of T) _ Implements ISupportClosestPointQueries(Of T)
generic<typename T> public ref class AabbTree : public BasePartition<T>, ISupportClosestPointQueries<T>
- The type of item in the spatial partition.
partitions are good for partitioning static models or spaces where items are not changed at runtime or when the changes are small or local. For example, an is appropriate for managing large static triangle meshes efficiently. But they are not suitable for dynamic models or spaces where items are added/removed at runtime or when the large changes are applied to items.
Special handling of self-overlaps in GetOverlaps(ISpatialPartition<(Of <<'(T>)>>)): If GetOverlaps(ISpatialPartition<(Of <<'(T>)>>)) is used to test an AABB tree against itself then overlaps of an item with itself are not returned; that means, each item A overlaps with itself but (A, A) is not returned. And if two different items overlap, only one overlap is returned, for example: If item A and item B overlap (A, B) or (B, A) is returned but not both.