Class TriTree
A wrapper provides native tree-grid-based structure. It wraps NativeStl.
public class TriTree : IDisposable, IGetTriTree, ICollidee, ICollidable, IExpandToBox3d, IGetCollidable
- Inheritance
-
TriTree
- Implements
- Inherited Members
- Extension Methods
Constructors
TriTree(NativeStl)
Ctor.
public TriTree(NativeStl nativeStl)
Parameters
nativeStlNativeStlNative Stl
Properties
NativeStl
For internal.
public NativeStl NativeStl { get; set; }
Property Value
TriTreePtr
For internal.
public nint TriTreePtr { get; set; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Remarks
If NativeStl is disposed, this object will also be disposed.
Dispose(bool)
protected virtual void Dispose(bool disposing)
Parameters
disposingbool
ExpandToBox3d(ref box3d_t)
Expands the destination box.
This function is usually used to compute the bounding box of elements.
box3d_t is a value type, so the destination is passed by reference
(the C++ expand_to_box3d(box3&) shape); an implementation writes
dst = dst.Expanded(...) or forwards ref dst to its parts.
public void ExpandToBox3d(ref box3d_t dst)
Parameters
dstbox3d_tDestination box, expanded in place
~TriTree()
protected ~TriTree()
GetCollidable()
Get ICollidable.
public ICollidable GetCollidable()
Returns
- ICollidable
The collidable object.
GetCollidee()
Get ICollidee.
public ICollidee GetCollidee()
Returns
GetTriTree()
Get TriTree.
public TriTree GetTriTree()