public final class PointReset extends Object implements Reset
IPoint.
For a particular point, you can: revert the excluded point and you can also revert
the point speed updates.| Modifier and Type | Method and Description |
|---|---|
static PointReset |
buildPointExcludeReset(IPoint point)
This method can be used to create a point reset which will revert the point exclude
and will include it in Route calculation.
|
static PointReset |
buildPointSpeedReset(IPoint point)
This method can be used to create a point speed reset which will revert the all
speed updates applied on the point.
|
IPoint |
getPoint()
Returns the point for which the reset was created.
|
boolean |
isExcludeReset()
Check if the reset is for Point exclude.
|
boolean |
isSpeedReset()
Check if the reset is for Point speed.
|
public static PointReset buildPointSpeedReset(IPoint point) throws RoutingException
point - IPointPointResetRoutingExceptionpublic static PointReset buildPointExcludeReset(IPoint point) throws RoutingException
point - IPointPointResetRoutingExceptionpublic IPoint getPoint()
IPointpublic boolean isExcludeReset()
true or falsepublic boolean isSpeedReset()
true or false