QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
ON_HatchLine Class Reference

#include <opennurbs_hatch.h>

Public Member Functions

double Angle () const
 
void AppendDash (double dash)
 
ON_2dPoint Base () const
 
double Dash (int) const
 
int DashCount () const
 
void Dump (ON_TextLog &) const
 
void GetLineData (double &angle, ON_2dPoint &base, ON_2dVector &offset, ON_SimpleArray< double > &dashes) const
 
double GetPatternLength () const
 
ON_BOOL32 IsValid (ON_TextLog *text_log=NULL) const
 
ON_2dVector Offset () const
 
 ON_HatchLine ()
 
 ON_HatchLine (double angle, const ON_2dPoint &base, const ON_2dVector &offset, const ON_SimpleArray< double > dashes)
 
bool operator!= (const ON_HatchLine &) const
 
bool operator== (const ON_HatchLine &) const
 
ON_BOOL32 Read (ON_BinaryArchive &)
 
void SetAngle (double angle)
 
void SetBase (const ON_2dPoint &base)
 
void SetOffset (const ON_2dVector &offset)
 
void SetPattern (const ON_SimpleArray< double > &dashes)
 
ON_BOOL32 Write (ON_BinaryArchive &) const
 

Public Attributes

double m_angle
 
ON_2dPoint m_base
 
ON_SimpleArray< double > m_dashes
 
ON_2dVector m_offset
 

Constructor & Destructor Documentation

◆ ON_HatchLine() [1/2]

ON_HatchLine::ON_HatchLine ( )

◆ ON_HatchLine() [2/2]

ON_HatchLine::ON_HatchLine ( double angle,
const ON_2dPoint & base,
const ON_2dVector & offset,
const ON_SimpleArray< double > dashes )

Member Function Documentation

◆ Angle()

double ON_HatchLine::Angle ( ) const

◆ AppendDash()

void ON_HatchLine::AppendDash ( double dash)

◆ Base()

ON_2dPoint ON_HatchLine::Base ( ) const

◆ Dash()

double ON_HatchLine::Dash ( int index) const

◆ DashCount()

int ON_HatchLine::DashCount ( ) const

◆ Dump()

void ON_HatchLine::Dump ( ON_TextLog & dump) const

◆ GetLineData()

void ON_HatchLine::GetLineData ( double & angle,
ON_2dPoint & base,
ON_2dVector & offset,
ON_SimpleArray< double > & dashes ) const

◆ GetPatternLength()

double ON_HatchLine::GetPatternLength ( ) const

◆ IsValid()

ON_BOOL32 ON_HatchLine::IsValid ( ON_TextLog * text_log = NULL) const

◆ Offset()

ON_2dVector ON_HatchLine::Offset ( ) const

◆ operator!=()

bool ON_HatchLine::operator!= ( const ON_HatchLine & src) const

◆ operator==()

bool ON_HatchLine::operator== ( const ON_HatchLine & src) const

◆ Read()

ON_BOOL32 ON_HatchLine::Read ( ON_BinaryArchive & ar)

◆ SetAngle()

void ON_HatchLine::SetAngle ( double angle)

◆ SetBase()

void ON_HatchLine::SetBase ( const ON_2dPoint & base)

◆ SetOffset()

void ON_HatchLine::SetOffset ( const ON_2dVector & offset)

◆ SetPattern()

void ON_HatchLine::SetPattern ( const ON_SimpleArray< double > & dashes)

◆ Write()

ON_BOOL32 ON_HatchLine::Write ( ON_BinaryArchive & ar) const

Member Data Documentation

◆ m_angle

double ON_HatchLine::m_angle

◆ m_base

ON_2dPoint ON_HatchLine::m_base

◆ m_dashes

ON_SimpleArray< double> ON_HatchLine::m_dashes

◆ m_offset

ON_2dVector ON_HatchLine::m_offset

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