GCS::Line Class Reference
#include <Geo.h>
Public Member Functions | |
DeriVector2 CalculateNormal (Point &p, double *derivparam=0) | |
virtual Line * Copy () | |
Line () | |
virtual int PushOwnParams (VEC_pD &pvec) | |
virtual void ReconstructOnNewPvec (VEC_pD &pvec, int &cnt) | |
DeriVector2 Value (double u, double du, double *derivparam=0) | |
Value: returns point (vector) given the value of parameter. More... | |
virtual ~Line () | |
![]() | |
virtual ~Curve () | |
![]() | |
DependentParameters () | |
Public Attributes | |
Point p1 | |
Point p2 | |
![]() | |
bool hasDependentParameters | |
Constructor & Destructor Documentation
◆ Line()
GCS::Line::Line | ( | ) |
Referenced by Copy().
◆ ~Line()
|
virtual |
Member Function Documentation
◆ CalculateNormal()
|
virtual |
Implements GCS::Curve.
References p1, p2, GCS::DeriVector2::rotate90ccw(), and GCS::DeriVector2::subtr().
◆ Copy()
|
virtual |
Implements GCS::Curve.
References Line().
◆ PushOwnParams()
|
virtual |
Implements GCS::Curve.
References p1, p2, GCS::Point::x, and GCS::Point::y.
Referenced by GCS::ConstraintEllipseTangentLine::ConstraintEllipseTangentLine().
◆ ReconstructOnNewPvec()
|
virtual |
Implements GCS::Curve.
References p1, p2, GCS::Point::x, and GCS::Point::y.
◆ Value()
|
virtual |
Value: returns point (vector) given the value of parameter.
- Parameters
-
u value of parameter du derivative of parameter by derivparam derivparam pointer to sketch parameter to calculate the derivative for
- Returns
Reimplemented from GCS::Curve.
References GCS::DeriVector2::multD(), p1, p2, GCS::DeriVector2::subtr(), and GCS::DeriVector2::sum().
Member Data Documentation
◆ p1
Point GCS::Line::p1 |
◆ p2
Point GCS::Line::p2 |
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