- Timestamp:
- 12/06/14 02:19:02 (10 years ago)
- Location:
- cpp/frams/model/geometry
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/model/geometry/geometryutils.cpp
r237 r261 82 82 break; 83 83 } 84 FMprintf("GeometryUtils", "isPointInsidePart", FMLV_ERROR, "Part shape=%d not supported", part->shape); 84 85 return false; 85 86 } … … 101 102 break; 102 103 } 104 FMprintf("GeometryUtils", "isPointStrictlyInsidePart", FMLV_ERROR, "Part shape=%d not supported", part->shape); 103 105 return false; 104 106 } -
cpp/frams/model/geometry/modelgeometryinfo.cpp
r234 r261 97 97 double ModelGeometryInfo::externalAreaOfPart(const Model &model, const int partIndex, const double density) 98 98 { 99 switch (model.getPart(partIndex)->shape) 99 Part *part = model.getPart(partIndex); 100 switch (part->shape) 100 101 { 101 102 case Part::SHAPE_ELLIPSOID: … … 108 109 return externalAreaOfCylinder(model, partIndex, density); 109 110 } 111 FMprintf("ModelGeometryInfo", "externalAreaOfPart", FMLV_ERROR, "Part shape=%d not supported", part->shape); 110 112 return 0; 111 113 }
Note: See TracChangeset
for help on using the changeset viewer.