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
- class Attributes
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
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.
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