- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/SelectionAction/Atoms/NotAllAtomsInsideSphereAction.cpp
rbe21fa rf10b0c 44 44 /** =========== define the function ====================== */ 45 45 Action::state_ptr SelectionNotAllAtomsInsideSphereAction::performCall() { 46 LOG(1, "Unselecting all atoms inside a sphere at " << params.position << " with radius " << params.radius<< ".");47 Shape s = translate(resize(Sphere(),params.radius ),params.position);46 LOG(1, "Unselecting all atoms inside a sphere at " << params.position.get() << " with radius " << params.radius.get() << "."); 47 Shape s = translate(resize(Sphere(),params.radius.get()),params.position.get()); 48 48 std::vector<atom *> unselectedAtoms = World::getInstance().getAllAtoms((!AtomsBySelection()) && AtomsByShape(s)); 49 49 World::getInstance().unselectAllAtoms(AtomsByShape(s));
Note:
See TracChangeset
for help on using the changeset viewer.