Changeset 660 for cpp/frams/model/model.h
- Timestamp:
- 04/24/17 18:17:56 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/model/model.h
r611 r660 471 471 public: 472 472 Model *converted_model; 473 constModel *using_model;474 SolidsShapeTypeModel( constModel& m, Part::Shape use_shape = Part::SHAPE_CYLINDER, float thickness = 0.2);475 operator const Model&() const{ return *using_model; }476 const Model& getModel() const{ return *using_model; }473 Model *using_model; 474 SolidsShapeTypeModel(Model& m, Part::Shape use_shape = Part::SHAPE_CYLINDER, float thickness = 0.2); 475 operator Model&() { return *using_model; } 476 Model& getModel() { return *using_model; } 477 477 ~SolidsShapeTypeModel() { if (converted_model) delete converted_model; } 478 478 };
Note: See TracChangeset
for help on using the changeset viewer.