def findLinearY(x1,y1,x2,y2,xValue): #using the linear form of y = mx + b, solve for y... slope = (y1 - y2) / float(x1 - x2) b = y1 - (slope * x1) return slope * float(xValue) + b #return a floating point mx + b!
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.