Curve::Composer::Attributes class reference
[Core module]

Declaration  

#include <Goptical/Curve/Composer>

namespace Goptical {
namespace Curve {
class Composer {
class Attributes;
};
};
};

This class is a member of the Composer class.

Description  

This class enables access to Composer base curve transformations. Sagitta (z) scaling and (x, y) affine transforms (translation, rotation, scaling) can be applied as needed in any order.

Members  

See also the full member list section for this class.

Functions  

  • Attributes & rotate(double dangle)
  • Attributes & xy_scale(const Math::Vector2 &factor)
  • Attributes & xy_translate(const Math::Vector2 &offset)
  • Attributes & z_offset(double zoffset)
  • Attributes & z_scale(double zfactor)

Members detail  

Attributes & rotate(double dangle)  

Apply rotation affine transform. Angle is in degree.

Attributes & xy_scale(const Math::Vector2 &factor)  

Apply scaling affine transform using scale factors (xscale, yscale)

Attributes & xy_translate(const Math::Vector2 &offset)  

Apply translation transform

Attributes & z_offset(double zoffset)  

Apply sagitta (z) offset. default is 0

Attributes & z_scale(double zfactor)  

Apply sagitta (z) scale factor. default is 1

Valid XHTML 1.0 StrictGenerated by diaxen on Sun Jan 8 00:47:23 2012 using MkDoc