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

Compute position of HalfEdges start vertex #1635

Merged
merged 10 commits into from
Mar 1, 2023
Merged

Compute position of HalfEdges start vertex #1635

merged 10 commits into from
Mar 1, 2023

Conversation

hannobraun
Copy link
Owner

Add HalfEdge::start_position, which computes the position of the HalfEdge's start vertex. Update most code to use that method instead, instead of SurfaceVertex::position. This is preparation for eventually removing SurfaceVertex::position, and then SurfaceVertex as a whole.

Most of the remaining uses of the SurfaceVertex::position are fairly trivial and can be removed when the position field is removed. The only tricky case is PartialSurfaceVertex, which still needs SurfaceVertex::position to be around, while it itself stores a surface position. Addressing this will be subject to follow-up pull requests.

This is a step towards addressing #1634.

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