Class IWRouteEntry

A class representing a route segment object

This class is part of the module routing.

Author: JAN

Constructor Summary
IWRouteEntry()
            Creates a new router segment object
 
Method Summary
 String getConnector()
           Returns the connector.
 IWCoordinate getCoordinate()
           Returns the starting coordinate for this route segment.
 String getDescription()
           Returns the description.
 number getDirection()
           Returns one of the following direction code for this route segment.

  • 0: straight ahead
  • 1: half right
  • 2: right
  • 3: sharp right
  • -1: half left
  • -2: left
  • -3: sharp left
  • 11: roundabout

 double getEntryDistance()
           Returns the absolute distance.
 long getEntryTime()
           Returns the entry time.
 number getOrientation()
           Returns the orientation.
 String getRoundaboutNumber()
           Returns the roundabout number.
 String getRoundaboutType()
           Returns the roundabout type.
 String getSegment()
           Returns the segment.
 String getSignPost()
           Returns the signpost.
 String getStreetType()
           Returns the street type of the route entry.
 double getTotalDistance()
           Returns the total distance.
 long getTotalTime()
           Returns the total time.
 String getType()
           Returns the type of the route entry.
 void setConnector(connector)
           Sets the connector.
 void setCoordinate(newCoordinate)
           Sets the starting coordinate for this route segment.
 void setDescription(description)
           Sets the description.
 void setDirection(direction)
           Sets the direction code for this route segment.
 void setEntryDistance(distance)
           Sets the entry distance.
 void setEntryTime(time)
           Sets the entry time.
 void setOrientation(orientation)
           Sets the orientation.
 void setRoundaboutNumber(number)
           Sets the roundabout number.
 void setRoundaboutType(type)
           Sets the roundabout type. contains an empty string.
 void setSegment(segment)
           Sets the segment.
 void setSignPost(signpost)
           Sets the signpost.
 void setStreetType(streetType)
           Sets the street type of the route entry.
 void setTotalDistance(distance)
           Sets the total distance.
 void setTotalTime(time)
           Sets the total time.
 void setType(type)
           Sets the type of the route entry.
 String toString()
           Returns a string representation of this object.
 
Constructor Detail

IWRouteEntry

IWRouteEntry()

Method Detail

getConnector

String getConnector()

getCoordinate

IWCoordinate getCoordinate()

getDescription

String getDescription()

getDirection

number getDirection()

getEntryDistance

double getEntryDistance()

getEntryTime

long getEntryTime()

getOrientation

number getOrientation()

getRoundaboutNumber

String getRoundaboutNumber()

getRoundaboutType

String getRoundaboutType()

getSegment

String getSegment()

getSignPost

String getSignPost()

getStreetType

String getStreetType()

getTotalDistance

double getTotalDistance()

getTotalTime

long getTotalTime()

getType

String getType()

setConnector

void setConnector(connector)

setCoordinate

void setCoordinate(newCoordinate)

setDescription

void setDescription(description)

setDirection

void setDirection(direction)

setEntryDistance

void setEntryDistance(distance)

setEntryTime

void setEntryTime(time)

setOrientation

void setOrientation(orientation)

setRoundaboutNumber

void setRoundaboutNumber(number)

setRoundaboutType

void setRoundaboutType(type)

setSegment

void setSegment(segment)

setSignPost

void setSignPost(signpost)

setStreetType

void setStreetType(streetType)

setTotalDistance

void setTotalDistance(distance)

setTotalTime

void setTotalTime(time)

setType

void setType(type)

toString

String toString()

Source-Code Copyright 2007-2016 infoware GmbH - Documentation generated on Tue Nov 29 2022 14:20:15 GMT+0100 (MEZ)