#include "AreaBoundary.h"
◆ ParallelogramBoundary()
ParallelogramBoundary::ParallelogramBoundary |
( |
Position const & |
cornerA, |
|
|
Position const & |
cornerB, |
|
|
Position const & |
cornerD, |
|
|
bool |
isInverted = false |
|
) |
| |
74 :
Definition: AreaBoundary.h:24
double GetDoublePositionY() const
Definition: AreaBoundary.h:46
double GetDoublePositionX() const
Definition: AreaBoundary.h:45
double const _day
Definition: AreaBoundary.h:139
DoublePosition const _d
Definition: AreaBoundary.h:138
DoublePosition const _c
Definition: AreaBoundary.h:138
double const _abx
Definition: AreaBoundary.h:139
DoublePosition const _b
Definition: AreaBoundary.h:138
double const _dax
Definition: AreaBoundary.h:139
DoublePosition const _a
Definition: AreaBoundary.h:138
double const _aby
Definition: AreaBoundary.h:139
◆ IsWithinBoundaryArea()
bool ParallelogramBoundary::IsWithinBoundaryArea |
( |
Position const * |
pos | ) |
const |
|
overrideprotectedvirtual |
Implements AreaBoundary.
77{
78
83
84
85 return ((sign1 == sign2) && (sign2 == sign3) && (sign3 == sign4));
86}
References _a, _abx, _aby, _b, _c, _d, _dax, _day, AreaBoundary::DoublePosition::GetDoublePositionX(), AreaBoundary::DoublePosition::GetDoublePositionY(), Position::GetPositionX(), and Position::GetPositionY().
◆ _a
◆ _abx
double const ParallelogramBoundary::_abx |
|
private |
◆ _aby
double const ParallelogramBoundary::_aby |
|
private |
◆ _b
◆ _c
◆ _d
◆ _dax
double const ParallelogramBoundary::_dax |
|
private |
◆ _day
double const ParallelogramBoundary::_day |
|
private |