Author Topic: Arc Direction  (Read 1678 times)

0 Members and 1 Guest are viewing this topic.

nobody

  • Swamp Rat
  • Posts: 861
  • .net stuff
Arc Direction
« on: June 14, 2016, 05:48:16 AM »
How can I determine if an arc is clockwise in direction?

gile

  • Gator
  • Posts: 2507
  • Marseille, France
Re: Arc Direction
« Reply #1 on: June 14, 2016, 06:03:09 AM »
Hi,

If you're talking about the Autodesk.AutoCAD.DatabaseServices.Arc type (IOW Arc entity) it's always counterclockwise according to is Normal.

If you are talking about a Polyline arc segment, you have to check the Bulge sign (negative = clockwise).

Only the Autodesk.AutoCAD.Geometry.CircularArc2d type have a IsClockWise property.
Speaking English as a French Frog

nobody

  • Swamp Rat
  • Posts: 861
  • .net stuff
Re: Arc Direction
« Reply #2 on: June 14, 2016, 06:36:13 AM »
Thank you giles. I was talking about a regular arc. That's interesting it's always counterclockwise. Made what I was doing easy :)  Much appreciated.
« Last Edit: June 14, 2016, 06:40:46 AM by Area51Visitor »