IMP Reference Guide
develop.63b38c487d,2024/12/21
The Integrative Modeling Platform
|
Various important macros for implementing geometry. More...
Go to the source code of this file.
Macros | |
#define | IMP_AREA_GEOMETRY_METHODS(Name, name, area, bounding_box) |
Implement the needed namespace methods for a geometry type. More... | |
#define | IMP_AREA_GEOMETRY_METHODS_D(Name, name, area, bounding_box) |
Implement the needed namespace methods for a geometry type. More... | |
#define | IMP_LINEAR_GEOMETRY_METHODS(Name, name, bounding_box) |
Implement the needed namespace methods for a geometry type. More... | |
#define | IMP_VOLUME_GEOMETRY_METHODS(Name, name, area, volume, bounding_box) |
Implement the needed namespace methods for a geometry type. More... | |
#define | IMP_VOLUME_GEOMETRY_METHODS_D(Name, name, area, volume, bounding_box) |
Implement the needed namespace methods for a geometry type. More... | |
Various important macros for implementing geometry.
Copyright 2007-2022 IMP Inventors. All rights reserved.
Definition in file geometric_primitive_macros.h.
#define IMP_AREA_GEOMETRY_METHODS | ( | Name, | |
name, | |||
area, | |||
bounding_box | |||
) |
Implement the needed namespace methods for a geometry type.
These are
The name of the argument is g and the code snippets should return the expected value.
Definition at line 113 of file geometric_primitive_macros.h.
#define IMP_AREA_GEOMETRY_METHODS_D | ( | Name, | |
name, | |||
area, | |||
bounding_box | |||
) |
Implement the needed namespace methods for a geometry type.
These are
The name of the argument is g and the code snippets should return the expected value.
Definition at line 134 of file geometric_primitive_macros.h.
#define IMP_LINEAR_GEOMETRY_METHODS | ( | Name, | |
name, | |||
bounding_box | |||
) |
Implement the needed namespace methods for a geometry type.
These are
The name should not include the D.
The name of the argument is g and the code snippets should return the expected value.
Definition at line 95 of file geometric_primitive_macros.h.
#define IMP_VOLUME_GEOMETRY_METHODS | ( | Name, | |
name, | |||
area, | |||
volume, | |||
bounding_box | |||
) |
Implement the needed namespace methods for a geometry type.
These are
The name of the argument is g and the code snippets should return the expected value.
Definition at line 22 of file geometric_primitive_macros.h.
#define IMP_VOLUME_GEOMETRY_METHODS_D | ( | Name, | |
name, | |||
area, | |||
volume, | |||
bounding_box | |||
) |
Implement the needed namespace methods for a geometry type.
These are
The name of the argument is g and the code snippets should return the expected value.
Definition at line 46 of file geometric_primitive_macros.h.