Class AABBTree
Inheritance
System.Object
AABBTree
Assembly: Eco.Core.dll
Syntax
public class AABBTree : Object
Constructors
AABBTree()
Declaration
Methods
Add(AABB, Object)
Declaration
public bool Add(AABB aabb, object obj)
Parameters
Type |
Name |
Description |
AABB |
aabb |
|
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Clear()
Declaration
GetObject(Vector3)
Declaration
public virtual object GetObject(Vector3 pos)
Parameters
Type |
Name |
Description |
System.Numerics.Vector3 |
pos |
|
Returns
Type |
Description |
System.Object |
|
GetObjects(AABB)
Declaration
public IEnumerable<object> GetObjects(AABB aabb)
Parameters
Type |
Name |
Description |
AABB |
aabb |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.Object> |
|
GetObjects(Sphere)
Declaration
public IEnumerable<object> GetObjects(Sphere sphere)
Parameters
Type |
Name |
Description |
Sphere |
sphere |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.Object> |
|
IntersectsAny(AABB)
Declaration
public bool IntersectsAny(AABB aabb)
Parameters
Type |
Name |
Description |
AABB |
aabb |
|
Returns
Type |
Description |
System.Boolean |
|
Remove(AABB)
Declaration
public bool Remove(AABB aabb)
Parameters
Type |
Name |
Description |
AABB |
aabb |
|
Returns
Type |
Description |
System.Boolean |
|
Remove(Vector3)
Declaration
public bool Remove(Vector3 position)
Parameters
Type |
Name |
Description |
System.Numerics.Vector3 |
position |
|
Returns
Type |
Description |
System.Boolean |
|
Remove(Vector3, Object)
Declaration
public bool Remove(Vector3 position, object obj)
Parameters
Type |
Name |
Description |
System.Numerics.Vector3 |
position |
|
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Extension Methods