Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(civil3d): alignment arc logic fixed #320

Merged
merged 4 commits into from
Oct 24, 2024

Conversation

clairekuang
Copy link
Member

Copy link

linear bot commented Oct 23, 2024

Copy link

codecov bot commented Oct 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 8.40%. Comparing base (797a2b7) to head (b21e8b7).
Report is 1 commits behind head on dev.

Additional details and impacted files
@@          Coverage Diff          @@
##             dev    #320   +/-   ##
=====================================
  Coverage   8.40%   8.40%           
=====================================
  Files        240     240           
  Lines       4816    4816           
  Branches     556     556           
=====================================
  Hits         405     405           
  Misses      4394    4394           
  Partials      17      17           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@clairekuang clairekuang requested a review from AlanRynne October 24, 2024 10:21
@@ -22,37 +21,30 @@ IConverterSettingsStore<Civil3dConversionSettings> settingsStore

public SOG.Arc Convert(CDB.AlignmentSubEntityArc target)
{
// alignment arcs do not have the same properties as autocad arcs.
// we're assuming they are always 2d arcs on the xy plane to calculate the midpoint
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this assumption correct, or is there a chance a civil arc won't be laying on the 2d plane?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They appear to always be of type Arc2d

@clairekuang clairekuang merged commit 6d37531 into dev Oct 24, 2024
5 checks passed
@clairekuang clairekuang deleted the claire/cnx-673-arcs-look-flipped-in-the-viewer branch October 24, 2024 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants