IMP logo
IMP Reference Guide  develop.7482b7c7af, 2026/12/05
The Integrative Modeling Platform
IMP::GeometricPrimitiveD< D > Class Template Reference

Base class for geometric types. More...

#include <IMP/GeometricPrimitiveD.h>

Inheritance diagram for IMP::GeometricPrimitiveD< D >:

Detailed Description

template<int D>
class IMP::GeometricPrimitiveD< D >

Base class for geometric types.

Geometric primitives in IMP behave a bit differently than most values.

Most classes in IMP are initialized to a defined state (sometimes a null state) by their default constructor. For efficiency reasons, certain ones, mostly low-level geometric types, are not. They act like built in types in C++ in that they only have a defined state if set (or initialized).

In addition, they are not comparable, or hashable.

See the Geometric primitives entry for more information.

Definition at line 31 of file GeometricPrimitiveD.h.

Constructor & Destructor Documentation

◆ GeometricPrimitiveD()

template<int D>
IMP::GeometricPrimitiveD< D >::GeometricPrimitiveD ( )
protected

Definition at line 33 of file GeometricPrimitiveD.h.


The documentation for this class was generated from the following file: