AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "AreaBoundary.h"
Public Member Functions | |
EllipseBoundary (Position const ¢er, double radiusX, double radiusY, bool isInverted=false) | |
Public Member Functions inherited from AreaBoundary | |
bool | IsWithinBoundary (Position const *pos) const |
bool | IsWithinBoundary (Position const &pos) const |
virtual | ~AreaBoundary () |
Protected Member Functions | |
bool | IsWithinBoundaryArea (Position const *pos) const override |
Protected Member Functions inherited from AreaBoundary | |
AreaBoundary (bool isInverted) | |
virtual bool | IsWithinBoundaryArea (Position const *pos) const =0 |
Private Attributes | |
DoublePosition const | _center |
double const | _radiusYSq |
double const | _scaleXSq |
EllipseBoundary::EllipseBoundary | ( | Position const & | center, |
double | radiusX, | ||
double | radiusY, | ||
bool | isInverted = false |
||
) |
|
overrideprotectedvirtual |
Implements AreaBoundary.
References _center, _radiusYSq, _scaleXSq, AreaBoundary::DoublePosition::GetDoublePositionX(), AreaBoundary::DoublePosition::GetDoublePositionY(), Position::GetPositionX(), and Position::GetPositionY().
|
private |
Referenced by IsWithinBoundaryArea().
|
private |
Referenced by IsWithinBoundaryArea().
|
private |
Referenced by IsWithinBoundaryArea().