39 double width,
bool priority,
int customTLIndex,
int customTLIndex2, const
PositionVector& customShape,
bool selected,
bool forward):
95 if (!
myJunctionParent->getNet()->getNetBuilder()->haveNetworkCrossings() ==
false) {
126 if (
myJunctionParent->getNet()->getNetBuilder()->haveNetworkCrossings() ==
false) {
167 myJunctionParent->getNet()->getNetBuilder()->setHaveNetworkCrossings(
false);
178 return TL(
"Undo create crossing");
180 return TL(
"Undo delete crossing");
188 return TL(
"Redo create crossing");
190 return TL(
"Redo delete crossing");
Supermode
@brie enum for supermodes
@ NETWORK
Network mode (Edges, junctions, etc..).
#define WRITE_WARNINGF(...)
void selectAttributeCarrier()
select attribute carrier using GUIGlobalSelection
void unselectAttributeCarrier()
unselect attribute carrier using GUIGlobalSelection
double myWidth
width of GNECrossing
int myCustomTLIndex
custom index of GNECrossing
bool myPriority
priority of GNECrossing
~GNEChange_Crossing()
Destructor.
std::vector< NBEdge * > myEdges
vector to save all edges of GNECrossing
PositionVector myCustomShape
priority of GNECrossing
std::string undoName() const
return undoName
GNEChange_Crossing(GNEJunction *junctionParent, const std::vector< NBEdge * > &edges, double width, bool priority, int customTLIndex, int customTLIndex2, const PositionVector &customShape, bool selected, bool forward)
Constructor for creating/deleting an crossing.
std::string redoName() const
get Redo name
GNEJunction * myJunctionParent
full information regarding the Junction in which GNECRossing is created
int myCustomTLIndex2
custom index of GNECrossing (reverse direction)
the function-object for an editing operation (abstract base)
bool myForward
we group antagonistic commands (create junction/delete junction) and keep them apart by this flag
const bool mySelectedElement
flag for check if element is selected
GNEChange(Supermode supermode, bool forward, const bool selectedElement)
Constructor.
The representation of a single edge during network building.
A definition of a pedestrian crossing.