private IPolyline GetDifferencePolylineXyz( [NotNull] IPolyline onPolyline, [NotNull] IPolyline differentFrom) { double xyTolerance = GeometryUtils.GetXyTolerance(onPolyline); // For the Geom-implementation, use resolution / 2 because it is based on actual Z // differences without snapping intermediate results to spatial reference. double zTolerance = UseMinimumTolerance ? GeometryUtils.GetZResolution(differentFrom) / 2 : GeometryUtils.GetZTolerance(differentFrom); return(ReshapeUtils.GetDifferencePolylineXyz( onPolyline, differentFrom, xyTolerance, zTolerance)); }