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

Wire Manager: Add ability to query wire indexes of first and last point #36

Open
Tectu opened this issue Nov 10, 2022 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@Tectu
Copy link
Collaborator

Tectu commented Nov 10, 2022

Extend the wire_manager::wire class to provide an easy way to retrieve the index of the first and the last point.
Most likely this will boil down to an accessor for the index of the last point only as the index of the first point is by design always 0 (check this tho!).

This accessor should then be used in various places to ensure that only the first or the last point of a wire can be connected to a wire_manager::connectable. Maybe this should also apply for other wires (to form nets).

@Tectu Tectu added the enhancement New feature or request label Nov 10, 2022
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

No branches or pull requests

1 participant