Next / Previous / Contents / Shipman's homepage

27.7. FoDim.__neg__()

Negate a dimension.

fosox.py
# - - -   F o D i m . _ _ n e g _ _

    def __neg__ ( self ):
        '''Negate a dimension.
        '''
        return FoDim(-self.n, self.units)