#include <Geometry.h>
Public Member Functions | |
Base::Vector3d | apparentInter (GenericPtr g) |
Base::Vector3d | asVector (void) |
Generic () | |
Generic (const TopoDS_Edge &e) | |
Generic is a multiline. More... | |
virtual void | Restore (Base::XMLReader &r) override |
virtual void | Save (Base::Writer &w) const override |
double | slope (void) |
virtual std::string | toString (void) const override |
~Generic ()=default | |
Public Member Functions inherited from TechDraw::BaseGeom | |
BaseGeom () | |
bool | closed (void) |
BaseGeomPtr | copy () |
std::string | dump () |
std::vector< Base::Vector3d > | findEndPoints () |
std::string | getCosmeticTag (void) |
Base::Vector3d | getEndPoint () |
Base::Vector3d | getMidPoint () |
std::vector< Base::Vector3d > | getQuads () |
Base::Vector3d | getStartPoint () |
boost::uuids::uuid | getTag () const |
virtual std::string | getTagAsString (void) const |
std::vector< Base::Vector3d > | intersection (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 | |
std::vector< Base::Vector3d > | points |
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 |
Generic::Generic | ( | const TopoDS_Edge & | e | ) |
Generic is a multiline.
References TechDraw::GENERIC, TechDraw::BaseGeom::geomType, TechDraw::BaseGeom::occEdge, and TechDraw::BaseGeom::reversed.
Generic::Generic | ( | ) |
References TechDraw::GENERIC, and TechDraw::BaseGeom::geomType.
|
default |
Base::Vector3d Generic::apparentInter | ( | GenericPtr | g | ) |
References asVector(), Base::Vector3< _Precision >::x, and Base::Vector3< _Precision >::y.
Base::Vector3d Generic::asVector | ( | void | ) |
|
overridevirtual |
|
overridevirtual |
Reimplemented from TechDraw::BaseGeom.
References Base::Writer::decInd(), Base::Writer::incInd(), Base::Writer::ind(), TechDraw::BaseGeom::Save(), and Base::Writer::Stream().
double Generic::slope | ( | void | ) |
References asVector(), and slope().
Referenced by slope().
|
overridevirtual |
Reimplemented from TechDraw::BaseGeom.
References TechDraw::BaseGeom::toString().
std::vector<Base::Vector3d> TechDraw::Generic::points |
Referenced by ArchStructure.CommandStructuralSystem::Activated(), draftguitools.gui_arcs.Arc_3Points::drawArc(), draftguitools.gui_arcs.Arc_3Points::getPoint(), ArchCurtainWall.CommandArchCurtainWall::getPoint(), ArchTruss.CommandArchTruss::getPoint(), draftguitools.gui_trackers.bsplineTracker::recompute(), draftguitools.gui_trackers.bezcurveTracker::recompute(), draftguitools.gui_trackers.bsplineTracker::update(), draftguitools.gui_trackers.bezcurveTracker::update(), automotive_design.advanced_face::wr10(), and config_control_design.advanced_face::wr10().