QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
opennurbs_extensions.cpp File Reference
#include "opennurbs.h"

Classes

class  ON__CIndexMaps
 
class  ON__CIndexPair
 

Functions

static int AuditDimStyleTableHelper (ONX_Model &model, bool bAttemptRepair, int *repair_count, ON_TextLog *text_log)
 
static int AuditFontTableHelper (ONX_Model &model, bool bAttemptRepair, int *repair_count, ON_TextLog *text_log)
 
static int AuditGroupTableHelper (ONX_Model &model, bool bAttemptRepair, int *repair_count, ON_TextLog *text_log)
 
static int AuditHatchPatternTableHelper (ONX_Model &model, bool bAttemptRepair, int *repair_count, ON_TextLog *text_log)
 
static int AuditHistoryRecordTableHelper (ONX_Model &model, bool bAttemptRepair, int *repair_count, ON_TextLog *text_log)
 
static int AuditIDefIdsHelper (ONX_Model &model, bool bAttemptRepair, int *repair_count, ON_TextLog *text_log)
 
static int AuditIDefTableHelper (ONX_Model &model, bool bAttemptRepair, int *repair_count, ON_TextLog *text_log)
 
static int AuditIdsHelper (ON_SimpleArray< ON_UuidIndex > &id_list, ON_UuidIndexList *index_list, bool bAttemptRepair, int *repair_count, ON_TextLog *text_log, const wchar_t *nil_id_msg, const wchar_t *dup_id_msg)
 
static int AuditLayerTableHelper (ONX_Model &model, bool bAttemptRepair, int *repair_count, ON_TextLog *text_log)
 
static int AuditLightIdsHelper (ONX_Model &model, bool bAttemptRepair, int *repair_count, ON_TextLog *text_log)
 
static int AuditLightTableHelper (ONX_Model &model, bool bAttemptRepair, int *repair_count, ON_TextLog *text_log)
 
static int AuditLinetypeTableHelper (ONX_Model &model, bool bAttemptRepair, int *repair_count, ON_TextLog *text_log)
 
static int AuditMappingIdsHelper (ONX_Model &model, bool bAttemptRepair, int *repair_count, ON_TextLog *text_log)
 
static int AuditMaterialIdsHelper (ONX_Model &model, bool bAttemptRepair, int *repair_count, ON_TextLog *text_log)
 
static int AuditMaterialTableHelper (ONX_Model &model, bool bAttemptRepair, int *repair_count, ON_TextLog *text_log)
 
static int AuditModelIdsHelper (ONX_Model &model, bool bAttemptRepair, int *repair_count, ON_TextLog *text_log, ON_SimpleArray< int > *warnings)
 
static int AuditObjectAttributesHelper (ONX_Model &model, ON_3dmObjectAttributes &attributes, const wchar_t *parent_name, int parent_index, bool bAttemptRepair, int *repair_count, ON_TextLog *text_log)
 
static int AuditObjectIdsHelper (ONX_Model &model, bool bAttemptRepair, int *repair_count, ON_TextLog *text_log)
 
static int AuditObjectTableHelper (ONX_Model &model, bool bAttemptRepair, int *repair_count, ON_TextLog *text_log)
 
static int AuditTextureMappingTableHelper (ONX_Model &model, bool bAttemptRepair, int *repair_count, ON_TextLog *text_log)
 
static bool CheckForCRCErrors (ON_BinaryArchive &archive, ONX_Model &model, ON_TextLog *error_log, const char *sSection)
 
void ONX_DumpView (ON_TextLog &dump, const ON_3dmView &view)
 
bool ONX_IsValidName (const wchar_t *name)
 
static bool ONX_IsValidNameFirstChar (wchar_t c)
 
static bool ONX_IsValidNameSecondChar (wchar_t c)
 
static void ONX_Model_WriteHelper (ON_BinaryFile &file)
 
static int RemapIndexHelper (int old_index, bool bRemapIndex, int count, int default_index, const ON_SimpleArray< ON__CIndexPair > &imap)
 

Function Documentation

◆ AuditDimStyleTableHelper()

static int AuditDimStyleTableHelper ( ONX_Model & model,
bool bAttemptRepair,
int * repair_count,
ON_TextLog * text_log )
static

◆ AuditFontTableHelper()

static int AuditFontTableHelper ( ONX_Model & model,
bool bAttemptRepair,
int * repair_count,
ON_TextLog * text_log )
static

◆ AuditGroupTableHelper()

static int AuditGroupTableHelper ( ONX_Model & model,
bool bAttemptRepair,
int * repair_count,
ON_TextLog * text_log )
static

