|
pcod-common v1.0.0
Shared preprocessing and postprocessing for point-cloud object detection
|
#include <bounding_box.hpp>
Public Member Functions | |
| BoundingBoxVertex (float x_in=0.0f, float y_in=0.0f) | |
| BoundingBoxVertex | operator+ (const BoundingBoxVertex &v) const |
| BoundingBoxVertex | operator- (const BoundingBoxVertex &v) const |
| float | cross (const BoundingBoxVertex &v) const |
Public Attributes | |
| float | x |
| X coordinate. | |
| float | y |
| Y coordinate. | |
Two-dimensional vertex used by rotated-box geometry operations.
Definition at line 18 of file bounding_box.hpp.
|
inline |
Construct a vertex at (x_in, y_in).
| x_in | X coordinate. |
| y_in | Y coordinate. |
Definition at line 26 of file bounding_box.hpp.
|
inline |
| v | Other vector. |
Definition at line 33 of file bounding_box.hpp.
Referenced by pcod_common::BoundingBox::intersection_area(), and pcod_common::Line::Line().
|
inline |
|
inline |
| float pcod_common::BoundingBoxVertex::x |
X coordinate.
Definition at line 19 of file bounding_box.hpp.
Referenced by cross(), pcod_common::Line::Line(), pcod_common::Line::operator()(), operator+(), and operator-().
| float pcod_common::BoundingBoxVertex::y |
Y coordinate.
Definition at line 20 of file bounding_box.hpp.
Referenced by cross(), pcod_common::Line::Line(), pcod_common::Line::operator()(), operator+(), and operator-().