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!
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.