public abstract class SurfaceProcedureConnection extends ConfigurableConnection
Modifier | Constructor and Description |
---|---|
protected |
SurfaceProcedureConnection()
Create a new instance.
|
Modifier and Type | Method and Description |
---|---|
ConnectionStrategy |
getConnection()
Gets the strategy to use when connecting the previous procedure with the next.
|
double |
getFinalHeading()
Gets the final heading of the connection, in radians.
|
Cartographic |
getFinalPoint()
Gets the final point of the connection segment.
|
double |
getHeading(double s)
Get the heading at an arbitrary point along the connection, in radians.
|
double |
getInitialHeading()
Gets the initial heading of the connection, in radians.
|
Cartographic |
getInitialPoint()
Gets the initial point of the connection segment.
|
boolean |
getIsValid()
Gets a value indicating whether this is a valid connection to the previous and next procedures.
|
Cartographic |
getPoint(double s)
Get the surface point along the connection at the given arc length.
|
double |
getSurfaceDistance()
Gets the total distance traversed by this connection from start to finish, in meters.
|
SurfaceSegment |
getSurfaceSegment()
Create the surface geometry for the given connection.
|
Ellipsoid |
getSurfaceShape()
Gets the shape of the reference surface upon which the surface geometry is defined.
|
protected void |
setConnection(ConnectionStrategy value)
Sets the strategy to use when connecting the previous procedure with the next.
|
void |
setIsValid(boolean value)
Sets a value indicating whether this is a valid connection to the previous and next procedures.
|
void |
setPoints(Cartographic start,
Cartographic stop)
Set the initial and final points of the connection segment.
|
void |
setStart(Cartographic start)
Set the initial point of the connection segment.
|
void |
setStop(Cartographic stop)
Set the final point of the connection segment.
|
configure, getComputationalWeight, getDependency, getEntryToNextConfiguration, getExitFromPreviousConfiguration
protected SurfaceProcedureConnection()
public final ConnectionStrategy getConnection()
protected final void setConnection(ConnectionStrategy value)
public SurfaceSegment getSurfaceSegment()
getSurfaceSegment
in class ConfigurableConnection
public void setPoints(@Nonnull Cartographic start, @Nonnull Cartographic stop)
setPoints
in class ConfigurableConnection
start
- The initial point of the connection.stop
- The final point of the connection.public void setStart(@Nonnull Cartographic start)
setStart
in class ConfigurableConnection
start
- The initial point of the connection.public void setStop(@Nonnull Cartographic stop)
setStop
in class ConfigurableConnection
stop
- The final point of the connection.public boolean getIsValid()
getIsValid
in class ConfigurableConnection
public void setIsValid(boolean value)
setIsValid
in class ConfigurableConnection
public double getHeading(double s)
getHeading
in class ConfigurableConnection
s
- The arc length parameter along the connection, in meters.@Nonnull public Cartographic getPoint(double s)
getPoint
in class ConfigurableConnection
s
- The arc length parameter along the connection, in meters.public double getInitialHeading()
getInitialHeading
in class ConfigurableConnection
public double getFinalHeading()
getFinalHeading
in class ConfigurableConnection
public double getSurfaceDistance()
getSurfaceDistance
in class ConfigurableConnection
@Nonnull public Cartographic getInitialPoint()
getInitialPoint
in class ConfigurableConnection
@Nonnull public Cartographic getFinalPoint()
getFinalPoint
in class ConfigurableConnection
public Ellipsoid getSurfaceShape()
getSurfaceShape
in class ConfigurableConnection