![]() |
Eclipse SUMO - Simulation of Urban MObility
|
A class that stores a 2D geometrical boundary. More...
#include <Boundary.h>
Public Member Functions | |
void | add (const Boundary &p) |
Makes the boundary include the given boundary. More... | |
void | add (const Position &p) |
Makes the boundary include the given coordinate. More... | |
void | add (double x, double y, double z=0) |
Makes the boundary include the given coordinate. More... | |
Boundary () | |
Constructor - the boundary is unset. More... | |
Boundary (double x1, double y1, double x2, double y2) | |
Constructor - the boundary will be build using the given values. More... | |
Boundary (double x1, double y1, double z1, double x2, double y2, double z2) | |
Constructor - the boundary will be build using the given values including Z. More... | |
double | distanceTo2D (const Boundary &b) const |
returns the euclidean distance in the x-y-plane More... | |
double | distanceTo2D (const Position &p) const |
returns the euclidean distance in the x-y-plane More... | |
void | flipY () |
flips ymin and ymax More... | |
Position | getCenter () const |
Returns the center of the boundary. More... | |
double | getHeight () const |
Returns the height of the boundary (y-axis) More... | |
double | getWidth () const |
Returns the width of the boudary (x-axis) More... | |
double | getZRange () const |
Returns the elevation range of the boundary (z-axis) More... | |
Boundary & | grow (double by) |
extends the boundary by the given amount More... | |
void | growHeight (double by) |
Increases the height of the boundary (y-axis) More... | |
void | growWidth (double by) |
Increases the width of the boundary (x-axis) More... | |
bool | isInitialised () const |
check if Boundary is Initialised More... | |
void | moveby (double x, double y, double z=0) |
Moves the boundary by the given amount. More... | |
bool | operator!= (const Boundary &b) const |
Comparison operator not equal. More... | |
bool | operator== (const Boundary &b) const |
Comparison operator equal. More... | |
void | reset () |
Resets the boundary. More... | |
void | set (double xmin, double ymin, double xmax, double ymax) |
Sets the boundary to the given values. More... | |
double | xmax () const |
Returns maximum x-coordinate. More... | |
double | xmin () const |
Returns minimum x-coordinate. More... | |
double | ymax () const |
Returns maximum y-coordinate. More... | |
double | ymin () const |
Returns minimum y-coordinate. More... | |
double | zmax () const |
Returns maximum z-coordinate. More... | |
double | zmin () const |
Returns minimum z-coordinate. More... | |
~Boundary () | |
Destructor. More... | |
Private Attributes | |
bool | myWasInitialised |
Information whether the boundary was initialised. More... | |
double | myXmax |
double | myXmin |
The boundaries. More... | |
double | myYmax |
double | myYmin |
double | myZmax |
double | myZmin |
Friends | |
std::ostream & | operator<< (std::ostream &os, const Boundary &b) |
Output operator. More... | |
A class that stores a 2D geometrical boundary.
Definition at line 41 of file Boundary.h.
Boundary::Boundary | ( | ) |
Constructor - the boundary is unset.
Definition at line 35 of file Boundary.cpp.
Boundary::Boundary | ( | double | x1, |
double | y1, | ||
double | x2, | ||
double | y2 | ||
) |
Constructor - the boundary will be build using the given values.
Definition at line 42 of file Boundary.cpp.
References add().
Boundary::Boundary | ( | double | x1, |
double | y1, | ||
double | z1, | ||
double | x2, | ||
double | y2, | ||
double | z2 | ||
) |
Constructor - the boundary will be build using the given values including Z.
Definition at line 52 of file Boundary.cpp.
References add().
Boundary::~Boundary | ( | ) |
Destructor.
Definition at line 62 of file Boundary.cpp.
void Boundary::add | ( | const Boundary & | p | ) |
void Boundary::add | ( | const Position & | p | ) |
Makes the boundary include the given coordinate.
Definition at line 99 of file Boundary.cpp.
References add(), Position::x(), Position::y(), and Position::z().
void Boundary::add | ( | double | x, |
double | y, | ||
double | z = 0 |
||
) |
Makes the boundary include the given coordinate.
Definition at line 78 of file Boundary.cpp.
References myWasInitialised, myXmax, myXmin, myYmax, myYmin, myZmax, and myZmin.
Referenced by add(), NIVissimConnectionCluster::NodeSubCluster::add(), NIVissimConnectionCluster::add(), GUIParkingArea::addLotEntry(), ROEdge::addSuccessor(), MSEdge::addSuccessor(), GUISUMOAbstractView::applyGLTransform(), Boundary(), GUIDanielPerspectiveChanger::centerTo(), NBNetBuilder::compute(), GNENet::computeAndUpdate(), NIVissimDisturbance::computeBounding(), NIVissimConnection::computeBounding(), GUIEdge::getBoundary(), PositionVector::getBoxBoundary(), MSDevice_BTsender::VehicleInformation::getBoxBoundary(), GNEGeometry::SegmentGeometry::getBoxBoundary(), GNEDetectorE3::getCenteringBoundary(), GNEVariableSpeedSign::getCenteringBoundary(), GNERerouter::getCenteringBoundary(), GUITrafficLightLogicWrapper::getCenteringBoundary(), GUIPolygon::getCenteringBoundary(), GUIPerson::getCenteringBoundary(), GUIContainer::getCenteringBoundary(), GUIPointOfInterest::getCenteringBoundary(), GUIBusStop::getCenteringBoundary(), GNERide::getCenteringBoundary(), GNEPersonTrip::getCenteringBoundary(), GNEWalk::getCenteringBoundary(), GUIBaseVehicle::getCenteringBoundary(), GNEEdge::getCenteringBoundary(), GNERoute::getCenteringBoundary(), GUILane::getCenteringBoundary(), GNEPerson::getCenteringBoundary(), GNEVehicle::getCenteringBoundary(), GUISUMOAbstractView::getGUIGlObjectsAtPosition(), GUISUMOAbstractView::getObjectAtPosition(), GUISUMOAbstractView::getObjectsAtPosition(), GUICalibrator::GUICalibrator(), GUILaneSpeedTrigger::GUILaneSpeedTrigger(), GUITriggeredRerouter::GUITriggeredRerouter(), GUITriggeredRerouter::GUITriggeredRerouterEdge::GUITriggeredRerouterEdge(), MSPModel_Remote::handleShape(), GUINet::initGUIStructures(), GNENet::initJunctionsAndEdges(), NBHeightMapper::loadShapeFile(), NBHeightMapper::loadTiff(), GNEViewNet::mergeJunctions(), NIImporter_OpenDrive::myCharacters(), GUITriggeredRerouter::myEndElement(), GNEAdditionalHandler::myEndElement(), GUIMEInductLoop::MyWrapper::MyWrapper(), GUIInstantInductLoop::MyWrapper::MyWrapper(), GUIE3Collector::MyWrapper::MyWrapper(), GUIInductLoop::MyWrapper::MyWrapper(), GNEPolygonFrame::GEOPOICreator::onCmdCreateGEOPOI(), RORouteHandler::parseGeoEdges(), GNEViewNetHelper::SelectingArea::processEdgeRectangleSelection(), GNEViewNetHelper::SelectingArea::processRectangleSelection(), NIVissimConnectionCluster::recomputeBoundary(), GNENet::registerEdge(), GNENet::registerJunction(), ROEdge::ROEdge(), MSEdge::setJunctions(), GUIDanielPerspectiveChanger::setViewport(), and GeoConvHelper::x2cartesian().
|
virtual |
Returns whether the AbstractPoly the given coordinate.
Implements AbstractPoly.
Definition at line 172 of file Boundary.cpp.
References myXmax, myXmin, myYmax, myYmin, myZmax, myZmin, Position::x(), Position::y(), and Position::z().
Referenced by PCPolyContainer::add(), NIVissimConnectionCluster::around(), NBHeightMapper::getZ(), and NIVissimConnectionCluster::recheckEdges().
Returns whether the boundary crosses the given line.
Implements AbstractPoly.
Definition at line 202 of file Boundary.cpp.
References PositionVector::intersects(), myXmax, myXmin, myYmax, and myYmin.
double Boundary::distanceTo2D | ( | const Boundary & | b | ) | const |
double Boundary::distanceTo2D | ( | const Position & | p | ) | const |
returns the euclidean distance in the x-y-plane
Definition at line 222 of file Boundary.cpp.
References myXmax, myXmin, myYmax, myYmin, Position::x(), and Position::y().
Referenced by libsumo::Helper::convertCartesianToRoadMap(), ROEdge::getDistanceTo(), and MSEdge::getDistanceTo().
void Boundary::flipY | ( | ) |
flips ymin and ymax
Definition at line 322 of file Boundary.cpp.
References myYmax, and myYmin.
Referenced by GeoConvHelper::computeFinal().
Position Boundary::getCenter | ( | ) | const |
Returns the center of the boundary.
Definition at line 112 of file Boundary.cpp.
References myXmax, myXmin, myYmax, myYmin, myZmax, and myZmin.
Referenced by GUISUMOAbstractView::applyGLTransform(), GUISUMOAbstractView::centerTo(), GUIDanielPerspectiveChanger::getXPos(), GUIDanielPerspectiveChanger::getYPos(), NIVissimConnectionCluster::liesOnSameEdgesEnd(), GUISUMOAbstractView::screenPos2NetPos(), GNEVehicle::setColor(), GUIBaseVehicle::setFunctionalColor(), and GUIDanielPerspectiveChanger::zoom().
double Boundary::getHeight | ( | ) | const |
Returns the height of the boundary (y-axis)
Definition at line 160 of file Boundary.cpp.
References myYmax, and myYmin.
Referenced by SUMORTree::addAdditionalGLObject(), GUISUMOAbstractView::applyGLTransform(), GUIPolygon::checkDraw(), libsumo::Helper::convertCartesianToRoadMap(), GNETAZ::drawGL(), GUISUMOAbstractView::getGridHeight(), GUIJunctionWrapper::GUIJunctionWrapper(), GUINet::initGUIStructures(), GNENet::initJunctionsAndEdges(), GUIDanielPerspectiveChanger::onKeyPress(), GUIPerspectiveChanger::patchedViewPort(), SUMORTree::removeAdditionalGLObject(), and GUISUMOAbstractView::screenPos2NetPos().
double Boundary::getWidth | ( | ) | const |
Returns the width of the boudary (x-axis)
Definition at line 154 of file Boundary.cpp.
References myXmax, and myXmin.
Referenced by SUMORTree::addAdditionalGLObject(), GUISUMOAbstractView::applyGLTransform(), GUIPolygon::checkDraw(), libsumo::Helper::convertCartesianToRoadMap(), GNETAZ::drawGL(), GUISUMOAbstractView::getGridWidth(), GUIDanielPerspectiveChanger::getZoom(), GUIDanielPerspectiveChanger::getZPos(), GUIJunctionWrapper::GUIJunctionWrapper(), GUINet::initGUIStructures(), GNENet::initJunctionsAndEdges(), GUISUMOAbstractView::m2p(), GUIDanielPerspectiveChanger::onKeyPress(), GUISUMOAbstractView::p2m(), GUIPerspectiveChanger::patchedViewPort(), SUMORTree::removeAdditionalGLObject(), and GUISUMOAbstractView::screenPos2NetPos().
double Boundary::getZRange | ( | ) | const |
Returns the elevation range of the boundary (z-axis)
Definition at line 166 of file Boundary.cpp.
References myZmax, and myZmin.
Referenced by NBNetBuilder::compute().
Boundary & Boundary::grow | ( | double | by | ) |
extends the boundary by the given amount
Definition at line 300 of file Boundary.cpp.
References myXmax, myXmin, myYmax, and myYmin.
Referenced by GUIParkingArea::addLotEntry(), GUIDanielPerspectiveChanger::centerTo(), NBEdgeCont::checkOverlap(), libsumo::Helper::collectObjectsInRange(), MSDevice_BTreceiver::BTreceiverUpdate::execute(), MSLane::fill(), GUIEdge::getBoundary(), GNEBusStop::getCenteringBoundary(), GNEContainerStop::getCenteringBoundary(), GNEChargingStation::getCenteringBoundary(), GNEParkingArea::getCenteringBoundary(), GNEVaporizer::getCenteringBoundary(), GNETAZ::getCenteringBoundary(), GNERouteProbe::getCenteringBoundary(), GNEDetectorE3::getCenteringBoundary(), GNEVariableSpeedSign::getCenteringBoundary(), GNERerouter::getCenteringBoundary(), GNEAccess::getCenteringBoundary(), GNEInternalLane::getCenteringBoundary(), GUITrafficLightLogicWrapper::getCenteringBoundary(), GUILaneSpeedTrigger::getCenteringBoundary(), GUIPolygon::getCenteringBoundary(), GUIInstantInductLoop::MyWrapper::getCenteringBoundary(), GUIPerson::getCenteringBoundary(), GNECrossing::getCenteringBoundary(), GUIContainer::getCenteringBoundary(), GNECalibrator::getCenteringBoundary(), GUICalibrator::getCenteringBoundary(), GNEJunction::getCenteringBoundary(), GUIJunctionWrapper::getCenteringBoundary(), GUIMEInductLoop::MyWrapper::getCenteringBoundary(), GUIPointOfInterest::getCenteringBoundary(), GUIE3Collector::MyWrapper::getCenteringBoundary(), GUITriggeredRerouter::getCenteringBoundary(), GNEDetector::getCenteringBoundary(), GUIChargingStation::getCenteringBoundary(), GUIContainerStop::getCenteringBoundary(), GUIBusStop::getCenteringBoundary(), GNEConnection::getCenteringBoundary(), GUIEdge::getCenteringBoundary(), GNEStop::getCenteringBoundary(), GUIE2Collector::MyWrapper::getCenteringBoundary(), GUIBaseVehicle::getCenteringBoundary(), GNEEdge::getCenteringBoundary(), GUITriggeredRerouter::GUITriggeredRerouterEdge::getCenteringBoundary(), GUIInductLoop::MyWrapper::getCenteringBoundary(), GUILane::getCenteringBoundary(), GNEPerson::getCenteringBoundary(), GNEVehicle::getCenteringBoundary(), GUISUMOAbstractView::getGUIGlObjectsAtPosition(), GUISUMOAbstractView::getObjectAtPosition(), GUISUMOAbstractView::getObjectsAtPosition(), GUIParkingArea::GUIParkingArea(), NBEdgeCont::ignoreFilterMatch(), GUINet::initGUIStructures(), GNEViewNet::mergeJunctions(), GNEPolygonFrame::GEOPOICreator::onCmdCreateGEOPOI(), and RORouteHandler::parseGeoEdges().
void Boundary::growHeight | ( | double | by | ) |
Increases the height of the boundary (y-axis)
Definition at line 316 of file Boundary.cpp.
References myYmax, and myYmin.
Referenced by GUIPointOfInterest::getCenteringBoundary(), GUIPerspectiveChanger::patchedViewPort(), and GUIDanielPerspectiveChanger::setViewport().
void Boundary::growWidth | ( | double | by | ) |
Increases the width of the boundary (x-axis)
Definition at line 309 of file Boundary.cpp.
References myXmax, and myXmin.
Referenced by GUIPointOfInterest::getCenteringBoundary(), GUIPerspectiveChanger::patchedViewPort(), and GUIDanielPerspectiveChanger::setViewport().
bool Boundary::isInitialised | ( | ) | const |
check if Boundary is Initialised
Definition at line 216 of file Boundary.cpp.
References myWasInitialised.
Referenced by GNEJunction::drawGL(), GNEPoly::endGeometryMoving(), GNEStop::endGeometryMoving(), GNERide::endGeometryMoving(), GNEPersonTrip::endGeometryMoving(), GNEEdge::endGeometryMoving(), GNEWalk::endGeometryMoving(), GNEJunction::endGeometryMoving(), GNEParkingArea::getCenteringBoundary(), GNETAZ::getCenteringBoundary(), GNEDetectorE3::getCenteringBoundary(), GNEParkingSpace::getCenteringBoundary(), GNEVariableSpeedSign::getCenteringBoundary(), GNERerouter::getCenteringBoundary(), GNEJunction::getCenteringBoundary(), GNEPoly::getCenteringBoundary(), GNEPOI::getCenteringBoundary(), GNEStop::getCenteringBoundary(), GNERide::getCenteringBoundary(), GNEPersonTrip::getCenteringBoundary(), GNEWalk::getCenteringBoundary(), GNEEdge::getCenteringBoundary(), GNERoute::getCenteringBoundary(), GNEParkingArea::updateGeometry(), and GNEEdge::updateGeometry().
void Boundary::moveby | ( | double | x, |
double | y, | ||
double | z = 0 |
||
) |
Moves the boundary by the given amount.
Definition at line 368 of file Boundary.cpp.
References myXmax, myXmin, myYmax, myYmin, myZmax, and myZmin.
Referenced by GUIDanielPerspectiveChanger::centerTo(), GUIDanielPerspectiveChanger::move(), GeoConvHelper::moveConvertedBy(), and GUIDanielPerspectiveChanger::onKeyPress().
bool Boundary::operator!= | ( | const Boundary & | b | ) | const |
Comparison operator not equal.
Definition at line 353 of file Boundary.cpp.
bool Boundary::operator== | ( | const Boundary & | b | ) | const |
Comparison operator equal.
Definition at line 340 of file Boundary.cpp.
References myWasInitialised, myXmax, myXmin, myYmax, myYmin, myZmax, and myZmin.
|
virtual |
Returns whether the boundary overlaps with the given polygon.
Implements AbstractPoly.
Definition at line 181 of file Boundary.cpp.
References AbstractPoly::crosses(), myXmax, myXmin, myYmax, myYmin, AbstractPoly::partialWithin(), and partialWithin().
Referenced by NBEdgeCont::checkOverlap(), NIVissimBoundedClusterObject::crosses(), NBEdgeCont::ignoreFilterMatch(), NIVissimConnectionCluster::overlapsWith(), and NIVissimConnectionCluster::NodeSubCluster::overlapsWith().
|
virtual |
Returns whether the boundary is partially within the given polygon.
Implements AbstractPoly.
Definition at line 290 of file Boundary.cpp.
References AbstractPoly::around(), myXmax, myXmin, myYmax, and myYmin.
Referenced by PCPolyContainer::add(), and overlapsWith().
void Boundary::reset | ( | ) |
Resets the boundary.
Definition at line 66 of file Boundary.cpp.
References myWasInitialised, myXmax, myXmin, myYmax, myYmin, myZmax, and myZmin.
Referenced by NBHeightMapper::clearData(), GNENet::computeAndUpdate(), GNEPoly::endGeometryMoving(), GNEStop::endGeometryMoving(), GNERide::endGeometryMoving(), GNEPersonTrip::endGeometryMoving(), GNEEdge::endGeometryMoving(), GNEWalk::endGeometryMoving(), GNEAdditional::endGeometryMoving(), and GNEJunction::endGeometryMoving().
void Boundary::set | ( | double | xmin, |
double | ymin, | ||
double | xmax, | ||
double | ymax | ||
) |
double Boundary::xmax | ( | ) | const |
Returns maximum x-coordinate.
Definition at line 124 of file Boundary.cpp.
References myXmax.
Referenced by add(), NIVissimConnectionCluster::add(), SUMORTree::addAdditionalGLObject(), NBHeightMapper::addTriangle(), GUISUMOAbstractView::applyGLTransform(), NIVissimConnectionCluster::around(), NIVissimConnection::buildNodeClusters(), GUIDanielPerspectiveChanger::changeCanvasSizeLeft(), libsumo::Helper::collectObjectsInRange(), NBNetBuilder::compute(), NIVissimDisturbance::computeBounding(), NIVissimBoundedClusterObject::crosses(), GeomHelper::crossPoint(), GUIViewTraffic::doPaintGL(), GNEViewNet::doPaintGL(), GLHelper::drawBoundary(), MSDevice_BTreceiver::BTreceiverUpdate::execute(), MSLane::fill(), NBPTStopCont::findAccessEdgesForRailStops(), NIVissimConnection::getBoundingBox(), RORouteHandler::getLaneTree(), libsumo::Simulation::getNetBoundary(), NIVissimConnectionCluster::getPositionForEdge(), libsumo::Junction::getTree(), libsumo::Polygon::getTree(), NBHeightMapper::getZ(), GUINet::initGUIStructures(), MSPModel_Remote::initialize(), main(), GUISUMOAbstractView::makeSnapshot(), GNEAdditionalHandler::myEndElement(), NIVissimConnectionCluster::NIVissimConnectionCluster(), NIVissimConnectionCluster::overlapsWith(), NIVissimConnectionCluster::NodeSubCluster::overlapsWith(), GUISUMOAbstractView::paintGLGrid(), RORouteHandler::parseGeoEdges(), TraCIServerAPI_GUI::processGet(), NIVissimConnectionCluster::recheckEdges(), NIVissimConnectionCluster::recomputeBoundary(), SUMORTree::removeAdditionalGLObject(), set(), GNEVehicle::setColor(), GUIBaseVehicle::setFunctionalColor(), GNEPoly::simplifyShape(), BinaryFormatter::writeAttr(), NWWriter_OpenDrive::writeNetwork(), NWWriter_DlrNavteq::writeNodesUnsplitted(), and GUIDanielPerspectiveChanger::zoom().
double Boundary::xmin | ( | ) | const |
Returns minimum x-coordinate.
Definition at line 118 of file Boundary.cpp.
References myXmin.
Referenced by add(), NIVissimConnectionCluster::add(), SUMORTree::addAdditionalGLObject(), NBHeightMapper::addTriangle(), GUISUMOAbstractView::applyGLTransform(), NIVissimConnectionCluster::around(), NIVissimConnection::buildNodeClusters(), GUIDanielPerspectiveChanger::changeCanvasSizeLeft(), libsumo::Helper::collectObjectsInRange(), NBNetBuilder::compute(), NIVissimDisturbance::computeBounding(), NIVissimBoundedClusterObject::crosses(), GeomHelper::crossPoint(), GUIViewTraffic::doPaintGL(), GNEViewNet::doPaintGL(), GLHelper::drawBoundary(), MSDevice_BTreceiver::BTreceiverUpdate::execute(), MSLane::fill(), NBPTStopCont::findAccessEdgesForRailStops(), NIVissimConnection::getBoundingBox(), RORouteHandler::getLaneTree(), libsumo::Simulation::getNetBoundary(), NIVissimConnectionCluster::getPositionForEdge(), libsumo::Junction::getTree(), libsumo::Polygon::getTree(), NBHeightMapper::getZ(), GUINet::initGUIStructures(), MSPModel_Remote::initialize(), main(), GUISUMOAbstractView::makeSnapshot(), NBNetBuilder::moveToOrigin(), GNEAdditionalHandler::myEndElement(), NIVissimConnectionCluster::NIVissimConnectionCluster(), NIVissimConnectionCluster::overlapsWith(), NIVissimConnectionCluster::NodeSubCluster::overlapsWith(), GUISUMOAbstractView::paintGLGrid(), RORouteHandler::parseGeoEdges(), TraCIServerAPI_GUI::processGet(), NIVissimConnectionCluster::recheckEdges(), NIVissimConnectionCluster::recomputeBoundary(), SUMORTree::removeAdditionalGLObject(), GUISUMOAbstractView::screenPos2NetPos(), set(), GNEVehicle::setColor(), GUIBaseVehicle::setFunctionalColor(), GNEPoly::simplifyShape(), BinaryFormatter::writeAttr(), NWWriter_OpenDrive::writeNetwork(), NWWriter_DlrNavteq::writeNodesUnsplitted(), and GUIDanielPerspectiveChanger::zoom().
double Boundary::ymax | ( | ) | const |
Returns maximum y-coordinate.
Definition at line 136 of file Boundary.cpp.
References myYmax.
Referenced by add(), SUMORTree::addAdditionalGLObject(), NBHeightMapper::addTriangle(), GUISUMOAbstractView::applyGLTransform(), GUIDanielPerspectiveChanger::changeCanvasSizeLeft(), libsumo::Helper::collectObjectsInRange(), NBNetBuilder::compute(), GeomHelper::crossPoint(), GUIViewTraffic::doPaintGL(), GNEViewNet::doPaintGL(), GLHelper::drawBoundary(), MSDevice_BTreceiver::BTreceiverUpdate::execute(), MSLane::fill(), NBPTStopCont::findAccessEdgesForRailStops(), RORouteHandler::getLaneTree(), libsumo::Simulation::getNetBoundary(), libsumo::Junction::getTree(), libsumo::Polygon::getTree(), NBHeightMapper::getZ(), GUINet::initGUIStructures(), MSPModel_Remote::initialize(), main(), GUISUMOAbstractView::makeSnapshot(), NBNetBuilder::moveToOrigin(), GNEAdditionalHandler::myEndElement(), GUISUMOAbstractView::paintGLGrid(), RORouteHandler::parseGeoEdges(), TraCIServerAPI_GUI::processGet(), SUMORTree::removeAdditionalGLObject(), set(), GNEVehicle::setColor(), GUIBaseVehicle::setFunctionalColor(), GNEPoly::simplifyShape(), BinaryFormatter::writeAttr(), NWWriter_OpenDrive::writeNetwork(), NWWriter_DlrNavteq::writeNodesUnsplitted(), and GUIDanielPerspectiveChanger::zoom().
double Boundary::ymin | ( | ) | const |
Returns minimum y-coordinate.
Definition at line 130 of file Boundary.cpp.
References myYmin.
Referenced by add(), SUMORTree::addAdditionalGLObject(), NBHeightMapper::addTriangle(), GUISUMOAbstractView::applyGLTransform(), GUIDanielPerspectiveChanger::changeCanvasSizeLeft(), libsumo::Helper::collectObjectsInRange(), NBNetBuilder::compute(), GeomHelper::crossPoint(), GUIViewTraffic::doPaintGL(), GNEViewNet::doPaintGL(), GLHelper::drawBoundary(), MSDevice_BTreceiver::BTreceiverUpdate::execute(), MSLane::fill(), NBPTStopCont::findAccessEdgesForRailStops(), RORouteHandler::getLaneTree(), libsumo::Simulation::getNetBoundary(), libsumo::Junction::getTree(), libsumo::Polygon::getTree(), GUINet::initGUIStructures(), MSPModel_Remote::initialize(), main(), GUISUMOAbstractView::makeSnapshot(), NBNetBuilder::moveToOrigin(), GNEAdditionalHandler::myEndElement(), GUISUMOAbstractView::paintGLGrid(), RORouteHandler::parseGeoEdges(), TraCIServerAPI_GUI::processGet(), SUMORTree::removeAdditionalGLObject(), GUISUMOAbstractView::screenPos2NetPos(), set(), GNEVehicle::setColor(), GUIBaseVehicle::setFunctionalColor(), GNEPoly::simplifyShape(), BinaryFormatter::writeAttr(), NWWriter_OpenDrive::writeNetwork(), NWWriter_DlrNavteq::writeNodesUnsplitted(), and GUIDanielPerspectiveChanger::zoom().
double Boundary::zmax | ( | ) | const |
Returns maximum z-coordinate.
Definition at line 148 of file Boundary.cpp.
References myZmax.
Referenced by add(), and libsumo::Simulation::getNetBoundary().
double Boundary::zmin | ( | ) | const |
Returns minimum z-coordinate.
Definition at line 142 of file Boundary.cpp.
References myZmin.
Referenced by add(), and libsumo::Simulation::getNetBoundary().
|
friend |
Output operator.
Definition at line 333 of file Boundary.cpp.
|
private |
Information whether the boundary was initialised.
Definition at line 155 of file Boundary.h.
Referenced by add(), isInitialised(), operator==(), and reset().
|
private |
Definition at line 152 of file Boundary.h.
Referenced by add(), around(), crosses(), distanceTo2D(), getCenter(), getWidth(), grow(), growWidth(), moveby(), operator<<(), operator==(), overlapsWith(), partialWithin(), reset(), set(), and xmax().
|
private |
The boundaries.
Definition at line 152 of file Boundary.h.
Referenced by add(), around(), crosses(), distanceTo2D(), getCenter(), getWidth(), grow(), growWidth(), moveby(), operator<<(), operator==(), overlapsWith(), partialWithin(), reset(), set(), and xmin().
|
private |
Definition at line 152 of file Boundary.h.
Referenced by add(), around(), crosses(), distanceTo2D(), flipY(), getCenter(), getHeight(), grow(), growHeight(), moveby(), operator<<(), operator==(), overlapsWith(), partialWithin(), reset(), set(), and ymax().
|
private |
Definition at line 152 of file Boundary.h.
Referenced by add(), around(), crosses(), distanceTo2D(), flipY(), getCenter(), getHeight(), grow(), growHeight(), moveby(), operator<<(), operator==(), overlapsWith(), partialWithin(), reset(), set(), and ymin().
|
private |
Definition at line 152 of file Boundary.h.
Referenced by add(), around(), getCenter(), getZRange(), moveby(), operator==(), reset(), and zmax().
|
private |
Definition at line 152 of file Boundary.h.
Referenced by add(), around(), getCenter(), getZRange(), moveby(), operator==(), reset(), and zmin().