Figure 17.
Update procedure for triangle ABC. We want to compute the distance value at C, fitting a plane over the triangle, based on A and B distances, and the desired plane slope g. We require the solution t to be greater than u, and to be updated from within the triangle, that is, h should lay between edges CA and CB.