#include <Geo.h>
Public Member Functions | |
| DeriVector2 | CalculateNormal (const Point &p, const double *derivparam=nullptr) const override |
| virtual Parabola * | Copy () 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 Curve * | Copy ()=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 |
| GCS::Parabola::Parabola | ( | ) |
Referenced by Copy().
|
virtual |
|
overridevirtual |
Implements GCS::Curve.
References focus1, GCS::DeriVector2::getNormalized(), GCS::DeriVector2::subtr(), and vertex.
|
overridevirtual |
Implements GCS::Curve.
Reimplemented in GCS::ArcOfParabola.
References focus1, vertex, GCS::Point::x, and GCS::Point::y.
Referenced by GCS::ArcOfParabola::PushOwnParams().
Implements GCS::Curve.
Reimplemented in GCS::ArcOfParabola.
References focus1, vertex, GCS::Point::x, and GCS::Point::y.
Referenced by GCS::ArcOfParabola::ReconstructOnNewPvec().
|
overridevirtual |
Value: returns point (vector) given the value of parameter.
| u | value of parameter |
| du | derivative of parameter by derivparam |
| derivparam | pointer to sketch parameter to calculate the derivative for |
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.
| Point GCS::Parabola::focus1 |
Referenced by CalculateNormal(), PushOwnParams(), ReconstructOnNewPvec(), and Value().
| Point GCS::Parabola::vertex |
Referenced by CalculateNormal(), PushOwnParams(), ReconstructOnNewPvec(), and Value().