public static class StaticRouteProfile.StaticConfigurableProfile extends ConfigurableProfile
ProfileSegment and a SurfaceSegment
which correspond to each other and indicates to the route design system to disallow any modification
of the user's geometry.| Constructor and Description |
|---|
StaticConfigurableProfile(ProfileSegment segment,
SurfaceSegment path)
Create a new instance based on the specified predefined geometry.
|
| Modifier and Type | Method and Description |
|---|---|
ProfileConfigurationResult |
configureProfiles(ConfigurableProfile previous,
ConfigurableProfile next,
ITrackCalculationProgress tracker)
Configure this profile in relation to the previous and next profile to make sure than
they each connect continuously.
|
void |
freezeFinalConditions()
Called by the
RoutePropagator to indicate to the profile that
it should not let other profiles update its final boundary conditions. |
void |
freezeInitialConditions()
Called by the
RoutePropagator to indicate to the profile that
it should not let other profiles update its initial boundary conditions. |
boolean |
getAllowModificationOfFinalHeight()
Gets a value indicating whether to allow other profiles to modify
the final height of this profile in order to ensure continuity.
|
boolean |
getAllowModificationOfFinalHeightRate()
Gets a value indicating whether to allow other profiles to modify
the final height rate of this profile in order to ensure continuity.
|
boolean |
getAllowModificationOfFinalSpeed()
Gets a value indicating whether to allow other profiles to modify
the final speed of this profile in order to ensure continuity.
|
boolean |
getAllowModificationOfInitialHeight()
Gets a value indicating whether to allow other profiles to modify
the initial height of this profile in order to ensure continuity.
|
boolean |
getAllowModificationOfInitialHeightRate()
Gets a value indicating whether to allow other profiles to modify
the initial height rate of this profile in order to ensure continuity.
|
boolean |
getAllowModificationOfInitialSpeed()
Gets a value indicating whether to allow other profiles to modify
the initial speed of this profile in order to ensure continuity.
|
double |
getFinalHeight()
Gets the final height of this profile above the reference surface.
|
double |
getFinalHeightRate()
Gets the final height rate for this profile.
|
ProfileSpeed |
getFinalSpeed()
Gets the final speed for this profile.
|
TerrainProvider |
getHeightReferenceSurface()
Gets the reference terrain surface from which the height is measured.
|
double |
getInitialHeight()
Gets the initial height of this profile above the reference surface.
|
double |
getInitialHeightRate()
Gets the initial height rate for this profile.
|
ProfileSpeed |
getInitialSpeed()
Gets the initial speed for this profile.
|
ProfileSegment |
getProfileSegment()
Get the time dynamic geometry of the profile after configuration.
|
double |
getTargetFinalHeight()
Gets the final height that this profile will attempt to target.
|
double |
getTargetFinalHeightRate()
Gets the final height rate that this profile will attempt to target.
|
ProfileSpeed |
getTargetFinalSpeed()
Gets the final speed that this profile will attempt to target.
|
double |
getTargetInitialHeight()
Gets the initial height that this profile will attempt to target.
|
double |
getTargetInitialHeightRate()
Gets the initial height rate that this profile will attempt to target.
|
ProfileSpeed |
getTargetInitialSpeed()
Gets the initial speed that this profile will attempt to target.
|
void |
setFinalHeight(double value)
Sets the final height of this profile above the reference surface.
|
void |
setFinalHeightRate(double value)
Sets the final height rate for this profile.
|
void |
setFinalSpeed(ProfileSpeed value)
Sets the final speed for this profile.
|
void |
setInitialHeight(double value)
Sets the initial height of this profile above the reference surface.
|
void |
setInitialHeightRate(double value)
Sets the initial height rate for this profile.
|
void |
setInitialSpeed(ProfileSpeed value)
Sets the initial speed for this profile.
|
getProfileComputationalWeightpublic StaticConfigurableProfile(ProfileSegment segment, SurfaceSegment path)
segment - The profile geometry.path - The surface path geometrypublic ProfileSegment getProfileSegment()
getProfileSegment in class ConfigurableProfilepublic ProfileConfigurationResult configureProfiles(ConfigurableProfile previous, ConfigurableProfile next, ITrackCalculationProgress tracker)
configureProfiles in class ConfigurableProfileprevious - The previous profile to configure.next - The next profile to configure.tracker - A progress tracker to track the progress of the route configuration, or null.public double getInitialHeight()
getInitialHeight in class ConfigurableProfilepublic void setInitialHeight(double value)
setInitialHeight in class ConfigurableProfilepublic double getFinalHeight()
getFinalHeight in class ConfigurableProfilepublic void setFinalHeight(double value)
setFinalHeight in class ConfigurableProfilepublic double getTargetInitialHeight()
getTargetInitialHeight in class ConfigurableProfilepublic double getTargetFinalHeight()
getTargetFinalHeight in class ConfigurableProfilepublic TerrainProvider getHeightReferenceSurface()
getHeightReferenceSurface in class ConfigurableProfilepublic boolean getAllowModificationOfInitialHeight()
getAllowModificationOfInitialHeight in class ConfigurableProfilepublic boolean getAllowModificationOfFinalHeight()
getAllowModificationOfFinalHeight in class ConfigurableProfilepublic ProfileSpeed getInitialSpeed()
getInitialSpeed in class ConfigurableProfilepublic void setInitialSpeed(ProfileSpeed value)
setInitialSpeed in class ConfigurableProfilepublic ProfileSpeed getFinalSpeed()
getFinalSpeed in class ConfigurableProfilepublic void setFinalSpeed(ProfileSpeed value)
setFinalSpeed in class ConfigurableProfilepublic ProfileSpeed getTargetInitialSpeed()
getTargetInitialSpeed in class ConfigurableProfilepublic ProfileSpeed getTargetFinalSpeed()
getTargetFinalSpeed in class ConfigurableProfilepublic boolean getAllowModificationOfInitialSpeed()
getAllowModificationOfInitialSpeed in class ConfigurableProfilepublic boolean getAllowModificationOfFinalSpeed()
getAllowModificationOfFinalSpeed in class ConfigurableProfilepublic double getInitialHeightRate()
getInitialHeightRate in class ConfigurableProfilepublic void setInitialHeightRate(double value)
setInitialHeightRate in class ConfigurableProfilepublic double getFinalHeightRate()
getFinalHeightRate in class ConfigurableProfilepublic void setFinalHeightRate(double value)
setFinalHeightRate in class ConfigurableProfilepublic double getTargetInitialHeightRate()
getTargetInitialHeightRate in class ConfigurableProfilepublic double getTargetFinalHeightRate()
getTargetFinalHeightRate in class ConfigurableProfilepublic boolean getAllowModificationOfInitialHeightRate()
getAllowModificationOfInitialHeightRate in class ConfigurableProfilepublic boolean getAllowModificationOfFinalHeightRate()
getAllowModificationOfFinalHeightRate in class ConfigurableProfilepublic void freezeInitialConditions()
RoutePropagator to indicate to the profile that
it should not let other profiles update its initial boundary conditions.freezeInitialConditions in class ConfigurableProfilepublic void freezeFinalConditions()
RoutePropagator to indicate to the profile that
it should not let other profiles update its final boundary conditions.freezeFinalConditions in class ConfigurableProfile