mt
 All Classes Files Functions Enumerations Groups Pages
mt library documentation

The mt library is a set of classes and functions that implement concepts from the domains of geometry and rigid body mechanics. Here are some examples of the functionalities provided by the library:

If the Boost library is installed (http://www.boost.org) a variant datatype is avaliable that can contain any of the geometric elements (uses boost::variant). Also, all the basic math classes as well as the geometric element classes (the only exceptions are the relation classes) have serialization functions implemented (uses boost::serialization), which can be useful for marshalling and persistence purposes. Define the project-wide macros MT_USE_BOOST and MT_USE_SERIALIZATION to make these headers available when including this file. If MT_USE_BOOST is defined, but MT_USE_SERIALIZATION is not, then the variant datatype functionality is included, but the serialization header is not.