Static Functions and Initialization

Methods

bool iv3dInit(const char*licenseKey);

Function initializes 3d boolean library.

licenseKey A null-terminated string of license key. This parameter may be NULL in trial version of library.
Return Value If the license key was accepted and function succeeds, the return value is true. If license key is wrong or false is returned. In both cases library is fully functional.

Retrieving the address of this function

IV3DINIT iv3dInit=NULL;
iv3dInit=(IV3DINIT)GetProcAddress(hi,"iv3dInit");

void iv3dDone();

Function destroys 3d boolean library.

Return Value Function does not return anything.

The function should be called, only once, after destroying all boolean objects, when you no longer need 3d boolean functionality. Usually, this function is called at the application shutdown stage.

Retrieving the address of this function

IV3DDONE iv3dDone=NULL;
iv3dDone=(IV3DDONE)GetProcAddress(hi,"iv3dDone");

ivbool3d::Processor* ivCreateBoolean();

Function creates 3d boolean processor object. This function may be called from any thread.

Return Value If the function succeeds, the return value is pointer to ivbool3d::Processor* object.
If the function fails, the return value is NULL.

Retrieving the address of this function

IVBOOLCREATEPROC iv3dCreate = NULL;
iv3dCreate=(IVBOOLCREATEPROC )GetProcAddress(hi,"ivCreateBoolean");

In all samples hi is module handle. Handle may be retrieved with LoadLibrary or LoadLibraryEx function.

In this article