Eclipse SUMO - Simulation of Urban MObility
GNENetElement::NetElementGeometry Struct Reference

struct for pack all variables related with geometry of elemement More...

#include <GNENetElement.h>

Collaboration diagram for GNENetElement::NetElementGeometry:

Public Member Functions

void calculateShapeRotationsAndLengths ()
 calculate shape rotations and lengths More...
 
void clearGeometry ()
 reset geometry More...
 
 NetElementGeometry ()
 constructor More...
 

Data Fields

PositionVector shape
 The shape of the netElement element. More...
 
std::vector< double > shapeLengths
 The lengths of the single shape parts. More...
 
std::vector< double > shapeRotations
 The rotations of the single shape parts. More...
 

Detailed Description

struct for pack all variables related with geometry of elemement

Definition at line 46 of file GNENetElement.h.

Constructor & Destructor Documentation

◆ NetElementGeometry()

GNENetElement::NetElementGeometry::NetElementGeometry ( )

constructor

Definition at line 43 of file GNENetElement.cpp.

Member Function Documentation

◆ calculateShapeRotationsAndLengths()

void GNENetElement::NetElementGeometry::calculateShapeRotationsAndLengths ( )

◆ clearGeometry()

void GNENetElement::NetElementGeometry::clearGeometry ( )

reset geometry

Definition at line 47 of file GNENetElement.cpp.

References shape, shapeLengths, and shapeRotations.

Referenced by GNEConnection::updateGeometry(), GNECrossing::updateGeometry(), and GNELane::updateGeometry().

Field Documentation

◆ shape

PositionVector GNENetElement::NetElementGeometry::shape

The shape of the netElement element.

Definition at line 57 of file GNENetElement.h.

Referenced by GNEAdditionalFrame::SelectorLaneParents::addSelectedLane(), GNEAdditionalFrame::buildAdditionalOverLane(), GNEVehicle::ConnectionGeometry::calculateConnectionShape(), GNEPerson::calculatePersonPlanConnectionArrivalPos(), GNEPerson::calculatePersonPlanConnectionBusStop(), GNEPerson::calculatePersonPlanConnectionStop(), calculateShapeRotationsAndLengths(), GNEPerson::calculateSmoothPersonPlanConnection(), clearGeometry(), GNELane::drawArrows(), GNELane::drawDirectionIndicators(), GNEEdge::drawEdgeName(), GNECrossing::drawGL(), GNEConnection::drawGL(), GNELane::drawGL(), GNELane::drawLane2LaneConnections(), GNELane::drawLinkNo(), GNELane::drawMarkings(), GNEEdge::drawPartialPersonPlan(), GNELane::drawTLSLinkNo(), GNEConnection::getBoundary(), GNELane::getColorValue(), GNELane::getLaneShapeLength(), GNEFrameAttributesModuls::NeteditAttributes::getNeteditAttributesAndValues(), GNELane::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNEDetector::getPositionInView(), GNEPerson::getPositionInView(), GNEVehicle::getPositionInView(), GNEConnection::getShape(), GNEViewNet::onCmdEditConnectionShape(), GNEViewNet::onCmdTransformPOI(), GNEPolygonFrame::processClick(), GNELane::setFunctionalColor(), GNELane::setMultiColor(), GNEAdditional::BlockIcon::setRotation(), GNEConnection::updateGeometry(), GNEVaporizer::updateGeometry(), GNECrossing::updateGeometry(), GNERouteProbe::updateGeometry(), GNELane::updateGeometry(), GNEPerson::updateGeometry(), and GNEVehicle::updateGeometry().

◆ shapeLengths

std::vector<double> GNENetElement::NetElementGeometry::shapeLengths

◆ shapeRotations

std::vector<double> GNENetElement::NetElementGeometry::shapeRotations

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