TechDraw::Ellipse Class Reference

#include <Geometry.h>

Public Member Functions

 Ellipse (Base::Vector3d c, double mnr, double mjr)
 
 Ellipse (const TopoDS_Edge &e)
 
virtual ~Ellipse ()=default
 
- Public Member Functions inherited from TechDraw::BaseGeom
 BaseGeom ()
 
bool closed (void)
 
BaseGeomPtr copy ()
 
std::string dump ()
 
std::vector< Base::Vector3dfindEndPoints ()
 
std::string getCosmeticTag (void)
 
Base::Vector3d getEndPoint ()
 
Base::Vector3d getMidPoint ()
 
std::vector< Base::Vector3dgetQuads ()
 
Base::Vector3d getStartPoint ()
 
boost::uuids::uuid getTag () const
 
virtual std::string getTagAsString (void) const
 
std::vector< Base::Vector3dintersection (TechDraw::BaseGeomPtr geom2)
 
double minDist (Base::Vector3d p)
 
Base::Vector3d nearPoint (Base::Vector3d p)
 
Base::Vector3d nearPoint (const BaseGeomPtr p)
 find point on me nearest to p More...
 
virtual void Restore (Base::XMLReader &r)
 
virtual void Save (Base::Writer &w) const
 
void setCosmeticTag (std::string t)
 
void source (int s)
 
int source (void)
 
void sourceIndex (int si)
 
int sourceIndex (void)
 
virtual std::string toString (void) const
 
virtual ~BaseGeom ()=default
 

Public Attributes

double angle
 Angle between the major axis of the ellipse and the X axis, in radian. More...
 
Base::Vector3d center
 
double major
 
double minor
 
- Public Attributes inherited from TechDraw::BaseGeom
edgeClass classOfEdge
 
bool cosmetic
 
ExtractionType extractType
 
GeomType geomType
 
bool hlrVisible
 
TopoDS_Edge occEdge
 
int ref3D
 
bool reversed
 

Additional Inherited Members

- Static Public Member Functions inherited from TechDraw::BaseGeom
static BaseGeomPtr baseFactory (TopoDS_Edge edge)
 Convert 1 OCC edge into 1 BaseGeom (static factory method) More...
 
static bool validateEdge (TopoDS_Edge edge)
 
- Protected Member Functions inherited from TechDraw::BaseGeom
void createNewTag ()
 
- Protected Attributes inherited from TechDraw::BaseGeom
std::string cosmeticTag
 
int m_source
 
int m_sourceIndex
 
boost::uuids::uuid tag
 

Constructor & Destructor Documentation

◆ Ellipse() [1/2]

Ellipse::Ellipse ( const TopoDS_Edge &  e)

◆ Ellipse() [2/2]

◆ ~Ellipse()

virtual TechDraw::Ellipse::~Ellipse ( )
virtualdefault

Member Data Documentation

◆ angle

◆ center

Base::Vector3d TechDraw::Ellipse::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(), 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(), 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(), Ellipse(), 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(), 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(), and draftguitools.gui_rotate.Rotate::set_rotation_angle().

◆ major

double TechDraw::Ellipse::major

Referenced by Ellipse().

◆ minor

double TechDraw::Ellipse::minor

Referenced by Ellipse().


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