public abstract class ConfigurableSurfaceProcedure extends Object
Modifier | Constructor and Description |
---|---|
protected |
ConfigurableSurfaceProcedure(SurfaceProcedureConnectionDependency dependency)
Create a new instance based on the given configuration dependency
|
Modifier and Type | Method and Description |
---|---|
abstract SurfaceConfigurationResult |
configureEntry(List<ConfigurableConnection> connections,
int previousIndex)
Given the list of connections, configure the previous connection as it enters this procedure.
|
abstract SurfaceConfigurationResult |
configureExit(List<ConfigurableConnection> connections,
int nextIndex)
Given the list of connections, configure the next connection as it leaves this procedure.
|
abstract Cartographic |
getAnchorPoint()
Gets the surface location to use as a marker for the approximate center or point
of interest for the given procedure.
|
SurfaceProcedureConnectionDependency |
getConnectionDependency()
Gets the order in which to configure the surrounding connections.
|
double |
getSurfacePathComputationalWeight()
Gets the weight to use when reporting progress.
|
abstract SurfaceSegment |
getSurfaceSegment()
Create an immutable
SurfaceSegment representing the geometry of this procedure,
including any entry and exit arcs prior to the connections. |
protected void |
setConnectionDependency(SurfaceProcedureConnectionDependency value)
Sets the order in which to configure the surrounding connections.
|
protected ConfigurableSurfaceProcedure(@Nonnull SurfaceProcedureConnectionDependency dependency)
dependency
- The dependency indicating the order in which to configure
the surrounding connections.@Nonnull public final SurfaceProcedureConnectionDependency getConnectionDependency()
protected final void setConnectionDependency(@Nonnull SurfaceProcedureConnectionDependency value)
public double getSurfacePathComputationalWeight()
@Nonnull public abstract Cartographic getAnchorPoint()
public abstract SurfaceConfigurationResult configureEntry(List<ConfigurableConnection> connections, int previousIndex)
connections
- The list of connections in the route.previousIndex
- The index of the connection which comes before this procedure.public abstract SurfaceConfigurationResult configureExit(List<ConfigurableConnection> connections, int nextIndex)
connections
- The list of connections in the route.nextIndex
- The index of the connection which comes after this procedure.@Nonnull public abstract SurfaceSegment getSurfaceSegment()
SurfaceSegment
representing the geometry of this procedure,
including any entry and exit arcs prior to the connections.