PATLineSpec is the result of parsing a singleline from PAT file into accessible parameters. More...
#include <HatchLine.h>
Public Member Functions | |
void | dump (const char *title) |
double | getAngle (void) |
DashSpec | getDashParms (void) |
double | getInterval (void) |
double | getIntervalX (void) |
X component of distance between lines. More... | |
double | getIntervalY (void) |
Y component of distance between lines. More... | |
double | getLength (void) |
double | getOffset (void) |
Base::Vector3d | getOrigin (void) |
double | getSlope (void) |
bool | isDashed (void) |
void | load (std::string &lineSpec) |
PATLineSpec () | |
PATLineSpec (std::string &lineSpec) | |
~PATLineSpec () | |
Static Public Member Functions | |
static bool | findPatternStart (std::ifstream &inFile, std::string &parmName) |
static std::vector< std::string > | getPatternList (std::string &parmFile) |
static std::vector< PATLineSpec > | getSpecsForPattern (std::string &parmFile, std::string &parmName) |
static std::vector< std::string > | loadPatternDef (std::ifstream &inFile) |
PATLineSpec is the result of parsing a singleline from PAT file into accessible parameters.
PATLineSpec::PATLineSpec | ( | ) |
PATLineSpec::PATLineSpec | ( | std::string & | lineSpec | ) |
References load().
PATLineSpec::~PATLineSpec | ( | ) |
void PATLineSpec::dump | ( | const char * | title | ) |
|
static |
Referenced by getSpecsForPattern().
double TechDraw::PATLineSpec::getAngle | ( | void | ) |
Referenced by TechDraw::LineSet::calcApparentStart(), PathScripts.PathDressupDogbone.Chord::getAngleXY(), getIntervalX(), getIntervalY(), getSlope(), TechDraw::DrawGeomHatch::makeEdgeOverlay(), draftguitools.gui_trackers.arcTracker::setEndPoint(), and draftguitools.gui_trackers.arcTracker::setStartPoint().
DashSpec TechDraw::PATLineSpec::getDashParms | ( | void | ) |
double TechDraw::PATLineSpec::getInterval | ( | void | ) |
Referenced by getIntervalX(), getIntervalY(), and TechDraw::DrawGeomHatch::makeEdgeOverlay().
double PATLineSpec::getIntervalX | ( | void | ) |
X component of distance between lines.
References getAngle(), and getInterval().
Referenced by TechDraw::DrawGeomHatch::makeEdgeOverlay().
double PATLineSpec::getIntervalY | ( | void | ) |
Y component of distance between lines.
References getAngle(), and getInterval().
double TechDraw::PATLineSpec::getLength | ( | void | ) |
double TechDraw::PATLineSpec::getOffset | ( | void | ) |
Referenced by draftguitools.gui_selectplane.Draft_SelectPlane::display(), draftguitools.gui_selectplane.Draft_SelectPlane::handle(), draftguitools.gui_selectplane.Draft_SelectPlane::onClickAlign(), draftguitools.gui_selectplane.Draft_SelectPlane::onClickFront(), draftguitools.gui_selectplane.Draft_SelectPlane::onClickSide(), and draftguitools.gui_selectplane.Draft_SelectPlane::onClickTop().
Base::Vector3d TechDraw::PATLineSpec::getOrigin | ( | void | ) |
Referenced by TechDraw::DrawGeomHatch::makeEdgeOverlay().
|
static |
References Base::Console(), and Base::ConsoleSingleton::Message().
double PATLineSpec::getSlope | ( | void | ) |
References DraftVecUtils::angle(), and getAngle().
Referenced by TechDraw::LineSet::calcApparentStart(), and TechDraw::DrawGeomHatch::makeEdgeOverlay().
|
static |
bool PATLineSpec::isDashed | ( | void | ) |
References TechDraw::DashSpec::empty().
Referenced by TechDraw::LineSet::isDashed().
void PATLineSpec::load | ( | std::string & | lineSpec | ) |
References Base::Console(), and Base::ConsoleSingleton::Message().
Referenced by draftguitools.gui_setstyle.Draft_SetStyle_TaskPanel::loadDefaults(), draftguitools.gui_setstyle.Draft_SetStyle_TaskPanel::onLoadStyle(), draftguitools.gui_setstyle.Draft_SetStyle_TaskPanel::onSaveStyle(), and PATLineSpec().
|
static |
Referenced by getSpecsForPattern().