Click or drag to resize

TerrainAvoidanceProfile Constructor (TerrainProvider, Double, Double, Double, Double, ProfileDynamics, Double)

Create a new instance based on the given terrain and boundary conditions.

Namespace:  AGI.Foundation.RouteDesign
Assembly:  AGI.Foundation.RouteDesign (in AGI.Foundation.RouteDesign.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public TerrainAvoidanceProfile(
	TerrainProvider terrain,
	double minimumHeight,
	double samplingDistance,
	double initialHeight,
	double finalHeight,
	ProfileDynamics profileDynamics,
	double targetSpeed
)

Parameters

terrain
Type: AGI.Foundation.TerrainTerrainProvider
The terrain defining the height profile.
minimumHeight
Type: SystemDouble
The minimum height above the terrain, in meters.
samplingDistance
Type: SystemDouble
The rate at which to sample the terrain along the surface path, in meters. A smaller sampling distance will result in fewer violations of the minimum height. Whereas, a larger sampling distance will be faster. The sampling distance should reflect how quickly the terrain height is changing over the surface region in which the corresponding procedure occurs.
initialHeight
Type: SystemDouble
The initial height above the terrain, in meters.
finalHeight
Type: SystemDouble
The final height above the terrain, in meters.
profileDynamics
Type: AGI.Foundation.RouteDesignProfileDynamics
The dynamical properties of the position.
targetSpeed
Type: SystemDouble
The target speed at which to traverse over the terrain, in meters per second.
See Also