"L. Spiro Engine"
Public Member Functions | Protected Attributes

lsp::CQuadTreeObject Class Reference

An object that can be fit into a quad-tree must inherit from this. More...

#include <LSPQuadTreeObject.h>

List of all members.

Public Member Functions

LSVOID LSE_CALL SetQuadTreeNode (CQuadTreeNode *_pqtnNode)
virtual const CAabb2d &LSE_CALL QuadTreeAabb () const =0
LSE_INLINE const CQuadTreeNode
*LSE_CALL 
QuadTreeNode () const

Protected Attributes

CQuadTreeNodem_pqtnNode

Detailed Description

An object that can be fit into a quad-tree must inherit from this.

Class CQuadTreeObject Description: An object that can be fit into a quad-tree must inherit from this.


Member Function Documentation

virtual const CAabb2d& LSE_CALL lsp::CQuadTreeObject::QuadTreeAabb ( ) const [pure virtual]

Must be overloaded to return a constant reference to a 2D AABB.

Returns:
Returns a constant reference to a 2D AABB.
LSE_INLINE const CQuadTreeNode *LSE_CALL lsp::CQuadTreeObject::QuadTreeNode ( ) const

Gets the quad-tree node into which this object is inserted.

Returns:
Returns the quad-tree node into which this object is inserted, if any.
LSVOID LSE_CALL lsp::CQuadTreeObject::SetQuadTreeNode ( CQuadTreeNode _pqtnNode)

Sets the quad-tree node into which this object has been inserted.

Parameters:
_pqtnNodeThe node into which this object has been inserted.

Member Data Documentation

The node to which this object has been added.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator