Ignore:
Timestamp:
04/24/17 18:17:56 (8 years ago)
Author:
Maciej Komosinski
Message:

Model shape conversion no longer requires const Model&

Location:
cpp/frams/model/geometry
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/model/geometry/modelgeometryinfo.cpp

    r658 r660  
    77#include <frams/model/geometry/meshbuilder.h>
    88
    9 void ModelGeometryInfo::findSizesAndAxes(const Model &input_model, const double density,
     9void ModelGeometryInfo::findSizesAndAxes(Model &input_model, const double density,
    1010        Pt3D &sizes, Orient &axes)
    1111{
     
    6666}
    6767
    68 double ModelGeometryInfo::volume(const Model &input_model, const double density)
     68double ModelGeometryInfo::volume(Model &input_model, const double density)
    6969{
    7070        SolidsShapeTypeModel model(input_model);
     
    9292}
    9393
    94 double ModelGeometryInfo::area(const Model &input_model, const double density)
     94double ModelGeometryInfo::area(Model &input_model, const double density)
    9595{
    9696        SolidsShapeTypeModel model(input_model);
  • cpp/frams/model/geometry/modelgeometryinfo.h

    r657 r660  
    2424namespace ModelGeometryInfo
    2525{
    26         double area(const Model &model, const double density);
    27         double volume(const Model &model, const double density);
    28         void findSizesAndAxes(const Model &model, const double density, Pt3D &sizes, Orient &axes);
     26        double area(Model &model, const double density);
     27        double volume(Model &model, const double density);
     28        void findSizesAndAxes(Model &model, const double density, Pt3D &sizes, Orient &axes);
    2929
    3030        void boundingBox(const Model &model, Pt3D &lowerBoundary, Pt3D &upperBoundary);
Note: See TracChangeset for help on using the changeset viewer.