TrinityCore
Loading...
Searching...
No Matches
RegularGrid2D< T, Node, NodeCreatorFunc, BoundsFunc >::Cell Struct Reference

#include <RegularGrid.h>

Public Member Functions

bool isValid () const
 

Static Public Member Functions

static Cell ComputeCell (float fx, float fy)
 

Public Attributes

int x
 
int y
 

Friends

bool operator== (Cell const &, Cell const &)=default
 

Detailed Description

template<class T, class Node, class NodeCreatorFunc = NodeCreator<Node>, class BoundsFunc = BoundsTrait<T>>
struct RegularGrid2D< T, Node, NodeCreatorFunc, BoundsFunc >::Cell

Definition at line 90 of file RegularGrid.h.

Member Function Documentation

◆ ComputeCell()

template<class T , class Node , class NodeCreatorFunc = NodeCreator<Node>, class BoundsFunc = BoundsTrait<T>>
static Cell RegularGrid2D< T, Node, NodeCreatorFunc, BoundsFunc >::Cell::ComputeCell ( float  fx,
float  fy 
)
inlinestatic

Definition at line 96 of file RegularGrid.h.

◆ isValid()

template<class T , class Node , class NodeCreatorFunc = NodeCreator<Node>, class BoundsFunc = BoundsTrait<T>>
bool RegularGrid2D< T, Node, NodeCreatorFunc, BoundsFunc >::Cell::isValid ( ) const
inline

Definition at line 101 of file RegularGrid.h.

+ Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ operator==

template<class T , class Node , class NodeCreatorFunc = NodeCreator<Node>, class BoundsFunc = BoundsTrait<T>>
bool operator== ( Cell const &  ,
Cell const &   
)
friend

Member Data Documentation

◆ x

template<class T , class Node , class NodeCreatorFunc = NodeCreator<Node>, class BoundsFunc = BoundsTrait<T>>
int RegularGrid2D< T, Node, NodeCreatorFunc, BoundsFunc >::Cell::x

Definition at line 92 of file RegularGrid.h.

◆ y

template<class T , class Node , class NodeCreatorFunc = NodeCreator<Node>, class BoundsFunc = BoundsTrait<T>>
int RegularGrid2D< T, Node, NodeCreatorFunc, BoundsFunc >::Cell::y

Definition at line 92 of file RegularGrid.h.


The documentation for this struct was generated from the following file: