#include <Geometry.h>

Public Member Functions

 BaseGeom ()
 
bool closed (void)
 
BaseGeomcopy ()
 
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
 
double minDist (Base::Vector3d p)
 
Base::Vector3d nearPoint (Base::Vector3d p)
 
Base::Vector3d nearPoint (const BaseGeom *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
 

Static Public Member Functions

static BaseGeombaseFactory (TopoDS_Edge edge)
 Convert 1 OCC edge into 1 BaseGeom (static factory method) More...
 
static bool validateEdge (TopoDS_Edge edge)
 

Public Attributes

edgeClass classOfEdge
 
bool cosmetic
 
ExtractionType extractType
 
GeomType geomType
 
bool hlrVisible
 
TopoDS_Edge occEdge
 
int ref3D
 
bool reversed
 

Protected Member Functions

void createNewTag ()
 

Protected Attributes

std::string cosmeticTag
 
int m_source
 
int m_sourceIndex
 
boost::uuids::uuid tag
 

Constructor & Destructor Documentation

◆ BaseGeom()

BaseGeom::BaseGeom ( )

References cosmeticTag, and occEdge.

Referenced by copy().

◆ ~BaseGeom()

virtual TechDraw::BaseGeom::~BaseGeom ( )
virtualdefault

Member Function Documentation

◆ baseFactory()

◆ closed()

◆ copy()

◆ createNewTag()

void TechDraw::BaseGeom::createNewTag ( )
protected

◆ dump()

std::string BaseGeom::dump ( void  )

◆ findEndPoints()

std::vector< Base::Vector3d > BaseGeom::findEndPoints ( )

◆ getCosmeticTag()

std::string TechDraw::BaseGeom::getCosmeticTag ( void  )

◆ getEndPoint()

◆ getMidPoint()

Base::Vector3d BaseGeom::getMidPoint ( )

References occEdge.

◆ getQuads()

std::vector< Base::Vector3d > BaseGeom::getQuads ( )

References occEdge.

◆ getStartPoint()

◆ getTag()

boost::uuids::uuid BaseGeom::getTag ( void  ) const

References tag.

Referenced by getTagAsString().

◆ getTagAsString()

std::string BaseGeom::getTagAsString ( void  ) const
virtual

◆ minDist()

◆ nearPoint() [1/2]

Base::Vector3d BaseGeom::nearPoint ( Base::Vector3d  p)

References occEdge.

◆ nearPoint() [2/2]

Base::Vector3d BaseGeom::nearPoint ( const BaseGeom p)

find point on me nearest to p

References occEdge.

◆ Restore()

◆ Save()

◆ setCosmeticTag()

◆ source() [1/2]

void TechDraw::BaseGeom::source ( int  s)

◆ source() [2/2]

◆ sourceIndex() [1/2]

void TechDraw::BaseGeom::sourceIndex ( int  si)

◆ sourceIndex() [2/2]

int TechDraw::BaseGeom::sourceIndex ( void  )

Referenced by dump().

◆ toString()

◆ validateEdge()

bool BaseGeom::validateEdge ( TopoDS_Edge  edge)
static

References TechDraw::DrawUtil::isCrazy().

Referenced by baseFactory().

Member Data Documentation

◆ classOfEdge

◆ cosmetic

◆ cosmeticTag

std::string TechDraw::BaseGeom::cosmeticTag
protected

Referenced by BaseGeom(), copy(), Restore(), and Save().

◆ extractType

ExtractionType TechDraw::BaseGeom::extractType

Referenced by copy(), Restore(), Save(), and toString().

◆ geomType

◆ hlrVisible

◆ m_source

int TechDraw::BaseGeom::m_source
protected

Referenced by copy(), Restore(), Save(), and toString().

◆ m_sourceIndex

int TechDraw::BaseGeom::m_sourceIndex
protected

Referenced by copy(), Restore(), Save(), and toString().

◆ occEdge

◆ ref3D

int TechDraw::BaseGeom::ref3D

Referenced by copy(), Restore(), Save(), and toString().

◆ reversed

◆ tag


The documentation for this class was generated from the following files:
  • Sources/FreeCAD/src/Mod/TechDraw/App/Geometry.h
  • Sources/FreeCAD/src/Mod/TechDraw/App/Geometry.cpp