approxLine2pts adapted with relative coordinates
approxLine2pts adapted with relative coordinates
changed approxLine2pts so that absolute z-coordinate is used and normal vector of line is computed accordingly (in scalarProduct()
comments