![]() |
TrinityCore
|
#include <Position.h>
Inheritance diagram for Position:Classes | |
| struct | ConstStreamer |
| struct | Streamer |
Public Member Functions | |
| Position () | |
| Position (float x, float y, float z=0.0f, float o=0.0f) | |
| bool | operator== (Position const &a) const |
| void | Relocate (float x, float y) |
| void | Relocate (float x, float y, float z) |
| void | Relocate (float x, float y, float z, float o) |
| void | Relocate (Position const &pos) |
| void | Relocate (Position 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 |
| Streamer< XY > | PositionXYStream () |
| ConstStreamer< XY > | PositionXYStream () const |
| Streamer< XYZ > | PositionXYZStream () |
| ConstStreamer< XYZ > | PositionXYZStream () const |
| Streamer< XYZO > | PositionXYZOStream () |
| ConstStreamer< XYZO > | PositionXYZOStream () const |
| Streamer< PackedXYZ > | PositionPackedXYZStream () |
| ConstStreamer< PackedXYZ > | PositionPackedXYZStream () const |
| bool | IsPositionValid () const |
| float | GetExactDist2dSq (const float x, const float y) const |
| float | GetExactDist2dSq (Position const &pos) const |
| float | GetExactDist2dSq (Position const *pos) const |
| float | GetExactDist2d (const float x, const float y) const |
| float | GetExactDist2d (Position const &pos) const |
| float | GetExactDist2d (Position const *pos) const |
| float | GetExactDistSq (float x, float y, float z) const |
| float | GetExactDistSq (Position const &pos) const |
| float | GetExactDistSq (Position const *pos) const |
| float | GetExactDist (float x, float y, float z) const |
| float | GetExactDist (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 | GetAbsoluteAngle (float x, float y) const |
| float | GetAbsoluteAngle (Position const &pos) const |
| float | GetAbsoluteAngle (Position const *pos) const |
| float | ToAbsoluteAngle (float relAngle) const |
| float | ToRelativeAngle (float absAngle) const |
| float | GetRelativeAngle (float x, float y) const |
| float | GetRelativeAngle (Position const &pos) const |
| float | GetRelativeAngle (Position const *pos) 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 | IsInDist (Position const *pos, float dist) const |
| bool | IsWithinBox (Position const ¢er, float xradius, float yradius, float zradius) const |
| bool | IsWithinDoubleVerticalCylinder (Position const *center, float radius, float height) const |
| bool | HasInArc (float arcangle, Position const *pos, float border=2.0f) const |
| bool | HasInLine (Position const *pos, float objSize, 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 |
Definition at line 27 of file Position.h.
|
inline |
|
inline |
Definition at line 32 of file Position.h.
|
inline |
|
inline |
Definition at line 134 of file Position.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 135 of file Position.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
|
inline |
Definition at line 122 of file Position.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 123 of file Position.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
|
inline |
Definition at line 110 of file Position.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 111 of file Position.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
|
inline |
Definition at line 106 of file Position.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 107 of file Position.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
|
inline |
Definition at line 118 of file Position.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 119 of file Position.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 82 of file Position.h.
|
inline |
|
inline |
|
inline |
Definition at line 85 of file Position.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 86 of file Position.h.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 49 of file Position.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 60 of file Position.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 79 of file Position.h.
|
inline |
Definition at line 80 of file Position.h.
|
inline |
Definition at line 81 of file Position.h.
|
inline |
|
inline |
Definition at line 140 of file Position.h.
|
inline |
Definition at line 141 of file Position.h.
| void Position::GetSinCos | ( | float | x, |
| float | y, | ||
| float & | vsin, | ||
| float & | vcos | ||
| ) | const |
Definition at line 67 of file Position.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| bool Position::HasInArc | ( | float | arcangle, |
| Position const * | pos, | ||
| float | border = 2.0f |
||
| ) | const |
Definition at line 120 of file Position.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| bool Position::HasInLine | ( | Position const * | pos, |
| float | objSize, | ||
| float | width | ||
| ) | const |
Definition at line 139 of file Position.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
|
inline |
Definition at line 149 of file Position.h.
|
inline |
Definition at line 150 of file Position.h.
|
inline |
|
inline |
Definition at line 146 of file Position.h.
| bool Position::IsPositionValid | ( | ) | const |
Definition at line 44 of file Position.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| bool Position::IsWithinBox | ( | Position const & | center, |
| float | xradius, | ||
| float | yradius, | ||
| float | zradius | ||
| ) | const |
Definition at line 86 of file Position.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| bool Position::IsWithinDoubleVerticalCylinder | ( | Position const * | center, |
| float | radius, | ||
| float | height | ||
| ) | const |
Definition at line 114 of file Position.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
| bool Position::operator== | ( | Position const & | a | ) | const |
Definition at line 28 of file Position.cpp.
|
inline |
Definition at line 95 of file Position.h.
|
inline |
Definition at line 96 of file Position.h.
|
inline |
Definition at line 89 of file Position.h.
|
inline |
Definition at line 90 of file Position.h.
|
inline |
|
inline |
Definition at line 94 of file Position.h.
|
inline |
|
inline |
Definition at line 92 of file Position.h.
|
inline |
|
inline |
Definition at line 67 of file Position.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 68 of file Position.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 69 of file Position.h.
|
inline |
Definition at line 70 of file Position.h.
| void Position::RelocateOffset | ( | Position const & | offset | ) |
Definition at line 36 of file Position.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
|
inline |
|
inline |
Definition at line 138 of file Position.h.
| std::string Position::ToString | ( | ) | const |
|
private |
Definition at line 61 of file Position.h.
| float Position::m_positionX |
Definition at line 56 of file Position.h.
| float Position::m_positionY |
Definition at line 57 of file Position.h.
| float Position::m_positionZ |
Definition at line 58 of file Position.h.