mahautils.shapes.Geometry#

class mahautils.shapes.Geometry(units: str | None = None)#

Bases: object

Base class for representing arbitrary geometry

Attributes

units

The units in which the geometry is defined

Methods

__init__([units])

Creates a new object representing arbitrary geometry

__init__(units: str | None = None) None#

Creates a new object representing arbitrary geometry

Parameters:

units (str, optional) – The units in which the geometry is defined, or None to indicate dimensionless geometry or that units are to be ignored (default is None)

property units: str | None#

The units in which the geometry is defined