#include <AreaBoundary.h>
76 TriangleBoundary(DoublePosition(pointA), DoublePosition(pointB), DoublePosition(pointC), isInverted) { }
TriangleBoundary(Position const &pointA, Position const &pointB, Position const &pointC, bool isInverted=false)
Definition: AreaBoundary.cpp:75
TriangleBoundary::TriangleBoundary |
( |
DoublePosition const & |
pointA, |
|
|
DoublePosition const & |
pointB, |
|
|
DoublePosition const & |
pointC, |
|
|
bool |
isInverted = false |
|
) |
| |
78 AreaBoundary(BoundaryType::BOUNDARY_TRIANGLE, isInverted),
_a(pointA),
_b(pointB),
_c(pointC),
_abx(
_b.
GetDoublePositionX()-
_a.
GetDoublePositionX()),
_bcx(
_c.
GetDoublePositionX()-
_b.
GetDoublePositionX()),
_cax(
_a.
GetDoublePositionX() -
_c.
GetDoublePositionX()),
_aby(
_b.
GetDoublePositionY()-
_a.
GetDoublePositionY()),
_bcy(
_c.
GetDoublePositionY()-
_b.
GetDoublePositionY()),
_cay(
_a.
GetDoublePositionY() -
_c.
GetDoublePositionY()) { }
double GetDoublePositionX() const
Definition: AreaBoundary.h:49
const double _bcx
Definition: AreaBoundary.h:123
const DoublePosition _b
Definition: AreaBoundary.h:122
const double _bcy
Definition: AreaBoundary.h:123
const double _abx
Definition: AreaBoundary.h:123
const DoublePosition _c
Definition: AreaBoundary.h:122
double GetDoublePositionY() const
Definition: AreaBoundary.h:50
const double _cax
Definition: AreaBoundary.h:123
const double _aby
Definition: AreaBoundary.h:123
const double _cay
Definition: AreaBoundary.h:123
const DoublePosition _a
Definition: AreaBoundary.h:122
AreaBoundary(BoundaryType bType, bool isInverted)
Definition: AreaBoundary.h:63
Implements AreaBoundary.
90 return ((sign1 == sign2) && (sign2 == sign3));
double GetDoublePositionX() const
Definition: AreaBoundary.h:49
const double _bcx
Definition: AreaBoundary.h:123
const DoublePosition _b
Definition: AreaBoundary.h:122
const double _bcy
Definition: AreaBoundary.h:123
const double _abx
Definition: AreaBoundary.h:123
float GetPositionY() const
Definition: Position.h:105
const DoublePosition _c
Definition: AreaBoundary.h:122
double GetDoublePositionY() const
Definition: AreaBoundary.h:50
const double _cax
Definition: AreaBoundary.h:123
const double _aby
Definition: AreaBoundary.h:123
float GetPositionX() const
Definition: Position.h:104
const double _cay
Definition: AreaBoundary.h:123
const DoublePosition _a
Definition: AreaBoundary.h:122
const DoublePosition TriangleBoundary::_a |
|
private |
const double TriangleBoundary::_abx |
|
private |
const double TriangleBoundary::_aby |
|
private |
const DoublePosition TriangleBoundary::_b |
|
private |
const double TriangleBoundary::_bcx |
|
private |
const double TriangleBoundary::_bcy |
|
private |
const DoublePosition TriangleBoundary::_c |
|
private |
const double TriangleBoundary::_cax |
|
private |
const double TriangleBoundary::_cay |
|
private |
The documentation for this class was generated from the following files: