Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdGeContext Structure
Syntax
C++
struct OdGeContext { GE_STATIC_EXPORT OdGeTol gTol; GE_STATIC_EXPORT OdGeTol gZeroTol; GE_STATIC_EXPORT void (* gErrorFunc)(OdResult); GE_STATIC_EXPORT void (* gOrthoVector)(const OdGeVector3d& vect, OdGeVector3d& orthoVector); GE_STATIC_EXPORT void* (* gAllocMem)(unsigned long size); GE_STATIC_EXPORT void (* gFreeMem)(void* memBlock); };
Members
Description
gTol
Provides the global default OdGeTol tolerance object.
gZeroTol
Provides the global 0.0 default OdGeTol tolerance object.
gErrorFunc
A function pointer to a user-defined error handler.
gOrthoVector
A function pointer to a user-defined function that returns orthoVector orthogonal to vect.
gAllocMem
A function pointer to a user-defined memory allocation function for all new operations in the OdGe library.
gFreeMem
A function pointer to a user-defined memory allocation function for all delete operations in the OdGe library.

This structure provides a namespace for tolerance values and functions ubiquitous to the OdGe library.

File: GeGbl.h 

Module: API Reference 

TD_Ge 

 

Copyright © 2002-2022. Open Design Alliance All rights reserved.