#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 |
Definition at line 136 of file opennurbs_hatch.h.
Definition at line 181 of file opennurbs_hatch.cpp.
ON_HatchLine::ON_HatchLine | ( | double | angle, |
const ON_2dPoint & | base, | ||
const ON_2dVector & | offset, | ||
const ON_SimpleArray< double > | dashes | ||
) |
Definition at line 186 of file opennurbs_hatch.cpp.
double ON_HatchLine::Angle | ( | ) | const |
Definition at line 298 of file opennurbs_hatch.cpp.
void ON_HatchLine::AppendDash | ( | double | dash | ) |
Definition at line 347 of file opennurbs_hatch.cpp.
ON_2dPoint ON_HatchLine::Base | ( | ) | const |
Definition at line 315 of file opennurbs_hatch.cpp.
double ON_HatchLine::Dash | ( | int | index | ) | const |
Definition at line 340 of file opennurbs_hatch.cpp.
int ON_HatchLine::DashCount | ( | ) | const |
Definition at line 335 of file opennurbs_hatch.cpp.
void ON_HatchLine::Dump | ( | ON_TextLog & | dump | ) | const |
Definition at line 247 of file opennurbs_hatch.cpp.
void ON_HatchLine::GetLineData | ( | double & | angle, |
ON_2dPoint & | base, | ||
ON_2dVector & | offset, | ||
ON_SimpleArray< double > & | dashes | ||
) | const |
Definition at line 358 of file opennurbs_hatch.cpp.
double ON_HatchLine::GetPatternLength | ( | ) | const |
Definition at line 368 of file opennurbs_hatch.cpp.
ON_BOOL32 ON_HatchLine::IsValid | ( | ON_TextLog * | text_log = NULL | ) | const |
Definition at line 207 of file opennurbs_hatch.cpp.
ON_2dVector ON_HatchLine::Offset | ( | ) | const |
Definition at line 325 of file opennurbs_hatch.cpp.
bool ON_HatchLine::operator!= | ( | const ON_HatchLine & | src | ) | const |
Definition at line 202 of file opennurbs_hatch.cpp.
bool ON_HatchLine::operator== | ( | const ON_HatchLine & | src | ) | const |
Definition at line 194 of file opennurbs_hatch.cpp.
Definition at line 278 of file opennurbs_hatch.cpp.
void ON_HatchLine::SetAngle | ( | double | angle | ) |
Definition at line 303 of file opennurbs_hatch.cpp.
void ON_HatchLine::SetBase | ( | const ON_2dPoint & | base | ) |
Definition at line 320 of file opennurbs_hatch.cpp.
void ON_HatchLine::SetOffset | ( | const ON_2dVector & | offset | ) |
Definition at line 330 of file opennurbs_hatch.cpp.
void ON_HatchLine::SetPattern | ( | const ON_SimpleArray< double > & | dashes | ) |
Definition at line 353 of file opennurbs_hatch.cpp.
ON_BOOL32 ON_HatchLine::Write | ( | ON_BinaryArchive & | ar | ) | const |
Definition at line 266 of file opennurbs_hatch.cpp.
double ON_HatchLine::m_angle |
Definition at line 280 of file opennurbs_hatch.h.
Definition at line 281 of file opennurbs_hatch.h.
ON_SimpleArray< double> ON_HatchLine::m_dashes |
Definition at line 283 of file opennurbs_hatch.h.
Definition at line 282 of file opennurbs_hatch.h.