![]() |
Eclipse SUMO - Simulation of Urban MObility
|
struct for pack all variables related with geometry of elemement More...
#include <GNENetElement.h>
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... | |
struct for pack all variables related with geometry of elemement
Definition at line 46 of file GNENetElement.h.
GNENetElement::NetElementGeometry::NetElementGeometry | ( | ) |
constructor
Definition at line 43 of file GNENetElement.cpp.
void GNENetElement::NetElementGeometry::calculateShapeRotationsAndLengths | ( | ) |
calculate shape rotations and lengths
Definition at line 55 of file GNENetElement.cpp.
References Position::distanceTo(), M_PI, shape, shapeLengths, shapeRotations, Position::x(), and Position::y().
Referenced by GNEConnection::updateGeometry(), GNECrossing::updateGeometry(), and GNELane::updateGeometry().
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().
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().
std::vector<double> GNENetElement::NetElementGeometry::shapeLengths |
The lengths of the single shape parts.
Definition at line 63 of file GNENetElement.h.
Referenced by calculateShapeRotationsAndLengths(), clearGeometry(), GNELane::drawDirectionIndicators(), GNECrossing::drawGL(), GNEConnection::drawGL(), GNELane::drawGL(), GNELane::drawMarkings(), GNEPerson::updateGeometry(), and GNEVehicle::updateGeometry().
std::vector<double> GNENetElement::NetElementGeometry::shapeRotations |
The rotations of the single shape parts.
Definition at line 60 of file GNENetElement.h.
Referenced by calculateShapeRotationsAndLengths(), clearGeometry(), GNELane::drawDirectionIndicators(), GNECrossing::drawGL(), GNEConnection::drawGL(), GNELane::drawGL(), GNELane::drawMarkings(), GNEPerson::updateGeometry(), and GNEVehicle::updateGeometry().