| 335 | } |
| 336 | |
| 337 | ValuePtr Document::getGeomPropValue(const string& geomPropName, const string& geom) const |
| 338 | { |
| 339 | ValuePtr value; |
| 340 | for (GeomInfoPtr geomInfo : getGeomInfos()) |
| 341 | { |
| 342 | if (!geomStringsMatch(geom, geomInfo->getActiveGeom())) |
| 343 | { |
| 344 | continue; |
| 345 | } |
| 346 | GeomPropPtr geomProp = geomInfo->getGeomProp(geomPropName); |
| 347 | if (geomProp) |
| 348 | { |
| 349 | value = geomProp->getValue(); |
| 350 | } |
| 351 | } |
| 352 | return value; |
| 353 | } |
| 354 | |
| 355 | vector<OutputPtr> Document::getMaterialOutputs() const |
| 356 | { |
no test coverage detected