◆ AuditHatchPatternTableHelper()

static int AuditHatchPatternTableHelper ( ONX_Model & model,
bool bAttemptRepair,
int * repair_count,
ON_TextLog * text_log )
static

◆ AuditHistoryRecordTableHelper()

static int AuditHistoryRecordTableHelper ( ONX_Model & model,
bool bAttemptRepair,
int * repair_count,
ON_TextLog * text_log )
static

◆ AuditIDefIdsHelper()

static int AuditIDefIdsHelper ( ONX_Model & model,
bool bAttemptRepair,
int * repair_count,
ON_TextLog * text_log )
static

◆ AuditIDefTableHelper()

static int AuditIDefTableHelper ( ONX_Model & model,
bool bAttemptRepair,
int * repair_count,
ON_TextLog * text_log )
static

◆ AuditIdsHelper()

static int AuditIdsHelper ( ON_SimpleArray< ON_UuidIndex > & id_list,
ON_UuidIndexList * index_list,
bool bAttemptRepair,
int * repair_count,
ON_TextLog * text_log,
const wchar_t * nil_id_msg,
const wchar_t * dup_id_msg )
static

◆ AuditLayerTableHelper()

static int AuditLayerTableHelper ( ONX_Model & model,
bool bAttemptRepair,
int * repair_count,
ON_TextLog * text_log )
static

◆ AuditLightIdsHelper()

static int AuditLightIdsHelper ( ONX_Model & model,
bool bAttemptRepair,
int * repair_count,
ON_TextLog * text_log )
static

◆ AuditLightTableHelper()

static int AuditLightTableHelper ( ONX_Model & model,
bool bAttemptRepair,
int * repair_count,
ON_TextLog * text_log )
static

◆ AuditLinetypeTableHelper()

static int AuditLinetypeTableHelper ( ONX_Model & model,
bool bAttemptRepair,
int * repair_count,
ON_TextLog * text_log )
static

◆ AuditMappingIdsHelper()

static int AuditMappingIdsHelper ( ONX_Model & model,
bool bAttemptRepair,
int * repair_count,
ON_TextLog * text_log )
static

◆ AuditMaterialIdsHelper()

static int AuditMaterialIdsHelper ( ONX_Model & model,
bool bAttemptRepair,
int * repair_count,
ON_TextLog * text_log )
static

◆ AuditMaterialTableHelper()

static int AuditMaterialTableHelper ( ONX_Model & model,
bool bAttemptRepair,
int * repair_count,
ON_TextLog * text_log )
static

◆ AuditModelIdsHelper()

static int AuditModelIdsHelper ( ONX_Model & model,
bool bAttemptRepair,
int * repair_count,
ON_TextLog * text_log,
ON_SimpleArray< int > * warnings )
static

◆ AuditObjectAttributesHelper()

static int AuditObjectAttributesHelper ( ONX_Model & model,
ON_3dmObjectAttributes & attributes,
const wchar_t * parent_name,
int parent_index,
bool bAttemptRepair,
int * repair_count,
ON_TextLog * text_log )
static

◆ AuditObjectIdsHelper()

static int AuditObjectIdsHelper ( ONX_Model & model,
bool bAttemptRepair,
int * repair_count,
ON_TextLog * text_log )
static

◆ AuditObjectTableHelper()

static int AuditObjectTableHelper ( ONX_Model & model,
bool bAttemptRepair,
int * repair_count,
ON_TextLog * text_log )
static

◆ AuditTextureMappingTableHelper()

static int AuditTextureMappingTableHelper ( ONX_Model & model,
bool bAttemptRepair,
int * repair_count,
ON_TextLog * text_log )
static

◆ CheckForCRCErrors()

static bool CheckForCRCErrors ( ON_BinaryArchive & archive,
ONX_Model & model,
ON_TextLog * error_log,
const char * sSection )
static

◆ ONX_DumpView()

void ONX_DumpView ( ON_TextLog & dump,
const ON_3dmView & view )

◆ ONX_IsValidName()

bool ONX_IsValidName ( const wchar_t * name)

◆ ONX_IsValidNameFirstChar()

static bool ONX_IsValidNameFirstChar ( wchar_t c)
static

◆ ONX_IsValidNameSecondChar()

static bool ONX_IsValidNameSecondChar ( wchar_t c)
static

◆ ONX_Model_WriteHelper()

static void ONX_Model_WriteHelper ( ON_BinaryFile & file)
static

◆ RemapIndexHelper()

static int RemapIndexHelper ( int old_index,
bool bRemapIndex,
int count,
int default_index,
const ON_SimpleArray< ON__CIndexPair > & imap )
static