Locus No Pilotus
Project of four first grade MIPT DAFE/RSE students (for engineering practical work in the second semester) in Qt C++
|
Многоугольное препятствие More...
#include <obstacles.h>
Public Member Functions | |
PolygonObstacle ()=default | |
PolygonObstacle (const std::vector< Point > &vertexes) | |
Инициализирует экземпляр PolygonObstacle. | |
void | AddTangentPoint (const Point &tangent_point) |
Point | GetCenter () const |
std::vector< Point > | GetTangentPoints () |
std::vector< Point > | GetVertexes () const |
bool | operator!= (const PolygonObstacle &other) |
bool | operator== (const PolygonObstacle &other) |
Private Attributes | |
Point | center_ |
std::vector< Point > | tangent_points_ |
std::vector< Point > | vertexes_ |
Многоугольное препятствие
|
default |
|
inline |
Инициализирует экземпляр PolygonObstacle.
vertexes | вершины многоугольника |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |