drafting.geometry.Point

class Point(*points)

Representation of a point (x,y), indexable

interp(v, other)

Interpolate with another point

o(dx, dy)

Offset by dx, dy

offset(dx, dy)

Offset by dx, dy

rect(w, h)

Create a rect from this point as center, with w and h dimensions provided

round()

round the values in the point to the nearest integer

round_to(to=10)

round the values in the point to the nearest integer multiple

xy()

As a tuple