Skip to content
Snippets Groups Projects
Commit 0e80ac6e authored by Tobias Schmidt's avatar Tobias Schmidt
Browse files

fix angle measurement tool

parent 2904344b
Branches
Tags
No related merge requests found
......@@ -205,7 +205,7 @@ Measurement::Measurement(mol::AtomHandleList ahl, gfx::Color col, Real line_widt
name_=ahl_[0].GetQualifiedName()+" - "+ahl_[1].GetQualifiedName()+" - "
+ahl_[2].GetQualifiedName();
measurement_=57.2958*geom::Angle(ahl_[0].GetPos()-ahl_[1].GetPos(),
ahl_[1].GetPos()-ahl_[2].GetPos());
ahl_[2].GetPos()-ahl_[1].GetPos());
valid_=true;
break;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment