| 94 | } |
| 95 | |
| 96 | void ImportOCAF::tryPlacementFromMatrix(App::GeoFeature* part, const Base::Matrix4D& mat) |
| 97 | { |
| 98 | try { |
| 99 | Base::Placement pl; |
| 100 | pl.fromMatrix(mat); |
| 101 | part->Placement.setValue(pl); |
| 102 | } |
| 103 | catch (const Base::ValueError& e) { |
| 104 | e.reportException(); |
| 105 | } |
| 106 | } |
| 107 | |
| 108 | void ImportOCAF::loadShapes() |
| 109 | { |
nothing calls this directly
no test coverage detected