GCS::Parabola Class Reference

#include <Geo.h>

Public Member Functions

DeriVector2 CalculateNormal (const Point &p, const double *derivparam=nullptr) const override
 
virtual ParabolaCopy () override
 
 Parabola ()
 
virtual int PushOwnParams (VEC_pD &pvec) override
 
virtual void ReconstructOnNewPvec (VEC_pD &pvec, int &cnt) override
 
virtual DeriVector2 Value (double u, double du, const double *derivparam=nullptr) const override
 Value: returns point (vector) given the value of parameter. More...
 
virtual ~Parabola ()
 
- Public Member Functions inherited from GCS::Curve
virtual DeriVector2 CalculateNormal (const Point &p, const double *derivparam=nullptr) const =0
 
virtual CurveCopy ()=0
 
virtual int PushOwnParams (VEC_pD &pvec)=0
 
virtual void ReconstructOnNewPvec (VEC_pD &pvec, int &cnt)=0
 
virtual DeriVector2 Value (double u, double du, const double *derivparam=nullptr) const
 Value: returns point (vector) given the value of parameter. More...
 
virtual ~Curve ()
 

Public Attributes

Point focus1
 
Point vertex
 

Constructor & Destructor Documentation

◆ Parabola()

GCS::Parabola::Parabola ( )

Referenced by Copy().

◆ ~Parabola()

virtual GCS::Parabola::~Parabola ( )
virtual

Member Function Documentation

◆ CalculateNormal()

DeriVector2 GCS::Parabola::CalculateNormal ( const Point p,
const double *  derivparam = nullptr 
) const
overridevirtual

◆ Copy()

Parabola * GCS::Parabola::Copy ( void  )
overridevirtual

Implements GCS::Curve.

Reimplemented in GCS::ArcOfParabola.

References Parabola().

◆ PushOwnParams()

int GCS::Parabola::PushOwnParams ( VEC_pD pvec)
overridevirtual

Implements GCS::Curve.

Reimplemented in GCS::ArcOfParabola.

References focus1, vertex, GCS::Point::x, and GCS::Point::y.

Referenced by GCS::ArcOfParabola::PushOwnParams().

◆ ReconstructOnNewPvec()

void GCS::Parabola::ReconstructOnNewPvec ( VEC_pD pvec,
int cnt 
)
overridevirtual

Implements GCS::Curve.

Reimplemented in GCS::ArcOfParabola.

References focus1, vertex, GCS::Point::x, and GCS::Point::y.

Referenced by GCS::ArcOfParabola::ReconstructOnNewPvec().

◆ Value()

DeriVector2 GCS::Parabola::Value ( double  u,
double  du,
const double *  derivparam = nullptr 
) const
overridevirtual

Value: returns point (vector) given the value of parameter.

Parameters
uvalue of parameter
duderivative of parameter by derivparam
derivparampointer to sketch parameter to calculate the derivative for
Returns

Reimplemented from GCS::Curve.

References GCS::DeriVector2::divD(), focus1, GCS::DeriVector2::getNormalized(), GCS::DeriVector2::length(), GCS::DeriVector2::multD(), GCS::DeriVector2::rotate90ccw(), GCS::DeriVector2::subtr(), GCS::DeriVector2::sum(), and vertex.

Member Data Documentation

◆ focus1

Point GCS::Parabola::focus1

◆ vertex

Point GCS::Parabola::vertex

The documentation for this class was generated from the following files: