Curve::ConicBase class reference
[Core module]

Declaration  

#include <Goptical/Curve/ConicBase>

namespace Goptical {
namespace Curve {
class ConicBase;
};
};

This class is a member of the Curve namespace.

This abstract class contains pure virtuals.

Inheritance  

Description  

This base class defines common properties of rotationally symmetric conic curves. These curves are all defined by a radius of curvature and deformation coefficient.

Fitting can be used to find best fit conic of an other rotationally symmetric curve either with fixed or free deformation parameter.

Members  

See also the full member list section for this class.

Inherited members  

Functions  

Members detail  

virtual double derivative(double r) const = 0;  

This pure virtual function shadows the derivative virtual function defined in the Rotational base abstract class.

Documentation inherited from base class:

Get curve derivative at specified distance from origin.

  • r: distance from curve origin (0, 0)

double fit_roc(const Rotational &c, double radius, unsigned int count)  

Adjust radius of curvature to best fit given curve. Deformation Won't be changed by this function. See Conic::fit() to adjust deformation too.

Parameters list:

  • curve: Curve to fit
  • radius: Maximum radius used to get sample points
  • count: Number of sample points to use

double get_eccentricity() const  

get eccentricity

double get_schwarzschild() const  

get Schwarzschild constant

virtual bool intersect(Math::Vector3 &point, const Math::VectorPair3 &ray) const = 0;  

This pure virtual function shadows the intersect virtual function defined in the Base 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 = 0;  

This pure virtual function shadows the sagitta pure virtual function defined in the Rotational base abstract class.

Documentation inherited from base class:

Get curve sagitta at specified distance from origin.

  • r: distance from curve origin (0, 0)

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