AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
AreaBoundary Class Referenceabstract

#include "AreaBoundary.h"

Inheritance diagram for AreaBoundary:
BoundaryIntersectBoundary BoundaryUnionBoundary CircleBoundary EllipseBoundary ParallelogramBoundary RectangleBoundary TriangleBoundary ZRangeBoundary

Classes

struct  DoublePosition
 

Public Member Functions

bool IsWithinBoundary (Position const *pos) const
 
bool IsWithinBoundary (Position const &pos) const
 
virtual ~AreaBoundary ()
 

Protected Member Functions

 AreaBoundary (bool isInverted)
 
virtual bool IsWithinBoundaryArea (Position const *pos) const =0
 

Private Attributes

bool _isInvertedBoundary
 

Detailed Description

Constructor & Destructor Documentation

◆ ~AreaBoundary()

virtual AreaBoundary::~AreaBoundary ( )
inlinevirtual
29{ }

◆ AreaBoundary()

AreaBoundary::AreaBoundary ( bool  isInverted)
inlineexplicitprotected
32: _isInvertedBoundary(isInverted) { }
bool _isInvertedBoundary
Definition: AreaBoundary.h:72

Member Function Documentation

◆ IsWithinBoundary() [1/2]

bool AreaBoundary::IsWithinBoundary ( Position const &  pos) const
inline
27{ return IsWithinBoundary(&pos); }
bool IsWithinBoundary(Position const *pos) const
Definition: AreaBoundary.h:26

References IsWithinBoundary().

Referenced by IsWithinBoundary().

◆ IsWithinBoundary() [2/2]

bool AreaBoundary::IsWithinBoundary ( Position const *  pos) const
inline

◆ IsWithinBoundaryArea()

virtual bool AreaBoundary::IsWithinBoundaryArea ( Position const *  pos) const
protectedpure virtual

Member Data Documentation

◆ _isInvertedBoundary

bool AreaBoundary::_isInvertedBoundary
private