![]() |
TrinityCore
|
#include <ObjectPosSelector.h>
Classes | |
| struct | UsedPos |
Public Types | |
| typedef std::multimap< float, UsedPos > | UsedPosList |
Public Member Functions | |
| ObjectPosSelector (float x, float y, float size, float dist) | |
| void | AddUsedPos (float size, float angle, float dist) |
| void | InitializeAngle () |
| bool | FirstAngle (float &angle) |
| bool | NextAngle (float &angle) |
| bool | NextUsedAngle (float &angle) |
| bool | NextPosibleAngle (float &angle) |
| bool | CheckAngle (UsedPosList::value_type const &nextUsedPos, float sign, float angle) const |
| bool | CheckOriginal () const |
| bool | IsNonBalanced () const |
| bool | NextAngleFor (UsedPosList::value_type const &usedPos, float sign, UsedPosType uptype, float &angle) |
| bool | NextSmallStepAngle (float sign, UsedPosType uptype, float &angle) |
| UsedPosList::value_type const * | nextUsedPos (UsedPosType uptype) |
| float | GetAngle (UsedPos const &usedPos) const |
Public Attributes | |
| float | m_center_x |
| float | m_center_y |
| float | m_size |
| float | m_dist |
| float | m_anglestep |
| UsedPosList | m_UsedPosLists [2] |
| UsedPosList::const_iterator | m_nextUsedPos [2] |
| float | m_smallStepAngle [2] |
| bool | m_smallStepOk [2] |
| UsedPosList::value_type const * | m_smallStepNextUsedPos [2] |
| typedef std::multimap<float, UsedPos> ObjectPosSelector::UsedPosList |
| ObjectPosSelector::ObjectPosSelector | ( | float | x, |
| float | y, | ||
| float | size, | ||
| float | dist | ||
| ) |
Here is the call graph for this function:| void ObjectPosSelector::AddUsedPos | ( | float | size, |
| float | angle, | ||
| float | dist | ||
| ) |
|
inline |
|
inline |
| bool ObjectPosSelector::FirstAngle | ( | float & | angle | ) |
Here is the call graph for this function:
Here is the call graph for this function:| void ObjectPosSelector::InitializeAngle | ( | ) |
|
inline |
| bool ObjectPosSelector::NextAngle | ( | float & | angle | ) |
Here is the call graph for this function:
|
inline |
Here is the call graph for this function:
Here is the caller graph for this function:| bool ObjectPosSelector::NextPosibleAngle | ( | float & | angle | ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the call graph for this function:
Here is the caller graph for this function:| bool ObjectPosSelector::NextUsedAngle | ( | float & | angle | ) |
Here is the call graph for this function:| ObjectPosSelector::UsedPosList::value_type const * ObjectPosSelector::nextUsedPos | ( | UsedPosType | uptype | ) |
| float ObjectPosSelector::m_anglestep |
| float ObjectPosSelector::m_center_x |
| float ObjectPosSelector::m_center_y |
| float ObjectPosSelector::m_dist |
| UsedPosList::const_iterator ObjectPosSelector::m_nextUsedPos[2] |
| float ObjectPosSelector::m_size |
| float ObjectPosSelector::m_smallStepAngle[2] |
| UsedPosList::value_type const* ObjectPosSelector::m_smallStepNextUsedPos[2] |
| bool ObjectPosSelector::m_smallStepOk[2] |
| UsedPosList ObjectPosSelector::m_UsedPosLists[2] |
1.8.8