Skip to content

Commit

Permalink
Merge pull request #463 from DomCR/arc-PolygonalVertexes-fix
Browse files Browse the repository at this point in the history
Arc PolygonalVertexes fix
  • Loading branch information
DomCR authored Oct 1, 2024
2 parents 73d309e + c7290a9 commit cfe076d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ACadSharp/Entities/Arc.cs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public List<XY> PolygonalVertexes(int precision)
cosine = MathUtils.IsZero(cosine) ? 0 : cosine;
sine = MathUtils.IsZero(sine) ? 0 : sine;

ocsVertexes.Add(new XY(cosine, sine));
ocsVertexes.Add(new XY(cosine + this.Center.X, sine + this.Center.Y));
}

return ocsVertexes;
Expand Down

0 comments on commit cfe076d

Please sign in to comment.