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!
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.