IMP  2.0.0
The Integrative Modeling Platform
geometric_primitive_macros.h File Reference

Various important macros for implementing geometry. More...

+ This graph shows which files directly or indirectly include this file:

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...
 

Detailed Description

Copyright 2007-2013 IMP Inventors. All rights reserved.

Definition in file geometric_primitive_macros.h.

Macro Definition Documentation

#define IMP_AREA_GEOMETRY_METHODS (   Name,
  name,
  area,
  bounding_box 
)

These are

The name of the argument is g and the code snipets should return the expected value.

Definition at line 131 of file geometric_primitive_macros.h.

#define IMP_AREA_GEOMETRY_METHODS_D (   Name,
  name,
  area,
  bounding_box 
)

These are

The name of the argument is g and the code snipets should return the expected value.

Definition at line 156 of file geometric_primitive_macros.h.

#define IMP_LINEAR_GEOMETRY_METHODS (   Name,
  name,
  bounding_box 
)

These are

  • IMP::algebra::get_bounding_box()
  • output to a stream

The name should not include the D.

The name of the argument is g and the code snipets should return the expected value.

Definition at line 111 of file geometric_primitive_macros.h.

#define IMP_VOLUME_GEOMETRY_METHODS (   Name,
  name,
  area,
  volume,
  bounding_box 
)

These are

The name of the argument is g and the code snipets should return the expected value.

Definition at line 24 of file geometric_primitive_macros.h.

#define IMP_VOLUME_GEOMETRY_METHODS_D (   Name,
  name,
  area,
  volume,
  bounding_box 
)

These are

The name of the argument is g and the code snipets should return the expected value.

Definition at line 53 of file geometric_primitive_macros.h.