X xzmyzy Unregistered / Unconfirmed GUEST, unregistred user! 2005-08-15 #1 一椭圆的边框为Rect(left,top,width,height),一直线两点,其中一点为椭圆中心点,另一点为任意(x,y),求公式?
X xzmyzy Unregistered / Unconfirmed GUEST, unregistred user! 2005-08-15 #2 一椭圆的边框为Rect(left,top,width,height),一直线两点,其中一点为椭圆中心点,另一点为任意(x,y),求公式?
K kklili Unregistered / Unconfirmed GUEST, unregistred user! 2005-08-15 #3 椭圆方程为x*x/a+y*y/b = 1。根据边框可以求出椭圆四个点的坐标为(left, (top+button)/2), (right,(top+button)/2), ((left+right)/2, top) ,((left+right)/2, button)。求出椭圆的方程。然后根据2个点的坐标求出直线方程。 然后解方程组。
椭圆方程为x*x/a+y*y/b = 1。根据边框可以求出椭圆四个点的坐标为(left, (top+button)/2), (right,(top+button)/2), ((left+right)/2, top) ,((left+right)/2, button)。求出椭圆的方程。然后根据2个点的坐标求出直线方程。 然后解方程组。