interpolate Along Path
fun interpolateAlongPath(endLocation: Location, pathType: PathType, amount: Double, result: Location): Location
Compute a location along a path between two locations. The amount indicates the fraction of the path at which to compute a location. This value is typically between 0 and 1, where 0 indicates the begin location (this location) and 1 indicates the end location.
Return
the result argument set to the computed location
Parameters
end Location
the path's end location
path Type
PathType indicating type of path to assume
amount
the fraction of the path at which to compute a location
result
a pre-allocated Location in which to return the computed location