TechDraw::LineSet Class Reference

a LineSet is all the generated edges for 1 PATLineSpec for 1 Face More...

#include <HatchLine.h>

Public Member Functions

Base::Vector3d calcApparentStart (TechDraw::BaseGeomPtr g)
 calculates the apparent start point (ie start of overlay line) for dashed lines More...
 
Base::Vector3d findAtomStart (void)
 
double getAngle (void)
 
Bnd_Box getBBox (void)
 
DashSpec getDashSpec (void)
 
TopoDS_Edge getEdge (int i)
 
std::vector< TopoDS_Edge > getEdges (void)
 
std::vector< TechDraw::BaseGeomPtrgetGeoms (void)
 
double getInterval (void)
 
double getIntervalX (void)
 
double getIntervalY (void)
 
Base::Vector3d getLineOrigin (void)
 
double getMaxX (void)
 
double getMaxY (void)
 
double getMinX (void)
 
double getMinY (void)
 
double getOffset (void)
 
Base::Vector3d getOrigin (void)
 
PATLineSpec getPATLineSpec (void)
 
double getPatternLength (void)
 
Base::Vector3d getPatternStartPoint (TechDraw::BaseGeomPtr g, double &offset, double scale=1.0)
 
double getSlope (void)
 
Base::Vector3d getUnitDir (void)
 
Base::Vector3d getUnitOrtho (void)
 
bool isDashed (void)
 
 LineSet ()
 
void setBBox (const Bnd_Box &bb)
 
void setEdges (std::vector< TopoDS_Edge > e)
 
void setGeoms (std::vector< TechDraw::BaseGeomPtr > g)
 
void setPATLineSpec (const PATLineSpec &s)
 
 ~LineSet ()
 

Detailed Description

a LineSet is all the generated edges for 1 PATLineSpec for 1 Face

Constructor & Destructor Documentation

◆ LineSet()

TechDraw::LineSet::LineSet ( )

◆ ~LineSet()

TechDraw::LineSet::~LineSet ( )

Member Function Documentation

◆ calcApparentStart()

Base::Vector3d LineSet::calcApparentStart ( TechDraw::BaseGeomPtr  g)

calculates the apparent start point (ie start of overlay line) for dashed lines

References TechDraw::PATLineSpec::getAngle(), getMinX(), getMinY(), getPATLineSpec(), and TechDraw::PATLineSpec::getSlope().

Referenced by getPatternStartPoint().

◆ findAtomStart()

◆ getAngle()

◆ getBBox()

Bnd_Box TechDraw::LineSet::getBBox ( void  )

◆ getDashSpec()

◆ getEdge()

TopoDS_Edge TechDraw::LineSet::getEdge ( int  i)

◆ getEdges()

std::vector< TopoDS_Edge > TechDraw::LineSet::getEdges ( void  )

◆ getGeoms()

std::vector< TechDraw::BaseGeomPtr > TechDraw::LineSet::getGeoms ( void  )

◆ getInterval()

double TechDraw::LineSet::getInterval ( void  )

Referenced by getPatternStartPoint().

◆ getIntervalX()

double TechDraw::LineSet::getIntervalX ( void  )

Referenced by getPatternStartPoint().

◆ getIntervalY()

double TechDraw::LineSet::getIntervalY ( void  )

Referenced by getPatternStartPoint().

◆ getLineOrigin()

Base::Vector3d TechDraw::LineSet::getLineOrigin ( void  )

◆ getMaxX()

double LineSet::getMaxX ( void  )

◆ getMaxY()

double LineSet::getMaxY ( void  )

◆ getMinX()

double LineSet::getMinX ( void  )

Referenced by calcApparentStart(), and findAtomStart().

◆ getMinY()

double LineSet::getMinY ( void  )

Referenced by calcApparentStart(), and findAtomStart().

◆ getOffset()

◆ getOrigin()

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

◆ getPATLineSpec()

PATLineSpec TechDraw::LineSet::getPATLineSpec ( void  )

Referenced by calcApparentStart().

◆ getPatternLength()

double TechDraw::LineSet::getPatternLength ( void  )

Referenced by getPatternStartPoint().

◆ getPatternStartPoint()

◆ getSlope()

double TechDraw::LineSet::getSlope ( void  )

Referenced by findAtomStart().

◆ getUnitDir()

◆ getUnitOrtho()

Base::Vector3d LineSet::getUnitOrtho ( void  )

References getUnitDir().

Referenced by getPatternStartPoint().

◆ isDashed()

bool LineSet::isDashed ( void  )

◆ setBBox()

void TechDraw::LineSet::setBBox ( const Bnd_Box &  bb)

◆ setEdges()

void TechDraw::LineSet::setEdges ( std::vector< TopoDS_Edge >  e)

◆ setGeoms()

void TechDraw::LineSet::setGeoms ( std::vector< TechDraw::BaseGeomPtr g)

◆ setPATLineSpec()

void TechDraw::LineSet::setPATLineSpec ( const PATLineSpec s)

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