Skip to content

Create a toVertex() function, use throughout #201

@brookshsmith

Description

@brookshsmith

Numerous functions all do similar things with accepting lists or tuples alongside Vertex objects to represent coordinates. However, every function has its own if isinstance(...) / elif ... / else ... block, that are all similar but not identical. Let's centralise all these similar code blocks into ONE utility function!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions