#include <Geo.h>

Public Member Functions

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

Public Attributes

Point focus1
 
Point vertex
 
- Public Attributes inherited from GCS::DependentParameters
bool hasDependentParameters
 

Constructor & Destructor Documentation

◆ Parabola()

GCS::Parabola::Parabola ( )

Referenced by Copy().

◆ ~Parabola()

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

Member Function Documentation

◆ CalculateNormal()

DeriVector2 GCS::Parabola::CalculateNormal ( Point p,
double *  derivparam = 0 
)
virtual

◆ Copy()

Parabola * GCS::Parabola::Copy ( )
virtual

Implements GCS::Curve.

Reimplemented in GCS::ArcOfParabola.

References Parabola().

◆ PushOwnParams()

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

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 
)
virtual

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,
double *  derivparam = 0 
)
virtual

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:
  • src/Mod/Sketcher/App/planegcs/Geo.h
  • src/Mod/Sketcher/App/planegcs/Geo.cpp