TechDraw::PATLineSpec Class Reference

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< PATLineSpecgetSpecsForPattern (std::string &parmFile, std::string &parmName)
 
static std::vector< std::string > loadPatternDef (std::ifstream &inFile)
 

Detailed Description

PATLineSpec is the result of parsing a singleline from PAT file into accessible parameters.

Constructor & Destructor Documentation

◆ PATLineSpec() [1/2]

PATLineSpec::PATLineSpec ( )

◆ PATLineSpec() [2/2]

PATLineSpec::PATLineSpec ( std::string &  lineSpec)

References load().

◆ ~PATLineSpec()

PATLineSpec::~PATLineSpec ( )

Member Function Documentation

◆ dump()

◆ findPatternStart()

bool PATLineSpec::findPatternStart ( std::ifstream &  inFile,
std::string &  parmName 
)
static

Referenced by getSpecsForPattern().

◆ getAngle()

◆ getDashParms()

DashSpec TechDraw::PATLineSpec::getDashParms ( void  )

◆ getInterval()

double TechDraw::PATLineSpec::getInterval ( void  )

◆ getIntervalX()

double PATLineSpec::getIntervalX ( void  )

X component of distance between lines.

References getAngle(), and getInterval().

Referenced by TechDraw::DrawGeomHatch::makeEdgeOverlay().

◆ getIntervalY()

double PATLineSpec::getIntervalY ( void  )

Y component of distance between lines.

References getAngle(), and getInterval().

◆ getLength()

double TechDraw::PATLineSpec::getLength ( void  )

◆ getOffset()

◆ getOrigin()

Base::Vector3d TechDraw::PATLineSpec::getOrigin ( void  )

◆ getPatternList()

std::vector< std::string > PATLineSpec::getPatternList ( std::string &  parmFile)
static

◆ getSlope()

double PATLineSpec::getSlope ( void  )

◆ getSpecsForPattern()

std::vector< PATLineSpec > PATLineSpec::getSpecsForPattern ( std::string &  parmFile,
std::string &  parmName 
)
static

◆ isDashed()

bool PATLineSpec::isDashed ( void  )

◆ load()

◆ loadPatternDef()

std::vector< std::string > PATLineSpec::loadPatternDef ( std::ifstream &  inFile)
static

Referenced by getSpecsForPattern().


The documentation for this class was generated from the following files: