Skip to content

Create factory for Jordan Curve#39

Merged
carlos-adir merged 1 commit into
mainfrom
dev/jordan_factory
Aug 2, 2025
Merged

Create factory for Jordan Curve#39
carlos-adir merged 1 commit into
mainfrom
dev/jordan_factory

Conversation

@carlos-adir
Copy link
Copy Markdown
Contributor

The class JordanCurve contains class methods:

  • from_segments
  • from_vertices
  • from_ctrlpoints
  • from_full_curve

This PR moves these methods to shapepy.geometry.factory inside the static class FactoryJordan:

  • polygon
  • spline_curve

@carlos-adir carlos-adir self-assigned this Aug 2, 2025
@carlos-adir carlos-adir added refactor Tasks to improve readability / performance enhancement New feature or request and removed refactor Tasks to improve readability / performance labels Aug 2, 2025
@codecov
Copy link
Copy Markdown

codecov Bot commented Aug 2, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.74%. Comparing base (9525cf0) to head (b66436b).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #39      +/-   ##
==========================================
- Coverage   97.76%   97.74%   -0.02%     
==========================================
  Files          18       19       +1     
  Lines        2191     2173      -18     
==========================================
- Hits         2142     2124      -18     
  Misses         49       49              

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

@carlos-adir carlos-adir merged commit 3101e7a into main Aug 2, 2025
8 checks passed
@carlos-adir carlos-adir deleted the dev/jordan_factory branch August 4, 2025 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant