15 #ifndef __IPSDKGEOMETRY_GEOMETRYMEASURE2DHDRMACROS_H__ 16 #define __IPSDKGEOMETRY_GEOMETRYMEASURE2DHDRMACROS_H__ 19 #include <boost/preprocessor/seq/for_each.hpp> 26 #define IPSDK_DECLARE_GEOMETRY_MEASURE_2D(libraryName, className) \ 27 IPSDK_DECLARE_SERIAL_WITH_COPY(libraryName, className) \ 28 IPSDK_ENUMERATE_FRIEND_GEOMETRY_ENTITY_2D_TYPES() \ 30 static DataType measure(const BaseGeometryEntity2d& entity); \ 31 bool measure(const BaseGeometryEntity2d& entity, DataType& result) const; \ 33 bool process(const BaseGeometryEntity2d& entity, DataType& result) const \ 41 #endif // __IPSDKGEOMETRY_GEOMETRYMEASURE2DHDRMACROS_H__ Predefined macros for geometry entity 2d management.