Eclipse SUMO - Simulation of Urban MObility
GNEDemandElement::DemandElementSegmentGeometry::Segment Struct Reference

struct used for represent segments of demand element geometry More...

#include <GNEDemandElement.h>

Collaboration diagram for GNEDemandElement::DemandElementSegmentGeometry::Segment:

Public Member Functions

 Segment (const GNEDemandElement *_element, const GNEEdge *_edge, const Position _pos, const bool _visible, const bool _valid)
 parameter constructor for edges More...
 
 Segment (const GNEDemandElement *_element, const GNEEdge *_edge, const Position _pos, double _length, double _rotation, const bool _visible, const bool _valid)
 parameter constructor for edges More...
 
 Segment (const GNEDemandElement *_element, const GNEJunction *_junction, const Position _pos, const bool _visible, const bool _valid)
 parameter constructor for junctions More...
 

Data Fields

const GNEEdgeedge
 edge More...
 
const GNEDemandElementelement
 element More...
 
const GNEJunctionjunction
 junction More...
 
double length
 length More...
 
const Position pos
 position More...
 
double rotation
 rotation More...
 
const bool valid
 invalid More...
 
const bool visible
 visible More...
 

Private Member Functions

Segmentoperator= (const Segment &other)=delete
 Invalidated assignment operator. More...
 

Detailed Description

struct used for represent segments of demand element geometry

Definition at line 83 of file GNEDemandElement.h.

Constructor & Destructor Documentation

◆ Segment() [1/3]

GNEDemandElement::DemandElementSegmentGeometry::Segment::Segment ( const GNEDemandElement _element,
const GNEEdge _edge,
const Position  _pos,
const bool  _visible,
const bool  _valid 
)

parameter constructor for edges

Definition at line 87 of file GNEDemandElement.cpp.

◆ Segment() [2/3]

GNEDemandElement::DemandElementSegmentGeometry::Segment::Segment ( const GNEDemandElement _element,
const GNEEdge _edge,
const Position  _pos,
double  _length,
double  _rotation,
const bool  _visible,
const bool  _valid 
)

parameter constructor for edges

Definition at line 99 of file GNEDemandElement.cpp.

◆ Segment() [3/3]

GNEDemandElement::DemandElementSegmentGeometry::Segment::Segment ( const GNEDemandElement _element,
const GNEJunction _junction,
const Position  _pos,
const bool  _visible,
const bool  _valid 
)

parameter constructor for junctions

Definition at line 111 of file GNEDemandElement.cpp.

Member Function Documentation

◆ operator=()

Segment& GNEDemandElement::DemandElementSegmentGeometry::Segment::operator= ( const Segment other)
privatedelete

Invalidated assignment operator.

Field Documentation

◆ edge

const GNEEdge* GNEDemandElement::DemandElementSegmentGeometry::Segment::edge

edge

Definition at line 97 of file GNEDemandElement.h.

◆ element

const GNEDemandElement* GNEDemandElement::DemandElementSegmentGeometry::Segment::element

element

Definition at line 94 of file GNEDemandElement.h.

◆ junction

const GNEJunction* GNEDemandElement::DemandElementSegmentGeometry::Segment::junction

junction

Definition at line 100 of file GNEDemandElement.h.

◆ length

double GNEDemandElement::DemandElementSegmentGeometry::Segment::length

length

Definition at line 112 of file GNEDemandElement.h.

◆ pos

const Position GNEDemandElement::DemandElementSegmentGeometry::Segment::pos

position

Definition at line 103 of file GNEDemandElement.h.

◆ rotation

double GNEDemandElement::DemandElementSegmentGeometry::Segment::rotation

rotation

Definition at line 115 of file GNEDemandElement.h.

◆ valid

const bool GNEDemandElement::DemandElementSegmentGeometry::Segment::valid

invalid

Definition at line 109 of file GNEDemandElement.h.

◆ visible

const bool GNEDemandElement::DemandElementSegmentGeometry::Segment::visible

visible

Definition at line 106 of file GNEDemandElement.h.


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