I have to draw a series of arcs (About 500) that have the following information: Length, Center X, Center Y, Radius, Start Angle, Total Angle.
For example:
Length: 24.0816
Center X: 1572177.576
Center Y: 430738.6471
Radius : 158.7268
Start Angle : S 78d43'6" E
Total Angle : N 81d18'26" E
I am wondering if there is a way to draw these arcs programmatically using Arc Objects.
Any help appreciated.
Thanks
Hi
You
can use ICircularArc.PutCoordsByAngle
to create the segment. See this: http://resources.arcgis.com/en/help/arcobjects-net/componenthelp/002m/002m000000pr000000.htm
Then
you use ISegmentCollecation to create a polyline.
You
can draw this polyline on screen using graphics or DrawPolyline.
Have
Fun
Mody