On Wed, Mar 23, 2011 at 06:52:53PM -0500, forget color wrote:
> > In the general case (non-semicircle) this isn't enough to describe an
> > arc; you get two arcs.
> 
> I figured there must be a way to decide which circle the arc is from
> given the winding direction, but haven't figured it out.

I meant there are two arcs with the given start and end point, radius,
and winding direction.  One is <180 degrees of arc, the other is >180
degrees of arc (in the cases where the radius > 1/2 the distance
between endpoints).

> It makes me wonder: these are the only values I give to EMC2 to draw
> the arc and it can do it.  

It knows which one you want based on whether you give + or - R.

> Is EMC2 calculating the center?  I'm
> guessing it must be.  Maybe I'll go poking around the code to see if I
> can find it.

Yes it definitely is!  See interp_arc.cc.


------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to