![]() |
TrinityCore
|
#include <Position.h>
Classes | |
| struct | PositionXYStreamer |
| struct | PositionXYZOStreamer |
| struct | PositionXYZStreamer |
Public Member Functions | |
| Position (float x=0, float y=0, float z=0, float o=0) | |
| Position (Position const &loc) | |
| bool | operator== (Position const &a) |
| bool | operator!= (Position const &a) |
| void | Relocate (float x, float y) |
| void | Relocate (float x, float y, float z) |
| void | Relocate (float x, float y, float z, float orientation) |
| void | Relocate (Position const &pos) |
| void | Relocate (Position const *pos) |
| void | Relocate (G3D::Vector3 const &pos) |
| void | RelocateOffset (Position const &offset) |
| void | SetOrientation (float orientation) |
| float | GetPositionX () const |
| float | GetPositionY () const |
| float | GetPositionZ () const |
| float | GetOrientation () const |
| void | GetPosition (float &x, float &y) const |
| void | GetPosition (float &x, float &y, float &z) const |
| void | GetPosition (float &x, float &y, float &z, float &o) const |
| Position | GetPosition () const |
| Position::PositionXYStreamer | PositionXYStream () |
| Position::PositionXYZStreamer | PositionXYZStream () |
| Position::PositionXYZOStreamer | PositionXYZOStream () |
| bool | IsPositionValid () const |
| float | GetExactDist2dSq (float x, float y) const |
| float | GetExactDist2d (const float x, const float y) const |
| float | GetExactDist2dSq (Position const *pos) const |
| float | GetExactDist2d (Position const *pos) const |
| float | GetExactDistSq (float x, float y, float z) const |
| float | GetExactDist (float x, float y, float z) const |
| float | GetExactDistSq (Position const *pos) const |
| float | GetExactDist (Position const *pos) const |
| void | GetPositionOffsetTo (Position const &endPos, Position &retOffset) const |
| Position | GetPositionWithOffset (Position const &offset) const |
| float | GetAngle (Position const *pos) const |
| float | GetAngle (float x, float y) const |
| float | GetRelativeAngle (Position const *pos) const |
| float | GetRelativeAngle (float x, float y) const |
| void | GetSinCos (float x, float y, float &vsin, float &vcos) const |
| bool | IsInDist2d (float x, float y, float dist) const |
| bool | IsInDist2d (Position const *pos, float dist) const |
| bool | IsInDist (float x, float y, float z, float dist) const |
| bool | IsInDist (Position const *pos, float dist) const |
| bool | IsWithinBox (const Position ¢er, float xradius, float yradius, float zradius) const |
| bool | HasInArc (float arcangle, Position const *pos, float border=2.0f) const |
| bool | HasInLine (Position const *pos, float width) const |
| std::string | ToString () const |
Static Public Member Functions | |
| static float | NormalizeOrientation (float o) |
Public Attributes | |
| float | m_positionX |
| float | m_positionY |
| float | m_positionZ |
Private Attributes | |
| float | m_orientation |
|
inline |
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:| float Position::GetAngle | ( | float | x, |
| float | y | ||
| ) | const |
Here is the call graph for this function:
|
inline |
Here is the caller graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
|
inline |
|
inline |
Here is the caller graph for this function:
|
inline |
| void Position::GetSinCos | ( | float | x, |
| float | y, | ||
| float & | vsin, | ||
| float & | vcos | ||
| ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:| bool Position::IsPositionValid | ( | ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:| bool Position::IsWithinBox | ( | const Position & | center, |
| float | xradius, | ||
| float | yradius, | ||
| float | zradius | ||
| ) | const |
|
inlinestatic |
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the call graph for this function:
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:| std::string Position::ToString | ( | ) | const |
Here is the caller graph for this function:
|
private |
| float Position::m_positionX |
| float Position::m_positionY |
| float Position::m_positionZ |
1.8.8