51 GNEChange(junctionParent->getNet(), forward),
52 myJunctionParent(junctionParent),
55 myPriority(priority) {
the function-object for an editing operation (abstract base)
FXString undoName() const
return undoName
The representation of a single edge during network building.
NBNode * getNBNode() const
Return net build node.
#define WRITE_WARNING(msg)
void removeCrossing(const EdgeVector &edges)
remove a pedestrian crossing from this node (identified by its edges)
GNENet * getNet() const
get Net in which this element is placed
std::string toString(const T &t, std::streamsize accuracy=gPrecision)
const std::string getID() const
function to support debugging
bool isTestingModeEnabled() const
check if netedit is running in testing mode
GNEJunction * myJunctionParent
full information regarding the Junction in which GNECRossing is created
GNENet * myNet
the net to which operations shall be applied or which shall be informed about gui updates (we are not...
void updateGeometry()
Update the boundary of the junction.
~GNEChange_Crossing()
Destructor.
bool myPriority
priority of GNECrossing
std::vector< NBEdge * > myEdges
vector to save all edges of GNECrossing
crossing between edges for pedestrians
bool myForward
we group antagonistic commands (create junction/delete junction) and keep them apart by this flag ...
void addCrossing(EdgeVector edges, double width, bool priority, bool fromSumoNet=false)
add a pedestrian crossing to this node
FXString redoName() const
get Redo name
double myWidth
width of GNECrossing
GNEViewNet * getViewNet() const
get view net