computeEffectiveFocalLength

fun computeEffectiveFocalLength(focalLength: Double, focusDistance: Double): Double

Helper to compute the effective focal length taking into account the focus distance.

Return

The effective focal length in the same unit as focalLength

Parameters

focalLength

Focal length in any unit (e.g. m or mm)

focusDistance

Focus distance in the same unit as focalLength