# LambertOrbitSolverAddLanguageSpecificTextSet("LST9D5B84D9_0?cpp=::|nu=.");SolveFixedDurationTransfer Method (Cartesian, Cartesian, Duration, Int32, LambertPathType, OrbitDirectionType, Cartesian)

Solves the classic Lambert problem with the specified number of revolutions.

Namespace:  AGI.Foundation.Propagators
Assembly:  AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 20.3.405.0 (20.3.405.0)
Syntax
public LambertResult SolveFixedDurationTransfer(
Cartesian initialPosition,
Cartesian finalPosition,
Duration timeOfFlight,
int numberOfRevolutions,
LambertPathType pathType,
OrbitDirectionType directionOfFlight,
Cartesian orbitalPlaneVector
)

#### Parameters

initialPosition
Type: AGI.Foundation.CoordinatesCartesian
The starting position of the orbit/transfer.
finalPosition
Type: AGI.Foundation.CoordinatesCartesian
The ending position of the orbit/transfer.
timeOfFlight
Type: AGI.Foundation.TimeDuration
The Duration taken between the initial and final points.
numberOfRevolutions
Type: SystemInt32
The number of revolutions to reach the final position.
pathType
Type: AGI.Foundation.PropagatorsLambertPathType
Specifies whether the Lambert algorithm should take the smaller or large semi-major axis path when the revolution count is greater than 0.
directionOfFlight
Type: AGI.Foundation.CoordinatesOrbitDirectionType
Determines if the flight path is prograde or retrograde.
orbitalPlaneVector
Type: AGI.Foundation.CoordinatesCartesian
A vector that is used in conjunction with the initial position of the spacecraft to define the orbital plane in the case of ambiguity. Typically the velocity at the initial position if known.

#### Return Value

Type: LambertResult
The motion at the initial and final positions and the time of flight.