查看单个帖子
旧 2007-09-04, 12:02 AM   #1
huangyhg
超级版主
 
huangyhg的头像
 
注册日期: 04-03
帖子: 18592
精华: 36
现金: 249466 标准币
资产: 1080358888 标准币
huangyhg 向着好的方向发展
默认 How to get the direction of ellipse?

Hi,

How to get the direction of ellipse? Is the default direction as counter clockwise for ellipse?

I found that start point and end point were not specified by counter clockwise rule (the direction of rotation from start point to end point) when I get start point and end point of ellipse.

I cannot get the direction of partial ellipse according to the following code.

Code:

// get the ellipse data

LPDISPATCH dStartPnt = swSketchEllipse.GetStartPoint2();

LPDISPATCH dEndPnt = swSketchEllipse.GetEndPoint2();

LPDISPATCH dCenterPnt = swSketchEllipse.GetCenterPoint2();

LPDISPATCH dMajorPnt = swSketchEllipse.GetMajorPoint2();

LPDISPATCH dMinorPnt = swSketchEllipse.GetMinorPoint2();

yanhua
__________________
借用达朗贝尔的名言:前进吧,你会得到信心!
[url="http://www.dimcax.com"]几何尺寸与公差标准[/url]
huangyhg离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)