Skip to content

Add (D)Point.move(d) #1923

@sebastian-goeldi

Description

@sebastian-goeldi

Hi Matthias,

I noticed basically all shape-like objects except the point ones have a move(d) function. Would it be possible to add this for Point as well?

Also, one additional question, but maybe that's not possible due to footprint matching. Would it be possible to add 0 as a default value for dx/dy? Rational being then (in python at least), you can do point.move(dy=500) without needing to specify dx and the other way around. This would be purely convenience, so if not easily achievable, that's totally okay!

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions