ISpatialEntityTrait
Description
- Extended by
-
SpatialOctree_Lines_Entity sealed
SpatialOctree_Points_Entity sealed
SpatialOctree_Triangles_Entity sealed
SpatialQuadtree_Lines_Entity sealed
SpatialQuadtree_Points_Entity sealed
SpatialQuadtree_Triangles_Entity sealed
Type trait for structures that provide the semantic of spatial tree node entities.
Public / Methods
BoundsIntersect
Checks if the given spatial entity intersects with the specified bounds.
This method is only called when a spatial entity is being added to the tree. Use Prepare to pre-compute coefficients.
Equals
Checks if the given spatial entities are equal.
Two spatial entities are considered to be equal if BoundsIntersect returns the same value for both entities, given any bounds.