You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
The text was updated successfully, but these errors were encountered:
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).The text was updated successfully, but these errors were encountered: