超级版主
注册日期: 04-03
帖子: 18592
精华: 36
现金: 249466 标准币
资产: 1080358888 标准币
|
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]
|