code: def getShape3D(self, includeJunctions=False):
          
  
          if includeJunctions and not self._edge.isSpecial():
              if self._shapeWithJunctions3D is None:
                  self._shapeWithJunctions3D = addJunctionPos(self._shape3D,
                                                              self._edge.getFromNode(
                                                              ).getCoord3D(),
                                                              self._edge.getToNode().getCoord3D())
              return self._shapeWithJunctions3D
          return self._shape3D
docs: Returns the shape of the lane in 3d.
  
          This function returns the shape of the lane, as defined in the net.xml
          file. The returned shape is a list containing numerical
          3-tuples representing the x,y,z coordinates of the shape points
          where z defaults to zero.
  
          For includeJunction=True the returned list will contain
          additionally the coords (x,y,z) of the fromNode of the
          corresponding edge as first element and the coords (x,y,z)
          of the toNode as last element.
  
          For internal lanes, includeJunctions is ignored and the unaltered
          shape of the lane is returned.