test_class.file: app/src/test/java/org/hwyl/sexytopo/control/io/thirdparty/xvi/XviExporterTest.java
test_class.identifier: XviExporterTest
test_case.body: @Test
      public void testLineIsPassedThroughToXvi() {
          Survey testSurvey = BasicTestSurveyCreator.createStraightNorth();
          BasicTestSketchCreator.drawOneHorizontalLine(testSurvey.getPlanSketch());
  
          String xvi = XviExporter.getContent(
                  testSurvey.getPlanSketch(),
                  Projection2D.PLAN.project(testSurvey),
                  1.0);
  
          Assert.assertTrue(xvi.contains("{BLACK 5.00 0.00 10.00 0.00}"));
      }
test_case.class_method_signature: XviExporterTest.testLineIsPassedThroughToXvi()
test_case.full_signature: @Test public void testLineIsPassedThroughToXvi()
test_case.identifier: testLineIsPassedThroughToXvi
test_case.invocations: createStraightNorth drawOneHorizontalLine getPlanSketch getContent getPlanSketch project assertTrue contains
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testLineIsPassedThroughToXvi()
focal_class.file: app/src/main/java/org/hwyl/sexytopo/control/io/thirdparty/xvi/XviExporter.java
focal_class.identifier: XviExporter
focal_class.class_method_signature: XviExporter.getContent(Sketch sketch, Space<Coord2D> space, double scale)
focal_class.full_signature: public static String getContent(Sketch sketch, Space<Coord2D> space, double scale)
focal_class.identifier: getContent
focal_class.modifiers: public static
focal_class.parameters: (Sketch sketch, Space<Coord2D> space, double scale)
focal_class.return: String
focal_class.signature: String getContent(Sketch sketch, Space<Coord2D> space, double scale)
focal_class.class_method_signature: XviExporter.getStationsText(Space<Coord2D> space, double scale)
focal_class.full_signature: private static String getStationsText(Space<Coord2D> space, double scale)
focal_class.identifier: getStationsText
focal_class.modifiers: private static
focal_class.parameters: (Space<Coord2D> space, double scale)
focal_class.return: String
focal_class.signature: String getStationsText(Space<Coord2D> space, double scale)
focal_class.class_method_signature: XviExporter.getStationText(Station station, Coord2D coords, double scale)
focal_class.full_signature: private static String getStationText(Station station, Coord2D coords, double scale)
focal_class.identifier: getStationText
focal_class.modifiers: private static
focal_class.parameters: (Station station, Coord2D coords, double scale)
focal_class.return: String
focal_class.signature: String getStationText(Station station, Coord2D coords, double scale)
focal_class.class_method_signature: XviExporter.getLegsText(Space<Coord2D> space, double scale)
focal_class.full_signature: private static String getLegsText(Space<Coord2D> space, double scale)
focal_class.identifier: getLegsText
focal_class.modifiers: private static
focal_class.parameters: (Space<Coord2D> space, double scale)
focal_class.return: String
focal_class.signature: String getLegsText(Space<Coord2D> space, double scale)
focal_class.class_method_signature: XviExporter.getLegText(Line<Coord2D> line, double scale)
focal_class.full_signature: private static String getLegText(Line<Coord2D> line, double scale)
focal_class.identifier: getLegText
focal_class.modifiers: private static
focal_class.parameters: (Line<Coord2D> line, double scale)
focal_class.return: String
focal_class.signature: String getLegText(Line<Coord2D> line, double scale)
focal_class.class_method_signature: XviExporter.getSketchLinesText(Sketch sketch, double scale)
focal_class.full_signature: private static String getSketchLinesText(Sketch sketch, double scale)
focal_class.identifier: getSketchLinesText
focal_class.modifiers: private static
focal_class.parameters: (Sketch sketch, double scale)
focal_class.return: String
focal_class.signature: String getSketchLinesText(Sketch sketch, double scale)
focal_class.class_method_signature: XviExporter.getSketchLineText(PathDetail pathDetail, double scale)
focal_class.full_signature: private static String getSketchLineText(PathDetail pathDetail, double scale)
focal_class.identifier: getSketchLineText
focal_class.modifiers: private static
focal_class.parameters: (PathDetail pathDetail, double scale)
focal_class.return: String
focal_class.signature: String getSketchLineText(PathDetail pathDetail, double scale)
focal_class.class_method_signature: XviExporter.getGridText(Space<Coord2D> space, double scale)
focal_class.full_signature: private static String getGridText(Space<Coord2D> space, double scale)
focal_class.identifier: getGridText
focal_class.modifiers: private static
focal_class.parameters: (Space<Coord2D> space, double scale)
focal_class.return: String
focal_class.signature: String getGridText(Space<Coord2D> space, double scale)
focal_class.class_method_signature: XviExporter.field(String text, String content)
focal_class.full_signature: private static String field(String text, String content)
focal_class.identifier: field
focal_class.modifiers: private static
focal_class.parameters: (String text, String content)
focal_class.return: String
focal_class.signature: String field(String text, String content)
focal_class.class_method_signature: XviExporter.multilineField(String text, String content)
focal_class.full_signature: private static String multilineField(String text, String content)
focal_class.identifier: multilineField
focal_class.modifiers: private static
focal_class.parameters: (String text, String content)
focal_class.return: String
focal_class.signature: String multilineField(String text, String content)
focal_method.body: public static String getContent(Sketch sketch, Space<Coord2D> space, double scale) {
  
          String text = field(GRIDS_COMMAND, "1 m");
          text += multilineField(STATIONS_COMMAND, getStationsText(space, scale));
          text += multilineField(SHOT_COMMAND, getLegsText(space, scale));
          text += multilineField(SKETCHLINE_COMMAND, getSketchLinesText(sketch, scale));
          text += field(GRID_COMMAND, getGridText(space, scale));
          return text;
      }
focal_method.class_method_signature: XviExporter.getContent(Sketch sketch, Space<Coord2D> space, double scale)
focal_method.full_signature: public static String getContent(Sketch sketch, Space<Coord2D> space, double scale)
focal_method.identifier: getContent
focal_method.invocations: field multilineField getStationsText multilineField getLegsText multilineField getSketchLinesText field getGridText
focal_method.modifiers: public static
focal_method.parameters: (Sketch sketch, Space<Coord2D> space, double scale)
focal_method.return: String
focal_method.signature: String getContent(Sketch sketch, Space<Coord2D> space, double scale)