Getting Started
Binary Components and Naming Conventions
Core Teigha Components
Teigha includes the following binary components:
TD_Root - Core Teigha functionality.
TD_Ge - Geometry classes (OdGe*).
TD_Gi - Entity vectorization classes (TD_Gi*).
TD_Db - Database classes (OdDb*).
Client applications must link to each of these libraries when building all but the most trivial Teigha applications.
Memory Allocation
The TD_Alloc module contains default implementations of the odrxAlloc, odrxRealloc, and odrxFree functions, as well as new
and delete
operators .
ACIS Vectorization and Conversion Support
The following modules provide support for ACIS vectorization and conversion between various versions of ACIS data:
TD_Br - B-Rep traversal support.
TD_AcisBuilder - Conversion of SAT/SAB data (SAT <-> SAB, version changes, etc.).
TD_BrepRenderer - Vectorization support for ACIS data.
TD_ModelerGeometry - Registers TD_AcisBuilder and TD_BrepRenderer modules.
For example, when saving a 2004 DWG file as 2000 DXF, the SAB data from the 2004 drawing must be converted to a previous version of SAT.
Library Naming Conventions
Static libraries for each platform use the following naming rule:
TD_<platform/settings>_<module>.<lib extension>
Examples:
Name of the Ge library for MS VC6 using the MD runtime library: TD_VC6MD_Ge.lib.
Name of the SGI Db library for the n32 compiler setting:Â TD_sgiN32_Db.a.
For a complete list of library names for each platform and compiler, see Supported Platforms.
Determining the Library Version
The \Include\DDVersion.h file contains the version number for each release.
To get the version at run time, call OdDbHostAppServices::releaseMajorMinorString()
or related functions in the OdDbHostAppServices class
.
Â