Locus No Pilotus
Project of four first grade MIPT DAFE/RSE students (for engineering practical work in the second semester) in Qt C++
Loading...
Searching...
No Matches
math::PathWayNode Struct Reference

Вершина графа More...

#include <path_graph.h>

Collaboration diagram for math::PathWayNode:

Public Member Functions

 PathWayNode (Point p, std::size_t n, bool is_const)
 PathWayNode.
 

Public Attributes

std::shared_ptr< CircleObstaclecircle_ptr = nullptr
 
std::vector< std::shared_ptr< PathWayNode > > edges
 
std::vector< double > edges_lens
 
bool is_constant
 
bool is_visited
 
std::size_t number
 
Point point
 
std::shared_ptr< PolygonObstaclepoly_ptr = nullptr
 

Detailed Description

Вершина графа

Constructor & Destructor Documentation

◆ PathWayNode()

math::PathWayNode::PathWayNode ( Point p,
std::size_t n,
bool is_const )
inline

PathWayNode.

Parameters
pкоординаты
nномер вершины
19 : point{p}, number{n}, is_visited{false}, is_constant{is_const} {}
bool is_visited
Definition path_graph.h:39
std::size_t number
Definition path_graph.h:35
Point point
Definition path_graph.h:32
bool is_constant
Definition path_graph.h:42

Member Data Documentation

◆ circle_ptr

std::shared_ptr<CircleObstacle> math::PathWayNode::circle_ptr = nullptr

◆ edges

std::vector<std::shared_ptr<PathWayNode> > math::PathWayNode::edges

◆ edges_lens

std::vector<double> math::PathWayNode::edges_lens

◆ is_constant

bool math::PathWayNode::is_constant

◆ is_visited

bool math::PathWayNode::is_visited

◆ number

std::size_t math::PathWayNode::number

◆ point

Point math::PathWayNode::point

◆ poly_ptr

std::shared_ptr<PolygonObstacle> math::PathWayNode::poly_ptr = nullptr

The documentation for this struct was generated from the following file: