Changeset 1045 for cpp/frams/_demos/geometry/info_test.cpp
- Timestamp:
- 12/11/20 20:23:42 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/_demos/geometry/info_test.cpp
r658 r1045 51 51 Model resultModel; 52 52 resultModel.open(); 53 Geometry TestUtils::addAnchorToModel(resultModel);53 GeometryUtils::addAnchorToModel(resultModel); 54 54 55 55 // Adding bounding markers of bounding box apices. … … 60 60 apex.y = Octants::isPositiveY(o) ? upperBoundary.y : lowerBoundary.y; 61 61 apex.z = Octants::isPositiveZ(o) ? upperBoundary.z : lowerBoundary.z; 62 Geometry TestUtils::addPointToModel(apex, resultModel);62 GeometryUtils::addPointToModel(apex, resultModel); 63 63 } 64 64 65 65 // Adding markers of axes (intersection of axes is in the center of bounding box). 66 66 Pt3D intersection = (lowerBoundary + upperBoundary) * 0.5; 67 Geometry TestUtils::addAxesToModel(sizes, axes, intersection, resultModel);67 GeometryUtils::addAxesToModel(sizes, axes, intersection, resultModel); 68 68 69 69 // Merging with original model. 70 Geometry TestUtils::mergeModels(resultModel, model);70 GeometryUtils::mergeModels(resultModel, model); 71 71 72 72 // Finishing result Model and printing its genotype.
Note: See TracChangeset
for help on using the changeset viewer.