Table of Contents

Class TriTree

Namespace
Hi.Collision
Assembly
HiCbtr.dll

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

nativeStl NativeStl

Native Stl

Properties

CollisionFlag

Gets or sets the collision flag.

public CollisionFlag CollisionFlag { get; set; }

Property Value

CollisionFlag

NativeStl

For internal.

public NativeStl NativeStl { get; set; }

Property Value

NativeStl

TriTreePtr

For internal.

public nint TriTreePtr { get; set; }

Property Value

nint

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

disposing bool

ExpandToBox3d(Box3d)

Expands the destination box. This function is usually used to compute the bounding box of elements.

public void ExpandToBox3d(Box3d dst)

Parameters

dst Box3d

Destination box

~TriTree()

protected ~TriTree()

GetCollidable()

public ICollidable GetCollidable()

Returns

ICollidable

The collidable object.

GetCollidee()

Get ICollidee.

public ICollidee GetCollidee()

Returns

ICollidee

ICollidee

GetTriTree()

Get TriTree.

public TriTree GetTriTree()

Returns

TriTree

TriTree