Curve::Composer class reference
[Core module]

Declaration  

#include <Goptical/Curve/Composer>

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

This class is a member of the Curve namespace.

Inheritance  


 
 

 
 


 
 

 
 


Description  

This class allows definition of a surface curve using the sum of several base curves. Each base curve involved can be translated, rotated and scaled individually.

Members  

See also the full member list section for this class.

Inherited members  

  • 5 members inherited from Base

Type  

Functions  

  • Composer()
  • Attributes & add_curve(const const_ref<Base> &curve)
  • virtual void derivative(const Math::Vector2 &xy, Math::Vector2 &dxdy) const
  • virtual double sagitta(const Math::Vector2 &xy) const

Members detail  

Composer()  

No documentation available

Attributes & add_curve(const const_ref<Base> &curve)  

Add a base curve to use for composition. The returned Composer::Attributes object may be used to apply base curve transformations.

virtual void derivative(const Math::Vector2 &xy, Math::Vector2 &dxdy) const  

This virtual function overrides the derivative virtual function defined in the Base base abstract class.

Documentation inherited from base class:

Get curve x and y derivative (gradient) at specified point

virtual double sagitta(const Math::Vector2 &xy) const  

This virtual function implements the sagitta pure function declared in the Base base abstract class.

Documentation inherited from base class:

Get curve sagitta at specified point

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