@Test public void testRepeatedLabelAlongLineSmall() throws Exception { checkRepeatedLabels("repeatedLabelsAlongLineSmall"); }
@Test public void testLabelSquareBordersWithHoles() throws Exception { checkRepeatedLabelsPolygonBorder( squareHoles, "repeatedLabelsAlongLine", "polyHole", null, 2100); }
@Test public void testLabelSquareBorders() throws Exception { checkRepeatedLabelsPolygonBorder(square, "repeatedLabelsAlongLine", "poly", null, 1600); }
@Test public void testRepeatedLabelAlongLine() throws Exception { checkRepeatedLabels("repeatedLabelsAlongLine"); }
@Test public void testLabelSquareBordersNegativeOffset() throws Exception { PerpendicularOffsetVisitor visitor = new PerpendicularOffsetVisitor(-10); checkRepeatedLabelsPolygonBorder( square, "repeatedLabelsAlongLine", "poly-perp-negative-offset", visitor, 1500); }
@Test public void testRepeatedLabel() throws Exception { checkRepeatedLabels("repeatedLabelsLine"); }
@Test public void testLabelSquareBordersHoleNegativeOffset() throws Exception { PerpendicularOffsetVisitor visitor = new PerpendicularOffsetVisitor(-5); checkRepeatedLabelsPolygonBorder( squareHoles, "repeatedLabelsAlongLine", "poly-hole-perp-negative-offset", visitor, 2200); }
@Test public void testLabelSquareBordersPositiveOffset() throws Exception { PerpendicularOffsetVisitor visitor = new PerpendicularOffsetVisitor(10); checkRepeatedLabelsPolygonBorder( square, "repeatedLabelsAlongLine", "poly-perp-offset", visitor, 1700); }
@Test public void testLabelSquareBordersHolesPositiveOffset() throws Exception { PerpendicularOffsetVisitor visitor = new PerpendicularOffsetVisitor(5); checkRepeatedLabelsPolygonBorder( squareHoles, "repeatedLabelsAlongLine", "poly-hole-perp-offset", visitor, 2100); }