Point Cloud Library (PCL)  1.14.1-dev
List of all members | Public Member Functions | Public Attributes
ON_HatchLine Class Reference

#include <pcl/surface/3rdparty/opennurbs/opennurbs_hatch.h>

+ Collaboration diagram for ON_HatchLine:

Public Member Functions

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

Public Attributes

double m_angle
 
ON_2dPoint m_base
 
ON_2dVector m_offset
 
ON_SimpleArray< double > m_dashes
 

Detailed Description

Definition at line 135 of file opennurbs_hatch.h.

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  ) const

◆ DashCount()

int ON_HatchLine::DashCount ( ) const

◆ Dump()

void ON_HatchLine::Dump ( ON_TextLog ) 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 ) const

◆ operator==()

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

◆ Read()

ON_BOOL32 ON_HatchLine::Read ( ON_BinaryArchive )

◆ 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 ) const

Member Data Documentation

◆ m_angle

double ON_HatchLine::m_angle

Definition at line 279 of file opennurbs_hatch.h.

◆ m_base

ON_2dPoint ON_HatchLine::m_base

Definition at line 280 of file opennurbs_hatch.h.

◆ m_dashes

ON_SimpleArray< double> ON_HatchLine::m_dashes

Definition at line 282 of file opennurbs_hatch.h.

◆ m_offset

ON_2dVector ON_HatchLine::m_offset

Definition at line 281 of file opennurbs_hatch.h.


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