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

#include <opennurbs_string.h>

Public Member Functions

void Default ()
 
void Dump (class ON_TextLog &) const
 
bool IsValid () const
 
 ON_UnitSystem ()
 
 ON_UnitSystem (ON::unit_system)
 
ON_UnitSystemoperator= (ON::unit_system)
 
bool Read (class ON_BinaryArchive &)
 
bool Write (class ON_BinaryArchive &) const
 
 ~ON_UnitSystem ()
 

Public Attributes

ON_wString m_custom_unit_name
 
double m_custom_unit_scale
 
ON::unit_system m_unit_system
 

Constructor & Destructor Documentation

◆ ON_UnitSystem() [1/2]

ON_UnitSystem::ON_UnitSystem ( )

◆ ~ON_UnitSystem()

ON_UnitSystem::~ON_UnitSystem ( )

◆ ON_UnitSystem() [2/2]

ON_UnitSystem::ON_UnitSystem ( ON::unit_system us)

Member Function Documentation

◆ Default()

void ON_UnitSystem::Default ( )

◆ Dump()

void ON_UnitSystem::Dump ( class ON_TextLog & dump) const

◆ IsValid()

bool ON_UnitSystem::IsValid ( ) const

◆ operator=()

ON_UnitSystem & ON_UnitSystem::operator= ( ON::unit_system us)

◆ Read()

bool ON_UnitSystem::Read ( class ON_BinaryArchive & file)

◆ Write()

bool ON_UnitSystem::Write ( class ON_BinaryArchive & file) const

Member Data Documentation

◆ m_custom_unit_name

ON_wString ON_UnitSystem::m_custom_unit_name

◆ m_custom_unit_scale

double ON_UnitSystem::m_custom_unit_scale

◆ m_unit_system

ON::unit_system ON_UnitSystem::m_unit_system

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