#include <Geo.h>
Public Member Functions | |
DeriVector2 | CalculateNormal (const Point &p, const double *derivparam=nullptr) const override |
Circle () | |
virtual Circle * | Copy () override |
virtual int | PushOwnParams (VEC_pD &pvec) override |
virtual void | ReconstructOnNewPvec (VEC_pD &pvec, int &cnt) override |
DeriVector2 | Value (double u, double du, const double *derivparam=nullptr) const override |
Value: returns point (vector) given the value of parameter. More... | |
virtual | ~Circle () |
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 | center |
double * | rad |
|
virtual |
|
overridevirtual |
Implements GCS::Curve.
References center, and GCS::DeriVector2::subtr().
|
overridevirtual |
Implements GCS::Curve.
Reimplemented in GCS::Arc.
References center, rad, GCS::Point::x, and GCS::Point::y.
Referenced by GCS::Arc::PushOwnParams().
Implements GCS::Curve.
Reimplemented in GCS::Arc.
References center, rad, GCS::Point::x, and GCS::Point::y.
Referenced by GCS::Arc::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 center, GCS::DeriVector2::multD(), rad, GCS::DeriVector2::rotate90ccw(), and GCS::DeriVector2::sum().
Point GCS::Circle::center |
Referenced by drafttaskpanels.task_circulararray.TaskPanelCircularArray::accept(), drafttaskpanels.task_polararray.TaskPanelPolarArray::accept(), draftguitools.gui_arcs.Arc::action(), draftguitools.gui_dimensions.Dimension::action(), draftguitools.gui_offset.Offset::action(), draftguitools.gui_polygons.Polygon::action(), Sketcher::Sketch::addCircle(), GCS::System::addConstraintTangent(), draftguitools.gui_rotate.Rotate::build_copy_subelements_command(), draftguitools.gui_scale.Scale::build_copy_subelements_command(), draftguitools.gui_rotate.Rotate::build_rotate_subelements_command(), draftguitools.gui_scale.Scale::build_scale_subelements_command(), CalculateNormal(), draftguitools.gui_dimensions.Dimension::create_angle_dimension(), drafttaskpanels.task_circulararray.TaskPanelCircularArray::create_object(), drafttaskpanels.task_polararray.TaskPanelPolarArray::create_object(), draftguitools.gui_arcs.Arc::drawArc(), draftguitools.gui_polygons.Polygon::drawPolygon(), PathScripts.PathDressupAxisMap.ObjectDressup::execute(), draftguitools.gui_rotate.Rotate::handle_mouse_move_event(), draftguitools.gui_arcs.Arc::numericInput(), draftguitools.gui_polygons.Polygon::numericInput(), draftguitools.gui_rotate.Rotate::numericInput(), draftguitools.gui_arcs.Arc::numericRadius(), draftguitools.gui_polygons.Polygon::numericRadius(), PathScripts.PathDressupAxisMap.ObjectDressup::onChanged(), drafttaskpanels.task_circulararray.TaskPanelCircularArray::print_messages(), drafttaskpanels.task_polararray.TaskPanelPolarArray::print_messages(), PushOwnParams(), ReconstructOnNewPvec(), drafttaskpanels.task_circulararray.TaskPanelCircularArray::reset_point(), drafttaskpanels.task_polararray.TaskPanelPolarArray::reset_point(), draftguitools.gui_rotate.Rotate::rotate_object(), draftguitools.gui_scale.Scale::scale_object(), draftguitools.gui_rotate.Rotate::set_center(), draftguitools.gui_rotate.Rotate::set_ghosts(), draftguitools.gui_rotate.Rotate::set_rotation_angle(), and Value().
double* GCS::Circle::rad |
Referenced by GCS::System::addConstraintEqualRadius(), GCS::System::addConstraintTangent(), GCS::Arc::Arc(), Circle(), draftguitools.gui_arcs.Arc::drawArc(), draftguitools.gui_polygons.Polygon::drawPolygon(), draftguitools.gui_arcs.Arc::numericRadius(), draftguitools.gui_fillets.Fillet::numericRadius(), draftguitools.gui_polygons.Polygon::numericRadius(), PushOwnParams(), ReconstructOnNewPvec(), and Value().