#include <blobs.h>
Definition at line 52 of file blobs.h.
| TPOINT::TPOINT |
( |
int16_t |
vx, |
|
|
int16_t |
vy |
|
) |
| |
|
inline |
| TPOINT::TPOINT |
( |
const ICOORD & |
ic | ) |
|
|
inline |
Definition at line 55 of file blobs.h.
55 :
x(ic.
x()),
y(ic.
y()) {}
int16_t y() const
access_function
int16_t x() const
access function
Definition at line 67 of file blobs.cpp.
69 int b0a1xb0b1, b0b1xb0a0;
70 int a1b1xa1a0, a1a0xa1b0;
72 TPOINT b0a1, b0a0, a1b1, b0b1, a1a0;
85 b0a1xb0b1 =
CROSS(b0a1, b0b1);
86 b0b1xb0a0 =
CROSS(b0b1, b0a0);
87 a1b1xa1a0 =
CROSS(a1b1, a1a0);
90 a1a0xa1b0 = -
CROSS(a1a0, b0a1);
92 return ((b0a1xb0b1 > 0 && b0b1xb0a0 > 0) ||
93 (b0a1xb0b1 < 0 && b0b1xb0a0 < 0)) &&
94 ((a1b1xa1a0 > 0 && a1a0xa1b0 > 0) || (a1b1xa1a0 < 0 && a1a0xa1b0 < 0));
| void TPOINT::operator+= |
( |
const TPOINT & |
other | ) |
|
|
inline |
| void TPOINT::operator/= |
( |
int |
divisor | ) |
|
|
inline |
| bool TPOINT::operator== |
( |
const TPOINT & |
other | ) |
const |
|
inline |
Definition at line 65 of file blobs.h.
66 return x == other.
x &&
y == other.
y;
The documentation for this struct was generated from the following files: