Commit a98595a3546fddcae5a81751e585655d620c1865
1 parent
c1eb53fc
added spatial composite class code
Showing
2 changed files
with
3 additions
and
2 deletions
include/GModelSpatialComposite.hpp
| ... | ... | @@ -134,7 +134,7 @@ std::string GModelSpatialComposite::type(void) const |
| 134 | 134 | inline |
| 135 | 135 | GClassCode GModelSpatialComposite::code(void) const |
| 136 | 136 | { |
| 137 | - return GMODEL_SPATIAL_POINT_SOURCE; | |
| 137 | + return GMODEL_SPATIAL_COMPOSITE; | |
| 138 | 138 | } |
| 139 | 139 | |
| 140 | 140 | /***********************************************************************//** | ... | ... |
include/GTypemaps.hpp
| ... | ... | @@ -43,7 +43,8 @@ typedef enum { |
| 43 | 43 | GMODEL_SPATIAL_POINT_SOURCE, |
| 44 | 44 | GMODEL_SPATIAL_RADIAL, |
| 45 | 45 | GMODEL_SPATIAL_ELLIPTICAL, |
| 46 | - GMODEL_SPATIAL_DIFFUSE | |
| 46 | + GMODEL_SPATIAL_DIFFUSE, | |
| 47 | + GMODEL_SPATIAL_COMPOSITE | |
| 47 | 48 | } GClassCode; |
| 48 | 49 | |
| 49 | 50 | /* __ Typemaps ___________________________________________________________ */ | ... | ... |