distanceToPlane

fun Pose.distanceToPlane(cameraPose: Pose): Float

Calculate the normal distance to plane from camera Pose

The given planePose should have y axis parallel to plane's normal, for example plane's center pose or hit test pose.