@Test
public void testHas2DCoordinates_IAtom() {

    Atom atom1 = new Atom("C");
    atom1.setPoint2d(new Point2d(1, 1));
    Assert.assertTrue(GeometryTools.has2DCoordinates(atom1));
    atom1 = new Atom("C");
    atom1.setPoint3d(new Point3d(1, 1, 1));
    Assert.assertFalse(GeometryTools.has2DCoordinates(atom1));
}