#include <AreaBoundary.h>
96 ParallelogramBoundary(DoublePosition(cornerA), DoublePosition(cornerB), DoublePosition(cornerD), isInverted) { }
ParallelogramBoundary(Position const &cornerA, Position const &cornerB, Position const &cornerD, bool isInverted=false)
Definition: AreaBoundary.cpp:95
98 AreaBoundary(BoundaryType::BOUNDARY_PARALLELOGRAM, isInverted),
_a(cornerA),
_b(cornerB),
_d(cornerD),
_c(DoublePosition(
_d.
GetDoublePositionX() + (
_b.
GetDoublePositionX() -
_a.
GetDoublePositionX()),
_d.
GetDoublePositionY() + (
_b.
GetDoublePositionY() -
_a.
GetDoublePositionY()))),
_abx(
_b.
GetDoublePositionX() -
_a.
GetDoublePositionX()),
_dax(
_a.
GetDoublePositionX() -
_d.
GetDoublePositionX()),
_aby(
_b.
GetDoublePositionY() -
_a.
GetDoublePositionY()),
_day(
_a.
GetDoublePositionY() -
_d.
GetDoublePositionY()) { }
double GetDoublePositionX() const
Definition: AreaBoundary.h:49
const double _dax
Definition: AreaBoundary.h:138
const DoublePosition _d
Definition: AreaBoundary.h:137
double GetDoublePositionY() const
Definition: AreaBoundary.h:50
const double _aby
Definition: AreaBoundary.h:138
const double _abx
Definition: AreaBoundary.h:138
const DoublePosition _a
Definition: AreaBoundary.h:137
const double _day
Definition: AreaBoundary.h:138
const DoublePosition _c
Definition: AreaBoundary.h:137
const DoublePosition _b
Definition: AreaBoundary.h:137
AreaBoundary(BoundaryType bType, bool isInverted)
Definition: AreaBoundary.h:63
Implements AreaBoundary.
111 return ((sign1 == sign2) && (sign2 == sign3) && (sign3 == sign4));
double GetDoublePositionX() const
Definition: AreaBoundary.h:49
const double _dax
Definition: AreaBoundary.h:138
const DoublePosition _d
Definition: AreaBoundary.h:137
float GetPositionY() const
Definition: Position.h:105
double GetDoublePositionY() const
Definition: AreaBoundary.h:50
const double _aby
Definition: AreaBoundary.h:138
const double _abx
Definition: AreaBoundary.h:138
const DoublePosition _a
Definition: AreaBoundary.h:137
const double _day
Definition: AreaBoundary.h:138
float GetPositionX() const
Definition: Position.h:104
const DoublePosition _c
Definition: AreaBoundary.h:137
const DoublePosition _b
Definition: AreaBoundary.h:137
const double ParallelogramBoundary::_abx |
|
private |
const double ParallelogramBoundary::_aby |
|
private |
const double ParallelogramBoundary::_dax |
|
private |
const double ParallelogramBoundary::_day |
|
private |
The documentation for this class was generated from the following files: