Curve::Parabola class reference
[Core module]
Declaration
#include <Goptical/Curve/Parabola>
namespace Goptical {
namespace Curve {
class Parabola;
};
};
This class is a member of the Curve namespace.
Inheritance
Description
This class provides an efficient parabola curve implementation.
Members
Inherited members
Functions
- Parabola (double roc)
- virtual double derivative (double r) const
- virtual bool intersect (Math::Vector3 &point, const Math::VectorPair3 &ray) const
- virtual double sagitta (double r) const
Members detail
Creates a parabola curve with given radius of curvature
virtual double derivative(double r) const
This virtual function implements the derivative pure function declared in the ConicBase base abstract class.
Documentation inherited from base class:
Get curve derivative at specified distance from origin.
- r: distance from curve origin (0, 0)
This virtual function implements the intersect pure function declared in the ConicBase base abstract class.
Documentation inherited from base class:
Get intersection point between curve and 3d ray. Return false if no intersection occurred
virtual double sagitta(double r) const
This virtual function implements the sagitta pure function declared in the ConicBase base abstract class.
Documentation inherited from base class:
Get curve sagitta at specified distance from origin.
- r: distance from curve origin (0, 0)