#include "AreaBoundary.h"
◆ TriangleBoundary()
TriangleBoundary::TriangleBoundary |
( |
Position const & |
pointA, |
|
|
Position const & |
pointB, |
|
|
Position const & |
pointC, |
|
|
bool |
isInverted = false |
|
) |
| |
60 :
Definition: AreaBoundary.h:24
double GetDoublePositionY() const
Definition: AreaBoundary.h:46
double GetDoublePositionX() const
Definition: AreaBoundary.h:45
double const _bcx
Definition: AreaBoundary.h:125
DoublePosition const _a
Definition: AreaBoundary.h:124
double const _abx
Definition: AreaBoundary.h:125
double const _aby
Definition: AreaBoundary.h:125
double const _cax
Definition: AreaBoundary.h:125
DoublePosition const _c
Definition: AreaBoundary.h:124
DoublePosition const _b
Definition: AreaBoundary.h:124
double const _cay
Definition: AreaBoundary.h:125
double const _bcy
Definition: AreaBoundary.h:125
◆ IsWithinBoundaryArea()
bool TriangleBoundary::IsWithinBoundaryArea |
( |
Position const * |
pos | ) |
const |
|
overrideprotectedvirtual |
Implements AreaBoundary.
63{
64
68
69
70 return ((sign1 == sign2) && (sign2 == sign3));
71}
References _a, _abx, _aby, _b, _bcx, _bcy, _c, _cax, _cay, AreaBoundary::DoublePosition::GetDoublePositionX(), AreaBoundary::DoublePosition::GetDoublePositionY(), Position::GetPositionX(), and Position::GetPositionY().
◆ _a
◆ _abx
double const TriangleBoundary::_abx |
|
private |
◆ _aby
double const TriangleBoundary::_aby |
|
private |
◆ _b
◆ _bcx
double const TriangleBoundary::_bcx |
|
private |
◆ _bcy
double const TriangleBoundary::_bcy |
|
private |
◆ _c
◆ _cax
double const TriangleBoundary::_cax |
|
private |
◆ _cay
double const TriangleBoundary::_cay |
|
private |