test_class.declarator: mapDatabase = OpenLRMapDatabaseAdaptor.from(OpenLRMapDatabaseAdaptor.class.getClassLoader().getResourceAsStream("teststubs/TestMapStub.xml"))
test_class.modifier: private static
test_class.original_string: private static MapDatabase mapDatabase = OpenLRMapDatabaseAdaptor.from(OpenLRMapDatabaseAdaptor.class.getClassLoader().getResourceAsStream("teststubs/TestMapStub.xml"));
test_class.type: MapDatabase
test_class.var_name: mapDatabase
test_class.declarator: bearingDistance = 25
test_class.modifier: private static
test_class.original_string: private static int bearingDistance = 25;
test_class.type: int
test_class.var_name: bearingDistance
test_class.declarator: multiWalkMapDatabase = OpenLRMapDatabaseAdaptor.from(OpenLRMapDatabaseAdaptor.class.getClassLoader().getResourceAsStream("teststubs/BearingRouteMapStub.xml"))
test_class.modifier: private static
test_class.original_string: private static MapDatabase multiWalkMapDatabase = OpenLRMapDatabaseAdaptor.from(OpenLRMapDatabaseAdaptor.class.getClassLoader().getResourceAsStream("teststubs/BearingRouteMapStub.xml"));
test_class.type: MapDatabase
test_class.var_name: multiWalkMapDatabase
test_class.declarator: bearingPointCalculator = new BearingPointCalculator()
test_class.modifier: private static final
test_class.original_string: private static final BearingPointCalculator bearingPointCalculator = new BearingPointCalculator();
test_class.type: BearingPointCalculator
test_class.var_name: bearingPointCalculator
test_class.file: map/src/test/java/openlr/map/utils/BearingPointCalculatorTest.java
test_class.identifier: BearingPointCalculatorTest
test_case.body: @Test
      public void testBearingDestinationAtLrpLineAgainstDirection() {
          Line lrpLine = mapDatabase.getLine(6L); //34
          assertEquals(bearingPointCalculator.calculateBearingDestinationAgainstDirection(lrpLine, bearingDistance, lrpLine.getLineLength()), lrpLine.getGeoCoordinateAlongLine(lrpLine.getLineLength() - bearingDistance));
      }
test_case.class_method_signature: BearingPointCalculatorTest.testBearingDestinationAtLrpLineAgainstDirection()
test_case.full_signature: @Test public void testBearingDestinationAtLrpLineAgainstDirection()
test_case.identifier: testBearingDestinationAtLrpLineAgainstDirection
test_case.invocations: getLine assertEquals calculateBearingDestinationAgainstDirection getLineLength getGeoCoordinateAlongLine getLineLength
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testBearingDestinationAtLrpLineAgainstDirection()
focal_class.file: map/src/main/java/openlr/map/utils/BearingPointCalculator.java
focal_class.identifier: BearingPointCalculator
focal_class.class_method_signature: BearingPointCalculator.calculateNextLinesInRoute(Line line, boolean inLocationDirection)
focal_class.full_signature: private List<Line> calculateNextLinesInRoute(Line line, boolean inLocationDirection)
focal_class.identifier: calculateNextLinesInRoute
focal_class.modifiers: private
focal_class.parameters: (Line line, boolean inLocationDirection)
focal_class.return: List<Line>
focal_class.signature: List<Line> calculateNextLinesInRoute(Line line, boolean inLocationDirection)
focal_class.class_method_signature: BearingPointCalculator.calculateBearingDestinationOnLine(Line line, int offset, boolean inLocationDirection)
focal_class.full_signature: private GeoCoordinates calculateBearingDestinationOnLine(Line line, int offset, boolean inLocationDirection)
focal_class.identifier: calculateBearingDestinationOnLine
focal_class.modifiers: private
focal_class.parameters: (Line line, int offset, boolean inLocationDirection)
focal_class.return: GeoCoordinates
focal_class.signature: GeoCoordinates calculateBearingDestinationOnLine(Line line, int offset, boolean inLocationDirection)
focal_class.class_method_signature: BearingPointCalculator.getBearingDestination(Line lrpLine, int lengthCoveredOnLrpLine, boolean inLocationDirection, int bearingDistance)
focal_class.full_signature: private GeoCoordinates getBearingDestination(Line lrpLine, int lengthCoveredOnLrpLine, boolean inLocationDirection, int bearingDistance)
focal_class.identifier: getBearingDestination
focal_class.modifiers: private
focal_class.parameters: (Line lrpLine, int lengthCoveredOnLrpLine, boolean inLocationDirection, int bearingDistance)
focal_class.return: GeoCoordinates
focal_class.signature: GeoCoordinates getBearingDestination(Line lrpLine, int lengthCoveredOnLrpLine, boolean inLocationDirection, int bearingDistance)
focal_class.class_method_signature: BearingPointCalculator.calculateBearingDestinationInDirection(Line lrpLine, int bearingDistance, int projectionAlongLine)
focal_class.full_signature: public GeoCoordinates calculateBearingDestinationInDirection(Line lrpLine, int bearingDistance, int projectionAlongLine)
focal_class.identifier: calculateBearingDestinationInDirection
focal_class.modifiers: public
focal_class.parameters: (Line lrpLine, int bearingDistance, int projectionAlongLine)
focal_class.return: GeoCoordinates
focal_class.signature: GeoCoordinates calculateBearingDestinationInDirection(Line lrpLine, int bearingDistance, int projectionAlongLine)
focal_class.class_method_signature: BearingPointCalculator.calculateBearingDestinationAgainstDirection(Line lrpLine, int bearingDistance, int projectionAlongLine)
focal_class.full_signature: public GeoCoordinates calculateBearingDestinationAgainstDirection(Line lrpLine, int bearingDistance, int projectionAlongLine)
focal_class.identifier: calculateBearingDestinationAgainstDirection
focal_class.modifiers: public
focal_class.parameters: (Line lrpLine, int bearingDistance, int projectionAlongLine)
focal_class.return: GeoCoordinates
focal_class.signature: GeoCoordinates calculateBearingDestinationAgainstDirection(Line lrpLine, int bearingDistance, int projectionAlongLine)
focal_method.body: public GeoCoordinates calculateBearingDestinationAgainstDirection(Line lrpLine, int bearingDistance, int projectionAlongLine) {
          return getBearingDestination(lrpLine, projectionAlongLine, false, bearingDistance);
      }
focal_method.class_method_signature: BearingPointCalculator.calculateBearingDestinationAgainstDirection(Line lrpLine, int bearingDistance, int projectionAlongLine)
focal_method.full_signature: public GeoCoordinates calculateBearingDestinationAgainstDirection(Line lrpLine, int bearingDistance, int projectionAlongLine)
focal_method.identifier: calculateBearingDestinationAgainstDirection
focal_method.invocations: getBearingDestination
focal_method.modifiers: public
focal_method.parameters: (Line lrpLine, int bearingDistance, int projectionAlongLine)
focal_method.return: GeoCoordinates
focal_method.signature: GeoCoordinates calculateBearingDestinationAgainstDirection(Line lrpLine, int bearingDistance, int projectionAlongLine)