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

Remove HalfEdge::from_curve_and_vertices #1127

Merged
merged 5 commits into from
Sep 21, 2022
Merged

Conversation

hannobraun
Copy link
Owner

This constructor is problematic. Citing one of the commit messages:

  • It fulfills a role that is better fitted for the builder API.
  • It takes away control over the GlobalVertex construction from the caller.

That second point is a problem, due to the work that needs to happen to address #1079. This commit doesn't solve that, but the builder API provides a better framework to do so than this constructor did.

This constructor is a bit problematic, for multiple reasons:

- It fulfills a role that is better fitted for the builder API.
- It takes away control over the `GlobalVertex` construction from the
  caller.

That second point is a problem, due to the work that needs to happen to
address #1079. This commit doesn't solve that, but the builder API
provides a better framework to do so than this constructor did.
@hannobraun hannobraun force-pushed the ready/edge-constructor branch from d73e40d to adf1017 Compare September 21, 2022 14:24
@hannobraun hannobraun merged commit 2c817c4 into main Sep 21, 2022
@hannobraun hannobraun deleted the ready/edge-constructor branch September 21, 2022 14:27
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.

1 participant