Class TRbwIntervalTree

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TRbwIntervalTree = class(TObject)

Description

TRbwIntervalTree is used to find objects that enclose a particular location. For each dimension of the object there must be a TIntervalDefinition that defines the extents for all objects to be added to TRbwIntervalTree and a procedure for determining the extent of the object being added. The TIntervalDefinitions are contained in a TIntDefArray that is passed to TRbwIntervalTree in Create. FindContainingObjects is used to find the objects that contain a particular location. The location is specified in a TOneDRealArray which must have the same length as the TIntDefArray passed in the constructor.

Hierarchy

Overview

Fields

Private FIntervalTree: IIntervalTree;

Methods

Private function GetOwnsObjects: Boolean;
Private procedure SetOwnsObjects(const Value: Boolean);
Public Constructor Create(IntervalDefinitions: TIntDefArray);
Public Destructor Destroy; override;
Public procedure Add(AnObject: TObject);
Public procedure FindContainingObjects(Point: TOneDRealArray; List: TList);

Properties

Public property OwnsObjects: Boolean read GetOwnsObjects write SetOwnsObjects;

Description

Fields

Private FIntervalTree: IIntervalTree;
 

Methods

Private function GetOwnsObjects: Boolean;
 
Private procedure SetOwnsObjects(const Value: Boolean);
 
Public Constructor Create(IntervalDefinitions: TIntDefArray);
 
Public Destructor Destroy; override;
 
Public procedure Add(AnObject: TObject);
 
Public procedure FindContainingObjects(Point: TOneDRealArray; List: TList);
 

Properties

Public property OwnsObjects: Boolean read GetOwnsObjects write SetOwnsObjects;
 

Generated by PasDoc 0.12.1 on 2013-05-13 15:41:43