@Test public void testBearingDestinationAtLrpLineInDirection() { Line lrpLine = mapDatabase.getLine(6L); assertEquals(bearingPointCalculator.calculateBearingDestinationInDirection(lrpLine, bearingDistance, 0), lrpLine.getGeoCoordinateAlongLine(bearingDistance)); }
public GeoCoordinates calculateBearingDestinationInDirection(Line lrpLine, int bearingDistance, int projectionAlongLine) { return getBearingDestination(lrpLine, lrpLine.getLineLength() - projectionAlongLine, true, bearingDistance); }
BearingPointCalculator { public GeoCoordinates calculateBearingDestinationInDirection(Line lrpLine, int bearingDistance, int projectionAlongLine) { return getBearingDestination(lrpLine, lrpLine.getLineLength() - projectionAlongLine, true, bearingDistance); } }
BearingPointCalculator { public GeoCoordinates calculateBearingDestinationInDirection(Line lrpLine, int bearingDistance, int projectionAlongLine) { return getBearingDestination(lrpLine, lrpLine.getLineLength() - projectionAlongLine, true, bearingDistance); }  }
BearingPointCalculator { public GeoCoordinates calculateBearingDestinationInDirection(Line lrpLine, int bearingDistance, int projectionAlongLine) { return getBearingDestination(lrpLine, lrpLine.getLineLength() - projectionAlongLine, true, bearingDistance); }  GeoCoordinates calculateBearingDestinationInDirection(Line lrpLine, int bearingDistance, int projectionAlongLine); GeoCoordinates calculateBearingDestinationAgainstDirection(Line lrpLine, int bearingDistance, int projectionAlongLine); }
BearingPointCalculator { public GeoCoordinates calculateBearingDestinationInDirection(Line lrpLine, int bearingDistance, int projectionAlongLine) { return getBearingDestination(lrpLine, lrpLine.getLineLength() - projectionAlongLine, true, bearingDistance); }  GeoCoordinates calculateBearingDestinationInDirection(Line lrpLine, int bearingDistance, int projectionAlongLine); GeoCoordinates calculateBearingDestinationAgainstDirection(Line lrpLine, int bearingDistance, int projectionAlongLine);  }