| 656 | } |
| 657 | |
| 658 | RealVector2D DescriptionEditService::getPos(CellOrParticleDescription const& entity) |
| 659 | { |
| 660 | if (std::holds_alternative<CellDescription>(entity)) { |
| 661 | return std::get<CellDescription>(entity).pos; |
| 662 | } |
| 663 | return std::get<ParticleDescription>(entity).pos; |
| 664 | } |
| 665 | |
| 666 | std::vector<CellOrParticleDescription> DescriptionEditService::getObjects( |
| 667 | DataDescription const& data) |
no outgoing calls