Class TTriangleOctreeNode
Unit
CastleTriangleOctree
Declaration
type TTriangleOctreeNode = class(TBaseTrianglesOctreeNode)
Description
no description available, TBaseTrianglesOctreeNode description follows no description available, TOctreeNode description follows
Octree node.
Leaf nodes store a list of indexes in ItemsIndices array. These are usuallly indexes to some array of items on TOctree. For the sake of this unit they are just some integers that uniquely describe items that you want to keep in octree leafs. The base abstract TOctreeNode class doesn't clarify what kind of items are actually kept.
Not leaf (internal) nodes have 8 children nodes in TreeSubNodes.
Each TOctreeNode also has some essential properties like Box, MiddlePoint and ParentTree.
Hierarchy
Overview
Methods
Properties
Description
Methods
 |
procedure PutItemIntoSubNodes(ItemIndex: integer); override; |
|
Properties
 |
property Items[ItemIndex:integer]: PTriangle read GetItems; |
Triangles stored in this octree leaf. This is a more comfortable way to access ItemsIndices array. Given ItemIndex indexes our ItemsIndices, and we return ParentTree.Triangles[ItemsIndices[ItemIndex]] .
|
Generated by PasDoc 0.13.0 on 2014-04-30 22:06:45
|