SizeInfo

class ipkiss3.all.SizeInfo

object which describes the bounding box of a shape, element or structure.

encloses(other, inclusive=False)

checks whether point is in bounding box

snap_to_grid(grids_per_unit=None)

snaps the size_info object to the grid

expand_to_grid(grids_per_unit=None)

expands the size_info object to the grid

move(coordinate)

translates the center

move_copy(coordinate)

creates a copy of this sizeinfo and moves it

transform(transformation)

transforms the size_info box and makes a new cartesian box over it

transform_copy(transformation)

transforms a copy of the size_info box and makes a new cartesian box over it