Class TShapeOctree

DescriptionHierarchyFieldsMethodsProperties

Unit

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

Overview

Methods

Protected function StatisticsBonus( const LeavesCount, ItemsCount, NonLeafNodesCount: Int64): string; override;
Public constructor Create(const ALimits: TOctreeLimits; const ARootBox: TBox3D; AShapesList: TShapeList; AOwnsShapesList: boolean);
Public destructor Destroy; override;
Public function TreeRoot: TShapeOctreeNode;
Public procedure EnumerateTriangles(EnumerateTriangleFunc: TEnumerateTriangleFunc); override;
Public function TrianglesCount: Cardinal; override;

Properties

Public property ShapesList: TShapeList read FShapesList;
Public property OwnsShapesList: boolean read FOwnsShapesList;

Description

Methods

Protected function StatisticsBonus( const LeavesCount, ItemsCount, NonLeafNodesCount: Int64): string; override;
 
Public constructor Create(const ALimits: TOctreeLimits; const ARootBox: TBox3D; AShapesList: TShapeList; AOwnsShapesList: boolean);
 
Public destructor Destroy; override;
 
Public function TreeRoot: TShapeOctreeNode;
 
Public procedure EnumerateTriangles(EnumerateTriangleFunc: TEnumerateTriangleFunc); override;
 
Public function TrianglesCount: Cardinal; override;
 

Properties

Public property ShapesList: TShapeList read FShapesList;
 
Public property OwnsShapesList: boolean read FOwnsShapesList;
 

Generated by PasDoc 0.13.0 on 2014-10-26 05:15:14