![]() |
Eclipse SUMO - Simulation of Urban MObility
|
struct for pack all variables related with geometry of elemement More...
#include <GNEAdditional.h>
Public Member Functions | |
AdditionalGeometry () | |
constructor More... | |
void | calculateMultiShapeRotationsAndLengths () |
calculate multi shape rotations and lenghts More... | |
void | calculateMultiShapeUnified () |
calculate multi shape unified More... | |
void | calculateShapeRotationsAndLengths () |
calculate shape rotations and lenghts More... | |
void | clearGeometry () |
reset geometry More... | |
Data Fields | |
std::vector< PositionVector > | multiShape |
The multi-shape of the additional element (used by certain additionals) More... | |
std::vector< std::vector< double > > | multiShapeLengths |
The lengths of the multi-shape shape parts. More... | |
std::vector< std::vector< double > > | multiShapeRotations |
The rotations of the multi-shape parts. More... | |
PositionVector | multiShapeUnified |
multi shape unified More... | |
PositionVector | shape |
The shape of the additional 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 51 of file GNEAdditional.h.
GNEAdditional::AdditionalGeometry::AdditionalGeometry | ( | ) |
constructor
Definition at line 49 of file GNEAdditional.cpp.
void GNEAdditional::AdditionalGeometry::calculateMultiShapeRotationsAndLengths | ( | ) |
calculate multi shape rotations and lenghts
Definition at line 98 of file GNEAdditional.cpp.
References Position::distanceTo(), M_PI, Position::x(), and Position::y().
Referenced by GNEDetectorE2::updateGeometry().
void GNEAdditional::AdditionalGeometry::calculateMultiShapeUnified | ( | ) |
calculate multi shape unified
Definition at line 65 of file GNEAdditional.cpp.
Referenced by GNEDetectorE2::updateGeometry().
void GNEAdditional::AdditionalGeometry::calculateShapeRotationsAndLengths | ( | ) |
calculate shape rotations and lenghts
Definition at line 74 of file GNEAdditional.cpp.
References Position::distanceTo(), M_PI, Position::x(), and Position::y().
Referenced by GNEStoppingPlace::setStoppingPlaceGeometry(), and GNEDetectorE2::updateGeometry().
void GNEAdditional::AdditionalGeometry::clearGeometry | ( | ) |
reset geometry
Definition at line 53 of file GNEAdditional.cpp.
Referenced by GNEStoppingPlace::setStoppingPlaceGeometry(), GNEVaporizer::updateGeometry(), GNERouteProbe::updateGeometry(), GNEAccess::updateGeometry(), GNEDetectorE1::updateGeometry(), GNEDetectorEntryExit::updateGeometry(), GNEDetectorE1Instant::updateGeometry(), GNECalibrator::updateGeometry(), and GNEDetectorE2::updateGeometry().
std::vector<PositionVector> GNEAdditional::AdditionalGeometry::multiShape |
The multi-shape of the additional element (used by certain additionals)
Definition at line 71 of file GNEAdditional.h.
Referenced by GNEDetectorE2::drawGL(), and GNEDetectorE2::updateGeometry().
std::vector<std::vector<double> > GNEAdditional::AdditionalGeometry::multiShapeLengths |
The lengths of the multi-shape shape parts.
Definition at line 83 of file GNEAdditional.h.
Referenced by GNEDetectorE2::drawGL().
std::vector<std::vector<double> > GNEAdditional::AdditionalGeometry::multiShapeRotations |
The rotations of the multi-shape parts.
Definition at line 80 of file GNEAdditional.h.
Referenced by GNEDetectorE2::drawGL().
PositionVector GNEAdditional::AdditionalGeometry::multiShapeUnified |
multi shape unified
Definition at line 86 of file GNEAdditional.h.
Referenced by GNEDetectorE2::drawGL(), and GNEDetector::getCenteringBoundary().
PositionVector GNEAdditional::AdditionalGeometry::shape |
The shape of the additional element.
Definition at line 68 of file GNEAdditional.h.
Referenced by GNEPerson::calculatePersonPlanConnectionBusStop(), GNETAZ::commitGeometryMoving(), GNETAZ::commitShapeChange(), GNETAZ::deleteGeometryPoint(), GNEContainerStop::drawGL(), GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEParkingArea::drawGL(), GNEVaporizer::drawGL(), GNERouteProbe::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorEntryExit::drawGL(), GNEAccess::drawGL(), GNEDetectorE1Instant::drawGL(), GNECalibrator::drawGL(), GNETAZ::drawGL(), GNEDetectorE2::drawGL(), GNETAZ::getAttribute(), GNEContainerStop::getCenteringBoundary(), GNEChargingStation::getCenteringBoundary(), GNEBusStop::getCenteringBoundary(), GNEParkingArea::getCenteringBoundary(), GNETAZ::getCenteringBoundary(), GNEVaporizer::getCenteringBoundary(), GNERouteProbe::getCenteringBoundary(), GNEAccess::getCenteringBoundary(), GNECalibrator::getCenteringBoundary(), GNEDetector::getCenteringBoundary(), GNEAdditional::getPopUpMenu(), GNETAZ::getPositionInView(), GNEAdditional::getShape(), GNETAZ::getVertexIndex(), GNETAZ::moveEntireShape(), GNETAZ::moveGeometry(), GNETAZ::moveVertexShape(), GNETAZ::setAttribute(), GNEStoppingPlace::setStoppingPlaceGeometry(), GNEChargingStation::updateGeometry(), GNEBusStop::updateGeometry(), GNEContainerStop::updateGeometry(), GNEParkingArea::updateGeometry(), GNEVaporizer::updateGeometry(), GNERouteProbe::updateGeometry(), GNEAccess::updateGeometry(), GNEDetectorE1::updateGeometry(), GNEDetectorEntryExit::updateGeometry(), GNEDetectorE1Instant::updateGeometry(), GNECalibrator::updateGeometry(), and GNEDetectorE2::updateGeometry().
std::vector<double> GNEAdditional::AdditionalGeometry::shapeLengths |
The lengths of the single shape parts.
Definition at line 77 of file GNEAdditional.h.
Referenced by GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEParkingArea::drawGL(), and GNEDetectorE2::drawGL().
std::vector<double> GNEAdditional::AdditionalGeometry::shapeRotations |
The rotations of the single shape parts.
Definition at line 74 of file GNEAdditional.h.
Referenced by GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEParkingArea::drawGL(), GNEVaporizer::drawGL(), GNERouteProbe::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorEntryExit::drawGL(), GNEDetectorE1Instant::drawGL(), GNECalibrator::drawGL(), GNEDetectorE2::drawGL(), GNEVaporizer::updateGeometry(), GNERouteProbe::updateGeometry(), GNEAccess::updateGeometry(), GNEDetectorE1::updateGeometry(), GNEDetectorEntryExit::updateGeometry(), GNEDetectorE1Instant::updateGeometry(), and GNECalibrator::updateGeometry().