Message 1 of 10
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I used the Arc method to generate 2 arcs. It turns out that the endpoints of the arcs are different than expected.
Below are the values passed to the method:
"center": [ -126.429, -126.429, 0.0 ],
"radius": 177.4082,
"startAngle": 0.149527,
"endAngle": 1.42127
public static Arc CreateArc(Point3d center, double radius, double startAngle, double endAngle)
{
return new Arc(center, radius, startAngle, endAngle);
}
Values obtained and expected at the end points of the arcs
//Arch created
EndPoint(-100.001 48.9996 0.0)
//Expected
EndPoint(-100.0 49.0 0.0)
Arch created
EndPoint(-100.001 -49.0004 0.0)
//Expected
EndPoint(-100.0 -49.0 0.0)
Arch created
EndPoint(48.9996 -100.0 0.0)
//Expected
EndPoint(49.0 -100.0 0.0)
// Created
EndPoint(-49.0005 -100.0 0.0)
// Espected
EndPoint(-49.0 -100.0 0.0)
These differences are expected
Solved! Go to Solution.