#include <Geometry.h>
◆ BaseGeom()
◆ ~BaseGeom()
virtual TechDraw::BaseGeom::~BaseGeom |
( |
| ) |
|
|
virtualdefault |
◆ baseFactory()
Convert 1 OCC edge into 1 BaseGeom (static factory method)
References Base::Console(), Base::ConsoleSingleton::Error(), Base::ConsoleSingleton::Message(), and validateEdge().
Referenced by TechDraw::GeometryObject::addCosmeticEdge(), TechDraw::GeometryObject::addGeomFromCompound(), TechDraw::CenterLine::CenterLine(), copy(), TechDraw::CosmeticEdge::CosmeticEdge(), TechDraw::DrawGeomHatch::getFaceOverlay(), TechDraw::DrawGeomHatch::getTrimmedLines(), TechDraw::CosmeticEdge::scaledGeometry(), TechDraw::CenterLine::scaledGeometry(), TechDraw::DrawViewSection::sectionExec(), TechDrawGui::TaskCosmeticLine::updateCosmeticLine(), and TechDraw::Wire::Wire().
◆ closed()
bool BaseGeom::closed |
( |
void |
| ) |
|
◆ copy()
References baseFactory(), classOfEdge, cosmetic, cosmeticTag, extractType, hlrVisible, m_source, m_sourceIndex, occEdge, ref3D, and reversed.
◆ createNewTag()
void TechDraw::BaseGeom::createNewTag |
( |
| ) |
|
|
protected |
◆ dump()
std::string BaseGeom::dump |
( |
void |
| ) |
|
◆ findEndPoints()
◆ getCosmeticTag()
std::string TechDraw::BaseGeom::getCosmeticTag |
( |
void |
| ) |
|
◆ getEndPoint()
◆ getMidPoint()
◆ getQuads()
◆ getStartPoint()
◆ getTag()
boost::uuids::uuid BaseGeom::getTag |
( |
| ) |
const |
◆ getTagAsString()
std::string BaseGeom::getTagAsString |
( |
void |
| ) |
const |
|
virtual |
◆ intersection()
◆ minDist()
◆ nearPoint() [1/2]
◆ nearPoint() [2/2]
find point on me nearest to p
References occEdge.
◆ Restore()
Reimplemented in TechDraw::CosmeticEdge, TechDraw::Circle, TechDraw::AOC, and TechDraw::Generic.
References classOfEdge, cosmetic, cosmeticTag, extractType, geomType, Base::XMLReader::getAttribute(), Base::XMLReader::getAttributeAsInteger(), hlrVisible, m_source, m_sourceIndex, Base::XMLReader::readElement(), ref3D, and reversed.
Referenced by TechDraw::Circle::Restore(), and TechDraw::Generic::Restore().
◆ Save()
Reimplemented in TechDraw::CosmeticEdge, TechDraw::Circle, TechDraw::AOC, and TechDraw::Generic.
References classOfEdge, cosmetic, cosmeticTag, extractType, geomType, hlrVisible, Base::Writer::ind(), m_source, m_sourceIndex, ref3D, reversed, and Base::Writer::Stream().
Referenced by TechDraw::Circle::Save(), and TechDraw::Generic::Save().
◆ setCosmeticTag()
void TechDraw::BaseGeom::setCosmeticTag |
( |
std::string |
t | ) |
|
◆ source() [1/2]
void TechDraw::BaseGeom::source |
( |
int |
s | ) |
|
◆ source() [2/2]
int TechDraw::BaseGeom::source |
( |
void |
| ) |
|
◆ sourceIndex() [1/2]
void TechDraw::BaseGeom::sourceIndex |
( |
int |
si | ) |
|
◆ sourceIndex() [2/2]
int TechDraw::BaseGeom::sourceIndex |
( |
void |
| ) |
|
◆ toString()
std::string BaseGeom::toString |
( |
void |
| ) |
const |
|
virtual |
Reimplemented in TechDraw::CosmeticEdge, TechDraw::Circle, TechDraw::AOC, and TechDraw::Generic.
References classOfEdge, cosmetic, extractType, geomType, hlrVisible, m_source, m_sourceIndex, ref3D, and reversed.
Referenced by TechDraw::Circle::toString(), and TechDraw::Generic::toString().
◆ validateEdge()
bool BaseGeom::validateEdge |
( |
TopoDS_Edge |
edge | ) |
|
|
static |
◆ classOfEdge
◆ cosmetic
bool TechDraw::BaseGeom::cosmetic |
◆ cosmeticTag
std::string TechDraw::BaseGeom::cosmeticTag |
|
protected |
◆ extractType
◆ geomType
Referenced by TechDraw::AOC::AOC(), TechDraw::AOE::AOE(), TechDraw::BezierSegment::BezierSegment(), TechDraw::BSpline::BSpline(), TechDraw::Circle::Circle(), dump(), TechDraw::Ellipse::Ellipse(), TechDraw::Generic::Generic(), intersection(), Restore(), Save(), and toString().
◆ hlrVisible
bool TechDraw::BaseGeom::hlrVisible |
◆ m_source
int TechDraw::BaseGeom::m_source |
|
protected |
◆ m_sourceIndex
int TechDraw::BaseGeom::m_sourceIndex |
|
protected |
◆ occEdge
TopoDS_Edge TechDraw::BaseGeom::occEdge |
Referenced by TechDraw::AOC::AOC(), TechDraw::BSpline::asCircle(), BaseGeom(), TechDraw::BezierSegment::BezierSegment(), TechDraw::BSpline::BSpline(), TechDraw::Circle::Circle(), copy(), TechDraw::Ellipse::Ellipse(), findEndPoints(), TechDraw::Generic::Generic(), TechDraw::BSpline::getCircleParms(), getMidPoint(), getQuads(), TechDraw::AOC::intersectsArc(), TechDraw::BSpline::intersectsArc(), TechDraw::BSpline::isLine(), TechDraw::AOC::isOnArc(), minDist(), and nearPoint().
◆ ref3D
int TechDraw::BaseGeom::ref3D |
◆ reversed
bool TechDraw::BaseGeom::reversed |
◆ tag
boost::uuids::uuid TechDraw::BaseGeom::tag |
|
protected |
The documentation for this class was generated from the following files:
- FreeCAD/src/Mod/TechDraw/App/Geometry.h
- FreeCAD/src/Mod/TechDraw/App/Geometry.cpp