Changeset 658 for cpp/frams/_demos/geometry
- Timestamp:
- 04/24/17 03:14:21 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/_demos/geometry/info_test.cpp
r534 r658 30 30 Orient axes; 31 31 // Calculating approximate sizes and axes of model. These values are calculated together because 32 // they depend son each other. Sizes are distances between furthest points on model surface32 // they depend on each other. Sizes are distances between furthest points on model surface 33 33 // measured along corresponding axes. Fields sizes.x and axes.x describes the 'length' of 3D 34 34 // model. Fields sizes.y and axes.y desctibes 'width' of 2D model created by projecting original … … 37 37 // points created for each unit of length. It means, that for each square unit of surface area 38 38 // of parts of model, at least density^2 points will be created. 39 ModelGeometryInfo::findSizesAndAxes OfModel(model, density, sizes, axes);39 ModelGeometryInfo::findSizesAndAxes(model, density, sizes, axes); 40 40 41 41 42 42 // Creating output variables. 43 43 Pt3D lowerBoundary, upperBoundary; 44 // Calculati ong bounding box of model. Result is stored in variables lowerBoundary and44 // Calculating bounding box of model. Result is stored in variables lowerBoundary and 45 45 // upperBoundary. 46 46 ModelGeometryInfo::boundingBox(model, lowerBoundary, upperBoundary);
Note: See TracChangeset
for help on using the changeset viewer.