Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
GNEParkingSpace.cpp
Go to the documentation of this file.
1/****************************************************************************/
2// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.dev/sumo
3// Copyright (C) 2001-2025 German Aerospace Center (DLR) and others.
4// This program and the accompanying materials are made available under the
5// terms of the Eclipse Public License 2.0 which is available at
6// https://www.eclipse.org/legal/epl-2.0/
7// This Source Code may also be made available under the following Secondary
8// Licenses when the conditions for such availability set forth in the Eclipse
9// Public License 2.0 are satisfied: GNU General Public License, version 2
10// or later which is available at
11// https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html
12// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later
13/****************************************************************************/
18// A lane area vehicles can halt at (GNE version)
19/****************************************************************************/
20
23#include <netedit/GNENet.h>
26
27#include "GNEParkingSpace.h"
28
29// ===========================================================================
30// method definitions
31// ===========================================================================
32
34 GNEAdditional("", net, "", SUMO_TAG_PARKING_SPACE, ""),
35 myMoveElementViewResizable(new GNEMoveElementViewResizable(this, GNEMoveElementView::AttributesFormat::CARTESIAN,
36 GNEMoveElementViewResizable::ResizingFormat::WIDTH_LENGTH, SUMO_ATTR_POSITION,
37 myPosOverView, myWidth, myLength)) {
38}
39
40
42 const double width, const double length, const double angle,
43 const double slope, const std::string& name,
44 const Parameterised::Map& parameters) :
45 GNEAdditional(parkingAreaParent, SUMO_TAG_PARKING_SPACE, name),
46 Parameterised(parameters),
47 myPosOverView(pos),
48 myWidth(width),
49 myLength(length),
50 myMoveElementViewResizable(new GNEMoveElementViewResizable(this, GNEMoveElementView::AttributesFormat::CARTESIAN,
51 GNEMoveElementViewResizable::ResizingFormat::WIDTH_LENGTH, SUMO_ATTR_POSITION,
52 myPosOverView, myWidth, myLength)),
53 myAngle(angle),
54 mySlope(slope) {
55 // set parents
56 setParent<GNEAdditional*>(parkingAreaParent);
57 // update centering boundary without updating grid
59}
60
61
65
66
71
72
75 return this;
76}
77
78
79const Parameterised*
81 return this;
82}
83
84
85void
87 device.openTag(getTagProperty()->getTag());
88 // write common additional attributes
90 // write move atributes
92 // write specific attributes
93 if (myWidth != INVALID_DOUBLE) {
95 }
96 if (myLength != INVALID_DOUBLE) {
98 }
99 if (myAngle != INVALID_DOUBLE) {
101 }
104 }
105 // write parameters (Always after children to avoid problems with additionals.xsd)
106 writeParams(device);
107 device.closeTag();
108}
109
110
111bool
113 return true;
114}
115
116
117std::string
119 return "";
120}
121
122
123void
125 // nothing to fix
126}
127
128
129bool
131 // get edit modes
132 const auto& editModes = myNet->getViewNet()->getEditModes();
133 // check if we're in move mode
134 if (!myNet->getViewNet()->isCurrentlyMovingElements() && editModes.isCurrentSupermodeNetwork() &&
136 (editModes.networkEditMode == NetworkEditMode::NETWORK_MOVE) && myNet->getViewNet()->checkOverLockedElement(this, mySelected)) {
137 // only move the first element
139 } else {
140 return false;
141 }
142}
143
144
145void
147 // get width an length
148 const double width = getAttributeDouble(SUMO_ATTR_WIDTH) <= 0 ? POSITION_EPS : getAttributeDouble(SUMO_ATTR_WIDTH);
149 const double length = getAttributeDouble(SUMO_ATTR_LENGTH) <= 0 ? POSITION_EPS : getAttributeDouble(SUMO_ATTR_LENGTH);
150 // calculate shape length
154 // rotate
156 // move
158 // calculate shape width
160 leftShape.move2side(width * -0.5);
162 rightShape.move2side(width * 0.5);
163 myMoveElementViewResizable->myShapeWidth = {leftShape.getCentroid(), rightShape.getCentroid()};
164 // update centering boundary
166}
167
168
173
174
175void
177 // remove additional from grid
178 if (updateGrid) {
180 }
181 // first reset boundary
183 // add position
185 // add center
187 // add width
188 for (const auto& pos : myMoveElementViewResizable->myShapeWidth) {
190 }
191 // add length
192 for (const auto& pos : myMoveElementViewResizable->myShapeHeight) {
194 }
195 // grow
197 // add additional into RTREE again
198 if (updateGrid) {
200 }
201}
202
203
204void
205GNEParkingSpace::splitEdgeGeometry(const double /*splitPosition*/, const GNENetworkElement* /*originalElement*/, const GNENetworkElement* /*newElement*/, GNEUndoList* /*undoList*/) {
206 // geometry of this element cannot be splitted
207}
208
209
210std::string
212 return getParentAdditionals().at(0)->getID();
213}
214
215
216void
218 // first check if additional has to be drawn
220 // draw boundaries
222 // get exaggeration
223 const double spaceExaggeration = getExaggeration(s);
224 // get witdh
225 const double parkingSpaceWidth = myMoveElementViewResizable->myShapeWidth.length2D() * 0.5 + (spaceExaggeration * 0.1);
226 // get detail level
227 const auto d = s.getDetailLevel(spaceExaggeration);
228 // check if draw moving geometry points
229 const bool movingGeometryPoints = drawMovingGeometryPoints();
230 // draw geometry only if we'rent in drawForObjectUnderCursor mode
232 // draw space
233 drawSpace(s, d, parkingSpaceWidth, movingGeometryPoints);
234 // draw parent and child lines
236 // draw lock icon
238 // Draw additional ID
240 // draw additional name
242 // draw dotted contours
243 if (movingGeometryPoints) {
244 // get snap radius
246 const double snapRadiusSquared = snapRadius * snapRadius;
247 // get mouse position
248 const Position mousePosition = myNet->getViewNet()->getPositionInformation();
249 // check if we're editing width or height
250 if (myMoveElementViewResizable->myShapeHeight.back().distanceSquaredTo2D(mousePosition) <= snapRadiusSquared) {
253 } else if ((myMoveElementViewResizable->myShapeWidth.front().distanceSquaredTo2D(mousePosition) <= snapRadiusSquared) ||
254 (myMoveElementViewResizable->myShapeWidth.back().distanceSquaredTo2D(mousePosition) <= snapRadiusSquared)) {
257 }
258 } else {
260 }
261
262 }
263 // calculate contour
264 calculateSpaceContour(s, d, parkingSpaceWidth, spaceExaggeration, movingGeometryPoints);
265 }
266}
267
268
269std::string
271 switch (key) {
272 case SUMO_ATTR_ID:
273 return getMicrosimID();
274 case SUMO_ATTR_NAME:
275 return myAdditionalName;
276 case SUMO_ATTR_WIDTH:
277 return (myWidth != INVALID_DOUBLE) ? toString(myWidth) : "";
278 case SUMO_ATTR_LENGTH:
279 return (myLength != INVALID_DOUBLE) ? toString(myLength) : "";
280 case SUMO_ATTR_ANGLE:
281 return (myAngle != INVALID_DOUBLE) ? toString(myAngle) : "";;
282 case SUMO_ATTR_SLOPE:
283 return toString(mySlope);
284 case GNE_ATTR_PARENT:
285 if (isTemplate()) {
286 return "";
287 } else {
288 return getParentAdditionals().at(0)->getID();
289 }
290 default:
292 }
293}
294
295
296double
298 switch (key) {
299 case SUMO_ATTR_WIDTH:
300 return (myWidth != INVALID_DOUBLE) ? myWidth : getParentAdditionals().front()->getAttributeDouble(SUMO_ATTR_WIDTH);
301 case SUMO_ATTR_LENGTH:
302 return (myLength != INVALID_DOUBLE) ? myLength : getParentAdditionals().front()->getAttributeDouble(SUMO_ATTR_LENGTH);
303 case SUMO_ATTR_ANGLE:
304 return (myAngle != INVALID_DOUBLE) ? myAngle : getParentAdditionals().front()->getAttributeDouble(SUMO_ATTR_ANGLE);
305 default:
307 }
308}
309
310
315
316
321
322
323void
324GNEParkingSpace::setAttribute(SumoXMLAttr key, const std::string& value, GNEUndoList* undoList) {
325 if (value == getAttribute(key)) {
326 return; //avoid needless changes, later logic relies on the fact that attributes have changed
327 }
328 switch (key) {
329 case SUMO_ATTR_NAME:
330 case SUMO_ATTR_WIDTH:
331 case SUMO_ATTR_LENGTH:
332 case SUMO_ATTR_ANGLE:
333 case SUMO_ATTR_SLOPE:
334 case GNE_ATTR_PARENT:
335 GNEChange_Attribute::changeAttribute(this, key, value, undoList);
336 break;
337 default:
338 myMoveElementViewResizable->setMovingAttribute(key, value, undoList);
339 break;
340 }
341}
342
343
344bool
345GNEParkingSpace::isValid(SumoXMLAttr key, const std::string& value) {
346 switch (key) {
347 case SUMO_ATTR_NAME:
349 case SUMO_ATTR_WIDTH:
350 return value.empty() || (canParse<double>(value) && (parse<double>(value) > 0));
351 case SUMO_ATTR_LENGTH:
352 return value.empty() || (canParse<double>(value) && (parse<double>(value) > 0));
353 case SUMO_ATTR_ANGLE:
354 return value.empty() || canParse<double>(value);
355 case SUMO_ATTR_SLOPE:
356 return canParse<double>(value);
357 case GNE_ATTR_PARENT:
358 return (myNet->getAttributeCarriers()->retrieveAdditional(SUMO_TAG_PARKING_AREA, value, false) != nullptr);
359 default:
361 }
362}
363
364
365std::string
367 return getTagStr();
368}
369
370
371std::string
375
376// ===========================================================================
377// private
378// ===========================================================================
379
380void
382 const double width, const bool movingGeometryPoints) const {
383 // get angle
384 const double angle = getAttributeDouble(SUMO_ATTR_ANGLE);
385 // get contour color
387 if (drawUsingSelectColor()) {
388 contourColor = s.colorSettings.selectedAdditionalColor;
391 }
392 // push later matrix
394 // translate to front
396 // set contour color
397 GLHelper::setColor(contourColor);
398 // draw extern
400 // make a copy of myShapeLength and scale
402 shapeLengthInner.scaleAbsolute(-0.1);
403 // draw intern
405 // Traslate to front
406 glTranslated(0, 0, 0.1);
407 // set base color
409 //draw intern
410 GLHelper::drawBoxLines(shapeLengthInner, width - 0.1);
411 }
412 // draw geometry points
413 if (movingGeometryPoints) {
416 }
420 }
421 }
422 // pop layer matrix
424}
425
426
427void
429 const double width, const double exaggeration, const bool movingGeometryPoints) const {
430 // check if we're calculating the contour or the moving geometry points
431 if (movingGeometryPoints) {
433 getType(), exaggeration, nullptr);
435 exaggeration, nullptr);
437 exaggeration, nullptr);
438 } else {
439 myAdditionalContour.calculateContourExtrudedShape(s, d, this, myMoveElementViewResizable->myShapeHeight, getType(), width, exaggeration, true, true, 0, nullptr, nullptr);
440 }
441}
442
443
444void
445GNEParkingSpace::setAttribute(SumoXMLAttr key, const std::string& value) {
446 switch (key) {
447 case SUMO_ATTR_NAME:
448 myAdditionalName = value;
449 break;
450 case SUMO_ATTR_WIDTH:
451 if (value.empty()) {
453 } else {
454 myWidth = parse<double>(value);
455 }
456 break;
457 case SUMO_ATTR_LENGTH:
458 if (value.empty()) {
460 } else {
461 myLength = parse<double>(value);
462 }
463 break;
464 case SUMO_ATTR_ANGLE:
465 if (value.empty()) {
467 } else {
468 myAngle = parse<double>(value);
469 }
470 break;
471 case SUMO_ATTR_SLOPE:
472 mySlope = parse<double>(value);
473 break;
474 case GNE_ATTR_PARENT:
476 break;
477 default:
479 break;
480 }
481 // update geometry (except for template)
482 if (getParentAdditionals().size() > 0) {
484 }
485}
486
487/****************************************************************************/
@ NETWORK_MOVE
mode for moving network elements
@ GLO_PARKING_SPACE
a ParkingSpace
#define DEG2RAD(x)
Definition GeomHelper.h:35
@ SUMO_TAG_PARKING_AREA
A parking area.
@ SUMO_TAG_PARKING_SPACE
A parking space for a single vehicle within a parking area.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
@ GNE_ATTR_PARENT
parent of an additional element
@ SUMO_ATTR_NAME
@ SUMO_ATTR_SLOPE
@ SUMO_ATTR_ANGLE
@ SUMO_ATTR_LENGTH
@ SUMO_ATTR_ID
@ SUMO_ATTR_WIDTH
@ SUMO_ATTR_POSITION
const double INVALID_DOUBLE
invalid double
Definition StdDefs.h:68
std::string toString(const T &t, std::streamsize accuracy=gPrecision)
Definition ToString.h:46
void add(double x, double y, double z=0)
Makes the boundary include the given coordinate.
Definition Boundary.cpp:75
void reset()
Resets the boundary.
Definition Boundary.cpp:63
Boundary & grow(double by)
extends the boundary by the given amount
Definition Boundary.cpp:340
static void setColor(const RGBColor &c)
Sets the gl-color to this value.
Definition GLHelper.cpp:649
static void popMatrix()
pop matrix
Definition GLHelper.cpp:131
static void drawBoxLines(const PositionVector &geom, const std::vector< double > &rots, const std::vector< double > &lengths, double width, int cornerDetail=0, double offset=0)
Draws thick lines.
Definition GLHelper.cpp:348
static void drawBoundary(const GUIVisualizationSettings &s, const Boundary &b)
Draw a boundary (used for debugging)
Definition GLHelper.cpp:952
static void pushMatrix()
push matrix
Definition GLHelper.cpp:118
double getExaggeration(const GUIVisualizationSettings &s) const override
return exaggeration associated with this GLObject
void replaceAdditionalParent(SumoXMLTag tag, const std::string &value, const int parentIndex)
replace additional parent
void drawRightGeometryPoint(const GUIVisualizationSettings &s, const GUIVisualizationSettings::Detail d, const Position &pos, const double rot, const RGBColor &baseColor, const bool ignoreShift=false) const
draw right geometry point
GNEContour myAdditionalContour
variable used for draw additional contours
void drawAdditionalID(const GUIVisualizationSettings &s) const
draw additional ID
Boundary getCenteringBoundary() const override
Returns the boundary to which the view shall be centered in order to show the object.
void drawUpGeometryPoint(const GUIVisualizationSettings &s, const GUIVisualizationSettings::Detail d, const Position &pos, const double rot, const RGBColor &baseColor, const bool ignoreShift=false) const
draw up geometry point
std::string myAdditionalName
name of additional
void drawAdditionalName(const GUIVisualizationSettings &s) const
draw additional name
void writeAdditionalAttributes(OutputDevice &device) const
write common additional attributes
Boundary myAdditionalBoundary
Additional Boundary (used only by additionals placed over grid)
void drawLeftGeometryPoint(const GUIVisualizationSettings &s, const GUIVisualizationSettings::Detail d, const Position &pos, const double rot, const RGBColor &baseColor, const bool ignoreShift=false) const
draw left geometry point
void drawParentChildLines(const GUIVisualizationSettings &s, const RGBColor &color, const bool onlySymbols=false) const
draw parent and child lines
bool drawMovingGeometryPoints() const
check if draw moving geometry points
bool isAttributeCarrierSelected() const
check if attribute carrier is selected
bool mySelected
boolean to check if this AC is selected (more quickly as checking GUIGlObjectStorage)
const std::string & getTagStr() const
get tag assigned to this object in string format
bool isTemplate() const
check if this AC is template
bool drawUsingSelectColor() const
check if attribute carrier must be drawn using selecting color.
void drawInLayer(const double typeOrLayer, const double extraOffset=0) const
draw element in the given layer, or in front if corresponding flag is enabled
const GNETagProperties * getTagProperty() const
get tagProperty associated with this Attribute Carrier
GNENet * myNet
pointer to net
const GNETagProperties * myTagProperty
reference to tagProperty associated with this attribute carrier
static void changeAttribute(GNEAttributeCarrier *AC, SumoXMLAttr key, const std::string &value, GNEUndoList *undoList, const bool force=false)
change attribute
void calculateContourExtrudedShape(const GUIVisualizationSettings &s, const GUIVisualizationSettings::Detail d, const GUIGlObject *glObject, const PositionVector &shape, const double layer, const double extrusionWidth, const double scale, const bool closeFirstExtrem, const bool closeLastExtrem, const double offset, const GNESegment *segment, const GUIGlObject *boundaryParent, const bool addToSelectedObjects=true) const
calculate contour extruded (used in elements formed by a central shape)
void calculateContourCircleShape(const GUIVisualizationSettings &s, const GUIVisualizationSettings::Detail d, const GUIGlObject *glObject, const Position &pos, double radius, const double layer, const double scale, const GUIGlObject *boundaryParent) const
calculate contour (circle elements)
bool drawDottedContours(const GUIVisualizationSettings &s, const GUIVisualizationSettings::Detail d, const GNEAttributeCarrier *AC, const double lineWidth, const bool addOffset) const
draw dotted contours (basics, select, delete, inspect...)
const GNEHierarchicalContainerParents< GNEAdditional * > & getParentAdditionals() const
get parent additionals
Position getMovingAttributePosition(SumoXMLAttr key) const override
get moving attribute position
void writeMoveAttributes(OutputDevice &device) const
write move attributes
void setMovingAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList) override
set moving attribute (using undo-list)
PositionVector getMovingAttributePositionVector(SumoXMLAttr key) const override
get moving attribute positionVector
double getMovingAttributeDouble(SumoXMLAttr key) const override
get moving attribute double
std::string getMovingAttribute(SumoXMLAttr key) const override
get moving attribute
bool isMovingAttributeValid(SumoXMLAttr key, const std::string &value) const override
check if the given moving attribute is valid
GNEContour myMovingContourLeft
variable used for moving geometry point contour left
GNEContour myMovingContourRight
variable used for moving geometry point contour right
GNEContour myMovingContourUp
variable used for moving geometry point contour up
GNEContour myMovingContourDown
variable used for moving geometry point contour down
PositionVector myShapeWidth
shape width
PositionVector myShapeHeight
shape height
GNEAdditional * retrieveAdditional(SumoXMLTag type, const std::string &id, bool hardFail=true) const
Returns the named additional.
A NBNetBuilder extended by visualisation and editing capabilities.
Definition GNENet.h:42
void addGLObjectIntoGrid(GNEAttributeCarrier *AC)
add GL Object into net
Definition GNENet.cpp:1440
void removeGLObjectFromGrid(GNEAttributeCarrier *AC)
add GL Object into net
Definition GNENet.cpp:1450
GNENetHelper::AttributeCarriers * getAttributeCarriers() const
get all attribute carriers used in this net
Definition GNENet.cpp:144
GNEViewNet * getViewNet() const
get view net
Definition GNENet.cpp:2193
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
Position myPosOverView
position over view
GNEMoveElement * getMoveElement() const override
methods to retrieve the elements linked to this space
void calculateSpaceContour(const GUIVisualizationSettings &s, const GUIVisualizationSettings::Detail d, const double width, const double exaggeration, const bool movingGeometryPoints) const
calculate space contour
void drawSpace(const GUIVisualizationSettings &s, const GUIVisualizationSettings::Detail d, const double width, const bool movingGeometryPoints) const
draw space
PositionVector getAttributePositionVector(SumoXMLAttr key) const override
void splitEdgeGeometry(const double splitPosition, const GNENetworkElement *originalElement, const GNENetworkElement *newElement, GNEUndoList *undoList)
split geometry
std::string getPopUpID() const override
get PopPup ID (Used in AC Hierarchy)
bool isAdditionalValid() const
check if current additional is valid to be written into XML (must be reimplemented in all detector ch...
double myWidth
width
std::string getAttribute(SumoXMLAttr key) const override
std::string getHierarchyName() const override
get Hierarchy Name (Used in AC Hierarchy)
double mySlope
Slope of Parking Space.
~GNEParkingSpace()
Destructor.
std::string getParentName() const
Returns the name of the parent object.
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList) override
Position getAttributePosition(SumoXMLAttr key) const override
Position getPositionInView() const
Returns position of additional in view.
void writeAdditional(OutputDevice &device) const
write additional element into a xml file
Parameterised * getParameters() override
get parameters associated with this space
void fixAdditionalProblem()
fix additional problem (must be reimplemented in all detector children)
GNEParkingSpace(GNENet *net)
Constructor.
std::string getAdditionalProblem() const
return a string with the current additional problem (must be reimplemented in all detector children)
void updateCenteringBoundary(const bool updateGrid)
update centering boundary (implies change in RTREE)
bool checkDrawMoveContour() const override
check if draw move contour (red)
double myLength
length
GNEMoveElementViewResizable * myMoveElementViewResizable
move element view resizable
double myAngle
Angle of Parking Space.
void updateGeometry() override
update pre-computed geometry information
double getAttributeDouble(SumoXMLAttr key) const override
bool isValid(SumoXMLAttr key, const std::string &value) override
double getDefaultDoubleValue(SumoXMLAttr attr) const
get default double value
const GUIGlObject * getGUIGlObjectFront() const
get front GUIGLObject or a pointer to nullptr
bool isCurrentlyMovingElements() const
check if an element is being moved
const GNEViewNetHelper::DataViewOptions & getDataViewOptions() const
get data view options
const GNEViewNetHelper::EditModes & getEditModes() const
get edit modes
const GNEViewNetHelper::EditNetworkElementShapes & getEditNetworkElementShapes() const
get Edit Shape module
bool checkOverLockedElement(const GUIGlObject *GLObject, const bool isSelected) const
check if given element is locked (used for drawing select and delete contour)
const GNEViewNetHelper::ViewObjectsSelector & getViewObjectsSelector() const
get objects under cursor
const std::string & getMicrosimID() const
Returns the id of the object as known to microsim.
GUIGlObjectType getType() const
Returns the type of the object as coded in GUIGlObjectType.
const GUIVisualizationSettings & getVisualisationSettings() const
get visualization settings (read only)
virtual Position getPositionInformation() const
Returns the cursor's x/y position within the network.
Stores the information about how to visualize structures.
bool checkDrawAdditional(Detail d, const bool selected) const
check if draw additionals
Detail getDetailLevel(const double exaggeration) const
return the detail level
GUIVisualizationColorSettings colorSettings
color settings
GUIVisualizationDottedContourSettings dottedContourSettings
dotted contour settings
GUIVisualizationAdditionalSettings additionalSettings
Additional settings.
GUIVisualizationNeteditSizeSettings neteditSizeSettings
netedit size settings
Static storage of an output device and its base (abstract) implementation.
OutputDevice & writeAttr(const SumoXMLAttr attr, const T &val)
writes a named attribute
OutputDevice & openTag(const std::string &xmlElement)
Opens an XML tag.
bool closeTag(const std::string &comment="")
Closes the most recently opened tag and optionally adds a comment.
An upper class for objects with additional parameters.
std::map< std::string, std::string > Map
parameters map
void writeParams(OutputDevice &device) const
write Params in the given outputdevice
A point in 2D or 3D with translation and scaling methods.
Definition Position.h:37
A list of positions.
void scaleAbsolute(double offset)
enlarges/shrinks the polygon by an absolute offset based at the centroid
double length2D() const
Returns the length.
void rotate2D(double angle)
Position getPolygonCenter() const
Returns the arithmetic of all corner points.
void add(double xoff, double yoff, double zoff)
void move2side(double amount, double maxExtension=100)
move position vector to side using certain amount
Position getCentroid() const
Returns the centroid (closes the polygon if unclosed)
static const RGBColor ORANGE
Definition RGBColor.h:194
static bool isValidAttribute(const std::string &value)
whether the given string is a valid attribute for a certain key (for example, a name)
bool showAdditionals() const
check if additionals has to be drawn
GNENetworkElement * getEditedNetworkElement() const
pointer to edited network element
static void drawLockIcon(const GUIVisualizationSettings::Detail d, const GNEAttributeCarrier *AC, GUIGlObjectType type, const Position position, const double exaggeration, const double size=0.5, const double offsetx=0, const double offsety=0)
draw lock icon
static const RGBColor connectionColor
connection color
RGBColor parkingSpaceColorContour
color for parkingSpace contour
RGBColor parkingSpaceColor
color for parkingSpace innen
RGBColor selectedAdditionalColor
additional selection color (busStops, Detectors...)
static const double segmentWidthSmall
width of small dotted contour segments
static const double segmentWidth
width of dotted contour segments
static const double additionalGeometryPointRadius
moving additional geometry point radius