AtomSymbol { ConvexHull getConvexHull() { return hull; } AtomSymbol(TextOutline element, List<TextOutline> adjuncts); private  AtomSymbol(TextOutline element, List<TextOutline> adjuncts, List<TextOutline> annotationAdjuncts,
            SymbolAlignment alignment, ConvexHull hull);   }
@Test public void testGetConvexHull() throws Exception { TextOutline outline = new TextOutline("Cl", font); AtomSymbol symbol = new AtomSymbol(outline, Collections.<TextOutline> emptyList()); ConvexHull outlineHull = ConvexHull.ofShape(outline.getOutline()); ConvexHull symbolHull = symbol.getConvexHull(); Rectangle2D outlineBounds = outlineHull.outline().getBounds2D(); Rectangle2D symbolBounds = symbolHull.outline().getBounds2D(); assertThat(outlineBounds.getX(), closeTo(symbolBounds.getX(), 0.01)); assertThat(outlineBounds.getY(), closeTo(symbolBounds.getY(), 0.01)); assertThat(outlineBounds.getMaxX(), closeTo(symbolBounds.getMaxX(), 0.01)); assertThat(outlineBounds.getMaxY(), closeTo(symbolBounds.getMaxY(), 0.01)); }