#include <Geometry.h>
Public Member Functions | |
virtual void | dump (const char *title="") |
boost::uuids::uuid | getTag () const |
virtual std::string | getTagAsString (void) const |
bool | isEqual (Vertex *v, double tol) |
void | point (Base::Vector3d v) |
Base::Vector3d | point (void) const |
virtual void | Restore (Base::XMLReader &) |
virtual void | Save (Base::Writer &) const |
Vertex () | |
Vertex (Base::Vector3d v) | |
Vertex (const Vertex *v) | |
Vertex (double x, double y) | |
double | x () |
double | y () |
virtual | ~Vertex () |
Public Attributes | |
bool | cosmetic |
int | cosmeticLink |
std::string | cosmeticTag |
ExtractionType | extractType |
bool | hlrVisible |
bool | isCenter |
TopoDS_Vertex | occVertex |
Base::Vector3d | pnt |
int | ref3D |
bool | reference |
Protected Member Functions | |
void | assignTag (const TechDraw::Vertex *v) |
void | createNewTag () |
Protected Attributes | |
boost::uuids::uuid | tag |
Constructor & Destructor Documentation
◆ Vertex() [1/4]
Vertex::Vertex | ( | ) |
References cosmetic, cosmeticLink, cosmeticTag, createNewTag(), extractType, hlrVisible, isCenter, occVertex, pnt, and ref3D.
◆ Vertex() [2/4]
Vertex::Vertex | ( | const Vertex * | v | ) |
References cosmetic, cosmeticLink, cosmeticTag, createNewTag(), extractType, hlrVisible, isCenter, occVertex, pnt, and ref3D.
◆ Vertex() [3/4]
Vertex::Vertex | ( | double | x, |
double | y | ||
) |
References cosmetic, cosmeticLink, cosmeticTag, createNewTag(), extractType, hlrVisible, isCenter, occVertex, pnt, and ref3D.
◆ Vertex() [4/4]
Vertex::Vertex | ( | Base::Vector3d | v | ) |
◆ ~Vertex()
|
virtual |
References Base::Vector3< _Precision >::x.
Member Function Documentation
◆ assignTag()
|
protected |
◆ createNewTag()
◆ dump()
|
virtual |
Reimplemented in TechDraw::CosmeticVertex.
References Base::Console(), cosmetic, cosmeticLink, cosmeticTag, TechDraw::DrawUtil::formatVector(), hlrVisible, Base::ConsoleSingleton::Message(), and pnt.
◆ getTag()
boost::uuids::uuid Vertex::getTag | ( | ) | const |
References tag.
Referenced by getTagAsString().
◆ getTagAsString()
|
virtual |
◆ isEqual()
References DraftVecUtils::dist(), and pnt.
◆ point() [1/2]
void TechDraw::Vertex::point | ( | Base::Vector3d | v | ) |
◆ point() [2/2]
Base::Vector3d TechDraw::Vertex::point | ( | void | ) | const |
Referenced by TechDraw::DrawViewDimension::execute(), and TechDraw::CosmeticVertex::toString().
◆ Restore()
|
virtual |
Reimplemented in TechDraw::CosmeticVertex.
References cosmetic, cosmeticLink, cosmeticTag, extractType, Base::XMLReader::getAttribute(), Base::XMLReader::getAttributeAsFloat(), Base::XMLReader::getAttributeAsInteger(), hlrVisible, occVertex, pnt, Base::XMLReader::readElement(), ref3D, tag, Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
Referenced by TechDraw::CosmeticVertex::Restore().
◆ Save()
|
virtual |
Reimplemented in TechDraw::CosmeticVertex.
References cosmetic, cosmeticLink, cosmeticTag, extractType, getTagAsString(), hlrVisible, Base::Writer::ind(), isCenter, pnt, ref3D, Base::Writer::Stream(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
Referenced by TechDraw::CosmeticVertex::Save().
◆ x()
double TechDraw::Vertex::x | ( | ) |
◆ y()
double TechDraw::Vertex::y | ( | ) |
Member Data Documentation
◆ cosmetic
bool TechDraw::Vertex::cosmetic |
Referenced by TechDraw::CosmeticVertex::CosmeticVertex(), dump(), Restore(), Save(), and Vertex().
◆ cosmeticLink
◆ cosmeticTag
std::string TechDraw::Vertex::cosmeticTag |
Referenced by dump(), TechDraw::DrawDimHelper::makeExtentDim(), Restore(), Save(), and Vertex().
◆ extractType
ExtractionType TechDraw::Vertex::extractType |
◆ hlrVisible
bool TechDraw::Vertex::hlrVisible |
Referenced by TechDraw::CosmeticVertex::CosmeticVertex(), dump(), Restore(), Save(), and Vertex().
◆ isCenter
◆ occVertex
◆ pnt
Base::Vector3d TechDraw::Vertex::pnt |
Referenced by dump(), TechDraw::DrawViewDimExtent::getPointsTwoVerts(), isEqual(), Restore(), Save(), TechDraw::CosmeticVertex::scaled(), and Vertex().
◆ ref3D
◆ reference
bool TechDraw::Vertex::reference |
◆ tag
|
protected |
The documentation for this class was generated from the following files:
- src/Mod/TechDraw/App/Geometry.h
- src/Mod/TechDraw/App/Geometry.cpp