Go to the source code of this file.
Classes | |
union | ON_U |
struct | tagON_2dex |
struct | tagON_3dex |
struct | tagON_4dex |
Defines | |
#define | ON_1_OVER_SQRT2 0.7071067811865475244008445 |
#define | ON_ArrayCount(a) (sizeof(a)/sizeof((a)[0])) |
#define | ON_BEGIN_EXTERNC |
#define | ON_CLASS |
#define | ON_COS_PI_OVER_12 0.9659258262890682867497433 |
#define | ON_DBL_MAX 1.7976931348623158e+308 |
#define | ON_DBL_MIN 2.22507385850720200e-308 |
#define | ON_DECL |
#define | ON_DEFAULT_ANGLE_TOLERANCE (ON_PI/180.0) |
#define | ON_DEFAULT_ANGLE_TOLERANCE_COSINE 0.99984769515639123915701155881391 |
#define | ON_DEGREES_TO_RADIANS ON_PI/180.0 |
#define | ON_DEPRECATED |
#define | ON_END_EXTERNC |
#define | ON_EPSILON 2.2204460492503131e-16 |
#define | ON_EXTERN_DECL |
#define | ON_EXTERNC |
#define | ON_FLOAT_EPSILON 1.192092896e-07 |
#define | ON_LOG10 2.302585092994045684017991 |
#define | ON_LOG2 0.6931471805599453094172321 |
#define | ON_MAXIMUM_WORLD_COORDINATE_VALUE 1.34217728e8 |
#define | ON_MINIMUM_ANGLE_TOLERANCE (ON_DEFAULT_ANGLE_TOLERANCE/10.0) |
#define | ON_PI 3.141592653589793238462643 |
#define | ON_RADIANS_TO_DEGREES 180.0/ON_PI |
#define | ON_RELATIVE_TOLERANCE 2.27373675443232059478759765625e-13 |
#define | ON_SIN_PI_OVER_12 0.2588190451025207623488990 |
#define | ON_SQRT2 1.414213562373095048801689 |
#define | ON_SQRT3 1.732050807568877293527446 |
#define | ON_SQRT3_OVER_2 0.8660254037844386467637230 |
#define | ON_SQRT_EPSILON 1.490116119385000000e-8 |
#define | ON_SQRT_FLOAT_EPSILON 3.452669830725202719e-4 |
#define | ON_UNSET_COLOR 0xFFFFFFFF |
#define | ON_UNSET_FLOAT -1.234321e+38f |
#define | ON_UNSET_VALUE -1.23432101234321e+308 |
#define | ON_ZERO_CURVATURE_TOLERANCE 1.0e-8 |
#define | ON_ZERO_TOLERANCE 2.3283064365386962890625e-10 |
Typedefs | |
typedef struct tagON_2dex | ON_2dex |
typedef struct tagON_3dex | ON_3dex |
typedef struct tagON_4dex | ON_4dex |
Functions | |
ON_DECL void | ON_DBL_SNAN (double *x) |
ON_DECL void | ON_FLT_SNAN (float *x) |
ON_DECL unsigned int | ON_GetStringConversionWindowsCodePage () |
ON_DECL unsigned int | ON_GetStringConversionWindowsLocaleID () |
ON_DECL int | on_MultiByteToWideChar (const char *, int, wchar_t *, int) |
ON_BEGIN_EXTERNC ON_DECL unsigned int | ON_SetStringConversionWindowsCodePage (unsigned int code_page) |
ON_DECL unsigned int | ON_SetStringConversionWindowsLocaleID (unsigned int locale_id, ON_BOOL32 bWin9X) |
ON_DECL void | on_splitpath (const char *path, const char **drive, const char **dir, const char **fname, const char **ext) |
ON_DECL int | on_stricmp (const char *, const char *) |
ON_DECL char * | on_strlwr (char *) |
ON_DECL int | on_strnicmp (const char *s1, const char *s2, int n) |
ON_DECL char * | on_strrev (char *) |
ON_DECL char * | on_strupr (char *) |
ON_DECL int | on_wcsicmp (const wchar_t *, const wchar_t *) |
ON_DECL wchar_t * | on_wcslwr (wchar_t *) |
ON_DECL wchar_t * | on_wcsrev (wchar_t *) |
ON_DECL wchar_t * | on_wcsupr (wchar_t *) |
ON_DECL int | on_WideCharToMultiByte (const wchar_t *, int, char *, int) |
ON_DECL void | on_wsplitpath (const wchar_t *path, const wchar_t **drive, const wchar_t **dir, const wchar_t **fname, const wchar_t **ext) |
Variables | |
ON_EXTERN_DECL const double | ON_DBL_NINF |
ON_EXTERN_DECL const double | ON_DBL_PINF |
ON_BEGIN_EXTERNC ON_EXTERN_DECL const double | ON_DBL_QNAN |
ON_EXTERN_DECL const float | ON_FLT_NINF |
ON_EXTERN_DECL const float | ON_FLT_PINF |
ON_EXTERN_DECL const float | ON_FLT_QNAN |
#define ON_1_OVER_SQRT2 0.7071067811865475244008445 |
Definition at line 143 of file opennurbs_defines.h.
#define ON_ArrayCount | ( | a | ) | (sizeof(a)/sizeof((a)[0])) |
Definition at line 150 of file opennurbs_defines.h.
#define ON_BEGIN_EXTERNC |
Definition at line 41 of file opennurbs_defines.h.
#define ON_CLASS |
Definition at line 113 of file opennurbs_defines.h.
#define ON_COS_PI_OVER_12 0.9659258262890682867497433 |
Definition at line 145 of file opennurbs_defines.h.
#define ON_DBL_MAX 1.7976931348623158e+308 |
Definition at line 155 of file opennurbs_defines.h.
#define ON_DBL_MIN 2.22507385850720200e-308 |
Definition at line 161 of file opennurbs_defines.h.
#define ON_DECL |
Definition at line 114 of file opennurbs_defines.h.
#define ON_DEFAULT_ANGLE_TOLERANCE (ON_PI/180.0) |
Definition at line 303 of file opennurbs_defines.h.
#define ON_DEFAULT_ANGLE_TOLERANCE_COSINE 0.99984769515639123915701155881391 |
Definition at line 304 of file opennurbs_defines.h.
#define ON_DEGREES_TO_RADIANS ON_PI/180.0 |
Definition at line 137 of file opennurbs_defines.h.
#define ON_DEPRECATED |
Definition at line 128 of file opennurbs_defines.h.
#define ON_END_EXTERNC |
Definition at line 42 of file opennurbs_defines.h.
#define ON_EPSILON 2.2204460492503131e-16 |
Definition at line 168 of file opennurbs_defines.h.
#define ON_EXTERN_DECL |
Definition at line 115 of file opennurbs_defines.h.
#define ON_EXTERNC |
Definition at line 40 of file opennurbs_defines.h.
#define ON_FLOAT_EPSILON 1.192092896e-07 |
Definition at line 175 of file opennurbs_defines.h.
#define ON_LOG10 2.302585092994045684017991 |
Definition at line 148 of file opennurbs_defines.h.
#define ON_LOG2 0.6931471805599453094172321 |
Definition at line 147 of file opennurbs_defines.h.
#define ON_MAXIMUM_WORLD_COORDINATE_VALUE 1.34217728e8 |
Definition at line 290 of file opennurbs_defines.h.
#define ON_MINIMUM_ANGLE_TOLERANCE (ON_DEFAULT_ANGLE_TOLERANCE/10.0) |
Definition at line 305 of file opennurbs_defines.h.
#define ON_PI 3.141592653589793238462643 |
Definition at line 134 of file opennurbs_defines.h.
#define ON_RADIANS_TO_DEGREES 180.0/ON_PI |
Definition at line 138 of file opennurbs_defines.h.
#define ON_RELATIVE_TOLERANCE 2.27373675443232059478759765625e-13 |
Definition at line 282 of file opennurbs_defines.h.
#define ON_SIN_PI_OVER_12 0.2588190451025207623488990 |
Definition at line 144 of file opennurbs_defines.h.
#define ON_SQRT2 1.414213562373095048801689 |
Definition at line 140 of file opennurbs_defines.h.
#define ON_SQRT3 1.732050807568877293527446 |
Definition at line 141 of file opennurbs_defines.h.
#define ON_SQRT3_OVER_2 0.8660254037844386467637230 |
Definition at line 142 of file opennurbs_defines.h.
#define ON_SQRT_EPSILON 1.490116119385000000e-8 |
Definition at line 170 of file opennurbs_defines.h.
#define ON_SQRT_FLOAT_EPSILON 3.452669830725202719e-4 |
Definition at line 177 of file opennurbs_defines.h.
#define ON_UNSET_COLOR 0xFFFFFFFF |
Definition at line 257 of file opennurbs_defines.h.
#define ON_UNSET_FLOAT -1.234321e+38f |
Definition at line 210 of file opennurbs_defines.h.
#define ON_UNSET_VALUE -1.23432101234321e+308 |
Definition at line 201 of file opennurbs_defines.h.
#define ON_ZERO_CURVATURE_TOLERANCE 1.0e-8 |
Definition at line 300 of file opennurbs_defines.h.
#define ON_ZERO_TOLERANCE 2.3283064365386962890625e-10 |
Definition at line 270 of file opennurbs_defines.h.
typedef struct tagON_2dex ON_2dex |
Definition at line 317 of file opennurbs_defines.h.
typedef struct tagON_3dex ON_3dex |
Definition at line 330 of file opennurbs_defines.h.
typedef struct tagON_4dex ON_4dex |
Definition at line 345 of file opennurbs_defines.h.
ON_DECL void ON_DBL_SNAN | ( | double * | x | ) |
Definition at line 282 of file opennurbs_object.cpp.
ON_DECL void ON_FLT_SNAN | ( | float * | x | ) |
Definition at line 351 of file opennurbs_object.cpp.
ON_DECL unsigned int ON_GetStringConversionWindowsCodePage | ( | ) |
Definition at line 2215 of file opennurbs_defines.cpp.
ON_DECL unsigned int ON_GetStringConversionWindowsLocaleID | ( | ) |
Definition at line 109 of file opennurbs_defines.cpp.
ON_DECL int on_MultiByteToWideChar | ( | const char * | , |
int | , | ||
wchar_t * | , | ||
int | |||
) |
Definition at line 761 of file opennurbs_defines.cpp.
ON_BEGIN_EXTERNC ON_DECL unsigned int ON_SetStringConversionWindowsCodePage | ( | unsigned int | code_page | ) |
Definition at line 2208 of file opennurbs_defines.cpp.
ON_DECL unsigned int ON_SetStringConversionWindowsLocaleID | ( | unsigned int | locale_id, |
ON_BOOL32 | bWin9X | ||
) |
Definition at line 101 of file opennurbs_defines.cpp.
ON_DECL void on_splitpath | ( | const char * | path, |
const char ** | drive, | ||
const char ** | dir, | ||
const char ** | fname, | ||
const char ** | ext | ||
) |
Definition at line 829 of file opennurbs_defines.cpp.
ON_DECL int on_stricmp | ( | const char * | , |
const char * | |||
) |
Definition at line 33 of file opennurbs_defines.cpp.
Definition at line 60 of file opennurbs_defines.cpp.
ON_DECL int on_strnicmp | ( | const char * | s1, |
const char * | s2, | ||
int | n | ||
) |
Definition at line 6135 of file opennurbs_archive.cpp.
Definition at line 76 of file opennurbs_defines.cpp.
Definition at line 44 of file opennurbs_defines.cpp.
ON_DECL int on_wcsicmp | ( | const wchar_t * | , |
const wchar_t * | |||
) |
Definition at line 382 of file opennurbs_defines.cpp.
Definition at line 521 of file opennurbs_defines.cpp.
Definition at line 697 of file opennurbs_defines.cpp.
Definition at line 495 of file opennurbs_defines.cpp.
ON_DECL int on_WideCharToMultiByte | ( | const wchar_t * | , |
int | , | ||
char * | , | ||
int | |||
) |
Definition at line 734 of file opennurbs_defines.cpp.
ON_DECL void on_wsplitpath | ( | const wchar_t * | path, |
const wchar_t ** | drive, | ||
const wchar_t ** | dir, | ||
const wchar_t ** | fname, | ||
const wchar_t ** | ext | ||
) |
Definition at line 934 of file opennurbs_defines.cpp.
ON_EXTERN_DECL const double ON_DBL_NINF |
Definition at line 276 of file opennurbs_object.cpp.
ON_EXTERN_DECL const double ON_DBL_PINF |
Definition at line 275 of file opennurbs_object.cpp.
ON_BEGIN_EXTERNC ON_EXTERN_DECL const double ON_DBL_QNAN |
Definition at line 274 of file opennurbs_object.cpp.
ON_EXTERN_DECL const float ON_FLT_NINF |
Definition at line 280 of file opennurbs_object.cpp.
ON_EXTERN_DECL const float ON_FLT_PINF |
Definition at line 279 of file opennurbs_object.cpp.
ON_EXTERN_DECL const float ON_FLT_QNAN |
Definition at line 278 of file opennurbs_object.cpp.