aerocaps.units.length.Length#

class Length(ft=None, m=None, inch=None, mm=None, mi=None, nmi=None, km=None, cm=None)[source]#

Bases: Unit

Base-level class for a length dimension with various available units.

__init__(ft=None, m=None, inch=None, mm=None, mi=None, nmi=None, km=None, cm=None)[source]#

Methods

set_all()

After setting the length in feet, set the length for all other units

Attributes

cm

ft

inch

km

m

mi

mm

nmi

set_all()[source]#

After setting the length in feet, set the length for all other units