Aboria

PrevUpHomeNext

Class template ScaleTransform

Aboria::ScaleTransform — a transform that scales the axis independently

Synopsis

// In header: </home/travis/build/martinjrobins/Aboria/src/Transform.h>

template<unsigned int D> 
class ScaleTransform {
public:
  // construct/copy/destruct
  ScaleTransform() = default;
  ScaleTransform(const double_d &);

  // public member functions
  double_d operator()(const double_d &) const;
  Vector< double, D > operator()(const bbox< D > &) const;
};

Description

ScaleTransform public construct/copy/destruct

  1. ScaleTransform() = default;
  2. ScaleTransform(const double_d & scale);

ScaleTransform public member functions

  1. double_d operator()(const double_d & v) const;

    transforms the point the the new coordinate system, returning the result

  2. Vector< double, D > operator()(const bbox< D > & b) const;

    transforms the box to the new coordinate system. Returns the side length of the axis-aligned box that bounds the transformed box.


PrevUpHomeNext