Scientific.Geometry.Transformation.Scaling

Package Scientific :: Package Geometry :: Module Transformation :: Class Scaling |
[frames] | no frames]

# Class Scaling

    Transformation --+
                     |
                    Scaling

Known Subclasses:
  - Inversion

Scaling

Instance Methods
Scientific.Geometry.Vector |
__call__(self, vector) Returns: the transformed vector |
__init__(self, scale_factor) |
__mul__(self, other) |
asLinearTransformation(self) |
Transformation |
inverse(self) Returns: the inverse transformation |

Class Variables
| is_scaling = `1`

Method Details

### __call__(self, vector) (Call operator) |
Parameters: `vector` - the input vector Returns: Scientific.Geometry.Vector the transformed vector Overrides: Transformation.__call__ (inherited documentation)

### __init__(self, scale_factor) (Constructor) |
Parameters: `scale_factor` (`float`) - the scale factor

### inverse(self) |
Returns: Transformation the inverse transformation Overrides: Transformation.inverse (inherited documentation)