|
Envinsa 4.1 Java Edition API Specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.mapinfo.miaware.clientsdk.common.WayPoint
This class represents a location to be visited along a route.
FUNCTIONALITY
A Location is represented by:
USABILITY
Address,
Position,
PointOfInterest| Constructor Summary | |
WayPoint(DirectPosition dpos,
java.lang.String srsName)
Contructs this object with a given direct position and SRS name. |
|
WayPoint(double x,
double y,
java.lang.String srsName)
Constructs this object with the given coordinates and SRS name. |
|
WayPoint(Location location)
Constructs this object with a given location. |
|
WayPoint(Location location,
GeocodingQOS geocodeMatchCode)
Constructs this object with a given location and quality of the match operation. |
|
WayPoint(Location location,
GeocodingQOS geocodeMatchCode,
boolean stop)
Constructs this object with a given location, match code, and stop flag. |
|
WayPoint(com.mapinfo.miaware.xls.WayPointType wayPointType)
Constructs this object with the stub object. |
|
| Method Summary | |
GeocodingQOS |
getGeocodeMatchCode()
Returns the geocode match type that provides information on the quality of the match operation (accuracy and match code). |
Location |
getLocation()
Returns the WayPoint location. |
boolean |
isStop()
Returns the stop flag that specifies whether the traveler plans to stop at the waypoint, or simply pass through it. |
void |
setGeocodeMatchCode(GeocodingQOS geocodeMatchCode)
Sets the new geocode match type. |
void |
setLocation(Location location)
Sets the new WayPoint location. |
void |
setStop(boolean stop)
Sets the new stop flag. |
java.lang.String |
toString()
Returns the string representation of the WayPoint. |
com.mapinfo.miaware.xls.WayPointType |
toXLS()
Returns a new WayPointType object from this object. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public WayPoint(Location location)
location - the WayPoint location.
public WayPoint(Location location,
GeocodingQOS geocodeMatchCode)
location - the WayPoint location.geocodeMatchCode - the Geocode match code.GeocodingQOS
public WayPoint(Location location,
GeocodingQOS geocodeMatchCode,
boolean stop)
location - the WayPoint location.geocodeMatchCode - the Geocode match code.stop - a flag that specifies whether the traveler plans to stop at the waypoint
or simply pass through it.
True represents a stop, false represents a pass through.
public WayPoint(DirectPosition dpos,
java.lang.String srsName)
throws InvalidMessageException
dpos - the WayPoint position.srsName - the spatial reference system to which the data will be projected in EPSG:XXXX format.
InvalidMessageException
public WayPoint(double x,
double y,
java.lang.String srsName)
throws InvalidMessageException
x - the WayPoint X ordinate.y - the WayPoint Y ordinate.srsName - the spatial reference system to which the data will be projected in EPSG:XXXX format.
InvalidMessageException
public WayPoint(com.mapinfo.miaware.xls.WayPointType wayPointType)
throws InvalidMessageException
wayPointType - the WayPointType stub object.
InvalidMessageException - if the stub object is null.| Method Detail |
public Location getLocation()
public void setLocation(Location location)
location - the WayPoint location.public GeocodingQOS getGeocodeMatchCode()
public void setGeocodeMatchCode(GeocodingQOS geocodeMatchCode)
geocodeMatchCode - the Geocode match code.public boolean isStop()
public void setStop(boolean stop)
stop - boolean value for the stop flag.
True represents a stop, false represents a pass through.public java.lang.String toString()
public com.mapinfo.miaware.xls.WayPointType toXLS()
|
v4.1 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||