C# Class UQtAlgo, uquadtree

Afficher le fichier Open project: mc-gulu/uquadtree Class Usage Examples

Méthodes publiques

Méthode Description
BuildRecursively ( UQtNode, node ) : void
FindLeafRecursively ( UQtNode, node, Vector2 point ) : UQtLeaf,
GenerateSwappingLeaves ( UQtNode, node, UQtLeaf, active, List holdingLeaves, List &inLeaves, List &outLeaves ) : void
Intersects ( Rect nodeBound, IQtUserData userData ) : bool
Intersects ( Rect nodeBound, Vector2 targetCenter, float targetRadius ) : bool
TraverseAllLeaves ( UQtNode, node, UQtForeachLeaf func ) : void

Private Methods

Méthode Description
GenerateLeavesByDist ( UQtNode, node, UQtLeaf, active, float dist, List &leaves ) : void

Method Details

BuildRecursively() public static méthode

public static BuildRecursively ( UQtNode, node ) : void
node UQtNode,
Résultat void

FindLeafRecursively() public static méthode

public static FindLeafRecursively ( UQtNode, node, Vector2 point ) : UQtLeaf,
node UQtNode,
point Vector2
Résultat UQtLeaf,

GenerateSwappingLeaves() public static méthode

public static GenerateSwappingLeaves ( UQtNode, node, UQtLeaf, active, List holdingLeaves, List &inLeaves, List &outLeaves ) : void
node UQtNode,
active UQtLeaf,
holdingLeaves List
inLeaves List
outLeaves List
Résultat void

Intersects() public static méthode

public static Intersects ( Rect nodeBound, IQtUserData userData ) : bool
nodeBound Rect
userData IQtUserData
Résultat bool

Intersects() public static méthode

public static Intersects ( Rect nodeBound, Vector2 targetCenter, float targetRadius ) : bool
nodeBound Rect
targetCenter Vector2
targetRadius float
Résultat bool

TraverseAllLeaves() public static méthode

public static TraverseAllLeaves ( UQtNode, node, UQtForeachLeaf func ) : void
node UQtNode,
func UQtForeachLeaf
Résultat void