Castle Game Engine: CastleShapeOctree: Class TShapeOctree

# Class TShapeOctree
Description | Hierarchy | Fields | Methods | Properties
## Unit CastleShapeOctree ## Declaration `type TShapeOctree = class(TBaseTrianglesOctree)` ## Description no description available, TBaseTrianglesOctree description follows Abstract class for octrees that can check and return collisions with TTriangle. Octree node class used by this must be a TBaseTrianglesOctreeNode descendant. In a simple case, this is an ancestor of TTriangleOctree, that is just an octree storing TTriangle. But it's also an ancestor of TShapeOctree, since each shape has also a triangle octree. This way, TShapeOctree can calculate collisions with TTriangle, even though it doesn't directly store TTriangle items. ## Hierarchy TObject TOctree TBaseTrianglesOctree TShapeOctree ## Overview ### Methods
| `function StatisticsBonus( const LeavesCount, ItemsCount, NonLeafNodesCount: Int64): string; override;`
| `constructor Create(const ALimits: TOctreeLimits; const ARootBox: TBox3D; AShapesList: TShapeList; AOwnsShapesList: boolean);`
| `destructor Destroy; override;`
| `function TreeRoot: TShapeOctreeNode;`
| `procedure EnumerateTriangles(EnumerateTriangleFunc: TEnumerateTriangleFunc); override;`
| `function TrianglesCount: Cardinal; override;`
### Properties
| `property ShapesList: TShapeList read FShapesList;`
| `property OwnsShapesList: boolean read FOwnsShapesList;`
## Description ### Methods
| `function StatisticsBonus( const LeavesCount, ItemsCount, NonLeafNodesCount: Int64): string; override;`
| `constructor Create(const ALimits: TOctreeLimits; const ARootBox: TBox3D; AShapesList: TShapeList; AOwnsShapesList: boolean);`
| `destructor Destroy; override;`
| `function TreeRoot: TShapeOctreeNode;`
| `procedure EnumerateTriangles(EnumerateTriangleFunc: TEnumerateTriangleFunc); override;`
| `function TrianglesCount: Cardinal; override;`
### Properties
| `property ShapesList: TShapeList read FShapesList;`
| `property OwnsShapesList: boolean read FOwnsShapesList;`
Generated by PasDoc 0.13.0 on 2015-06-15 04:43:11