-----------------------------------------------------------------------------------------------
startA = ellipise.startAngle
endA = ellipise.endAngle
line.beginPoint = {ellipise的Begin point}
Do While startA <= endA
'Set point = New YMPoint
pointX = majorRadius * Cos(startA)
pointY = minorRadius * Sin(startA)
pOrignX = pointX
pOrignY = pointY
pointX = pointX + center(0)
pointY = pointY + center(1)
pointZ = 0
Set point = New YMPoint
point.x = pointX
point.y = pointY
point.z = 0
Set line.endPoint = point
'line 为我的画线类
line.draw()
Set line = New ymLine
Set line.beginPoint = point
startA = startA + angle