shapemachine.geometry

The shapemachine.geometry package contains all classes and functions that are needed for shape computation. These computations are enacted by the shapemachine.core.

Classes

TransformableMixin

A transformable object (subclass of TransformableMixin) is any object that can be transformed by a Transformation.

ElementAttributes

ElementAttributes are anything that can be used to distinguish two otherwise equivalent Carrier or ShapeElement instances.

Carrier

A Carrier represents the equation underlying a ShapeElement.

ShapeElement

A ShapeElement is a transformable (see TransformableMixin) geometric construct that composes a design (see Shape).

Module attributes

E_co

Covariant ShapeElement generic type.

D_co

Covariant Carrier generic type.

T_co

Covariant TransformableMixin generic type.

Submodules

shapemachine.geometry.arc

Classes pertaining to Arc elements.

shapemachine.geometry.bbox

shapemachine.geometry.line

Classes pertaining to Line elements.

shapemachine.geometry.point

Classes pertaining to Point elements.

shapemachine.geometry.shape

A Shape represents a collection of shape elements (see ShapeElement) that can be queried and modified.

shapemachine.geometry.signature

Classes related to shape signatures, used during shape embedding.

shapemachine.geometry.transformations

Classes and modules pertaining to transformations that can be applied to geometry.