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
- IPoint
PointReset
RoutingException
public static PointReset buildPointExcludeReset(IPoint point) throws RoutingException
point
- IPoint
PointReset
RoutingException
public IPoint getPoint()
IPoint
public boolean isExcludeReset()
true
or false
public boolean isSpeedReset()
true
or false