IMP logo
Macros
algebra_macros.h File Reference

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
#define IMP_AREA_GEOMETRY_METHODS_D(Name, name, area, bounding_box)
 implement the needed namespace methods for a geometry type
#define IMP_LINEAR_GEOMETRY_METHODS(Name, name, bounding_box)
 implement the needed namespace methods for a geometry type
#define IMP_VOLUME_GEOMETRY_METHODS(Name, name, area, volume, bounding_box)
 implement the needed namespace methods for a geometry type
#define IMP_VOLUME_GEOMETRY_METHODS_D(Name, name, area, volume, bounding_box)
 implement the needed namespace methods for a geometry type

Detailed Description

Various important macros for implementing geometry.

Copyright 2007-2012 IMP Inventors. All rights reserved.


Macro Definition Documentation

#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 snipets should return the expected value.

#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 snipets should return the expected value.

#define IMP_LINEAR_GEOMETRY_METHODS (   Name,
  name,
  bounding_box 
)

implement the needed namespace methods for a geometry type

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.

#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 snipets should return the expected value.

#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 snipets should return the expected value.


Generated on Tue May 22 2012 23:33:17 for IMP by doxygen 1.8.1