test_class.declarator: LINE_FOR_COMPARISON_TEST = 19
test_class.modifier: private static final
test_class.original_string: private static final int LINE_FOR_COMPARISON_TEST = 19;
test_class.type: int
test_class.var_name: LINE_FOR_COMPARISON_TEST
test_class.declarator: EXPECTED_DNP = 835
test_class.modifier: private static final
test_class.original_string: private static final int EXPECTED_DNP = 835;
test_class.type: int
test_class.var_name: EXPECTED_DNP
test_class.declarator: EXPECTED_BEARING = 135.0879067689071
test_class.modifier: private static final
test_class.original_string: private static final double EXPECTED_BEARING = 135.0879067689071;
test_class.type: double
test_class.var_name: EXPECTED_BEARING
test_class.declarator: td = TestData.getInstance()
test_class.modifier: private
test_class.original_string: private TestData td = TestData.getInstance();
test_class.type: TestData
test_class.var_name: td
test_class.file: encoder/src/test/java/openlr/encoder/data/LocRefPointTest.java
test_class.identifier: LocRefPointTest
test_case.body: @Test
      public final void testLocRefPoint() {
          LocRefData lrd = new LocRefData(td.getRoute());
          lrd.setExpansion(td.getLRLocation());
          List<Line> path = ExpansionHelper.getExpandedLocation(lrd);
          LocRefPoint lrp1 = null;
          LocRefPoint lrp2 = null;
          try {
              lrp1 = new LocRefPoint(path, td.getProperties());
              lrp2 = new LocRefPoint(path, td.getProperties());
          } catch (OpenLRProcessingException e) {
              fail("", e);
          }
          lrp1.setNextLRP(lrp2);
          assertEquals(lrp1.getLfrc(), FunctionalRoadClass.FRC_5);
          assertEquals(lrp1.getBearing(),
                  EXPECTED_BEARING);
          assertEquals(lrp1.getDistanceToNext(), EXPECTED_DNP);
      }
test_case.class_method_signature: LocRefPointTest.testLocRefPoint()
test_case.full_signature: @Test public final void testLocRefPoint()
test_case.identifier: testLocRefPoint
test_case.invocations: getRoute setExpansion getLRLocation getExpandedLocation getProperties getProperties fail setNextLRP assertEquals getLfrc assertEquals getBearing assertEquals getDistanceToNext
test_case.modifiers: @Test public final
test_case.parameters: ()
test_case.return: void
test_case.signature: void testLocRefPoint()
focal_class.declarator: line
focal_class.modifier: private final
focal_class.original_string: private final Line line;
focal_class.type: Line
focal_class.var_name: line
focal_class.declarator: subroute
focal_class.modifier: private final
focal_class.original_string: private final List<Line> subroute;
focal_class.type: List<Line>
focal_class.var_name: subroute
focal_class.declarator: isPointOnLine
focal_class.modifier: private final
focal_class.original_string: private final boolean isPointOnLine;
focal_class.type: boolean
focal_class.var_name: isPointOnLine
focal_class.declarator: isLast
focal_class.modifier: private final
focal_class.original_string: private final boolean isLast;
focal_class.type: boolean
focal_class.var_name: isLast
focal_class.declarator: longitude
focal_class.modifier: private final
focal_class.original_string: private final double longitude;
focal_class.type: double
focal_class.var_name: longitude
focal_class.declarator: latitude
focal_class.modifier: private final
focal_class.original_string: private final double latitude;
focal_class.type: double
focal_class.var_name: latitude
focal_class.declarator: bearing
focal_class.modifier: private final
focal_class.original_string: private final double bearing;
focal_class.type: double
focal_class.var_name: bearing
focal_class.declarator: next
focal_class.modifier: private
focal_class.original_string: private LocRefPoint next;
focal_class.type: LocRefPoint
focal_class.var_name: next
focal_class.declarator: sequenceNumber
focal_class.modifier: private
focal_class.original_string: private int sequenceNumber;
focal_class.type: int
focal_class.var_name: sequenceNumber
focal_class.file: encoder/src/main/java/openlr/encoder/data/LocRefPoint.java
focal_class.identifier: LocRefPoint
focal_class.interfaces: implements LocationReferencePoint
focal_class.class_method_signature: LocRefPoint.LocRefPoint(final List<Line> route, final OpenLREncoderProperties p)
focal_class.full_signature: public  LocRefPoint(final List<Line> route, final OpenLREncoderProperties p)
focal_class.identifier: LocRefPoint
focal_class.modifiers: public
focal_class.parameters: (final List<Line> route, final OpenLREncoderProperties p)
focal_class.signature:  LocRefPoint(final List<Line> route, final OpenLREncoderProperties p)
focal_class.class_method_signature: LocRefPoint.LocRefPoint(final Line l, final OpenLREncoderProperties p)
focal_class.full_signature: public  LocRefPoint(final Line l, final OpenLREncoderProperties p)
focal_class.identifier: LocRefPoint
focal_class.modifiers: public
focal_class.parameters: (final Line l, final OpenLREncoderProperties p)
focal_class.signature:  LocRefPoint(final Line l, final OpenLREncoderProperties p)
focal_class.class_method_signature: LocRefPoint.LocRefPoint(final Line l, final double lon, final double lat,
                         final OpenLREncoderProperties p, final boolean lastLRP)
focal_class.full_signature: public  LocRefPoint(final Line l, final double lon, final double lat,
                         final OpenLREncoderProperties p, final boolean lastLRP)
focal_class.identifier: LocRefPoint
focal_class.modifiers: public
focal_class.parameters: (final Line l, final double lon, final double lat,
                         final OpenLREncoderProperties p, final boolean lastLRP)
focal_class.signature:  LocRefPoint(final Line l, final double lon, final double lat,
                         final OpenLREncoderProperties p, final boolean lastLRP)
focal_class.class_method_signature: LocRefPoint.LocRefPoint(final Line l, final List<Line> route, final boolean isOnLine, final double lon,
                          final double lat, final OpenLREncoderProperties p,
                          final boolean lastLRP)
focal_class.full_signature: private  LocRefPoint(final Line l, final List<Line> route, final boolean isOnLine, final double lon,
                          final double lat, final OpenLREncoderProperties p,
                          final boolean lastLRP)
focal_class.identifier: LocRefPoint
focal_class.modifiers: private
focal_class.parameters: (final Line l, final List<Line> route, final boolean isOnLine, final double lon,
                          final double lat, final OpenLREncoderProperties p,
                          final boolean lastLRP)
focal_class.signature:  LocRefPoint(final Line l, final List<Line> route, final boolean isOnLine, final double lon,
                          final double lat, final OpenLREncoderProperties p,
                          final boolean lastLRP)
focal_class.class_method_signature: LocRefPoint.setNextLRP(final LocRefPoint n)
focal_class.full_signature: public final void setNextLRP(final LocRefPoint n)
focal_class.identifier: setNextLRP
focal_class.modifiers: public final
focal_class.parameters: (final LocRefPoint n)
focal_class.return: void
focal_class.signature: void setNextLRP(final LocRefPoint n)
focal_class.class_method_signature: LocRefPoint.getLongitudeDeg()
focal_class.full_signature: @Override public final double getLongitudeDeg()
focal_class.identifier: getLongitudeDeg
focal_class.modifiers: @Override public final
focal_class.parameters: ()
focal_class.return: double
focal_class.signature: double getLongitudeDeg()
focal_class.class_method_signature: LocRefPoint.getLatitudeDeg()
focal_class.full_signature: @Override public final double getLatitudeDeg()
focal_class.identifier: getLatitudeDeg
focal_class.modifiers: @Override public final
focal_class.parameters: ()
focal_class.return: double
focal_class.signature: double getLatitudeDeg()
focal_class.class_method_signature: LocRefPoint.getLRPNode()
focal_class.full_signature: public final Node getLRPNode()
focal_class.identifier: getLRPNode
focal_class.modifiers: public final
focal_class.parameters: ()
focal_class.return: Node
focal_class.signature: Node getLRPNode()
focal_class.class_method_signature: LocRefPoint.getDistanceToNext()
focal_class.full_signature: @Override public final int getDistanceToNext()
focal_class.identifier: getDistanceToNext
focal_class.modifiers: @Override public final
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getDistanceToNext()
focal_class.class_method_signature: LocRefPoint.getRoute()
focal_class.full_signature: public final List<Line> getRoute()
focal_class.identifier: getRoute
focal_class.modifiers: public final
focal_class.parameters: ()
focal_class.return: List<Line>
focal_class.signature: List<Line> getRoute()
focal_class.class_method_signature: LocRefPoint.getLfrc()
focal_class.full_signature: @Override public final FunctionalRoadClass getLfrc()
focal_class.identifier: getLfrc
focal_class.modifiers: @Override public final
focal_class.parameters: ()
focal_class.return: FunctionalRoadClass
focal_class.signature: FunctionalRoadClass getLfrc()
focal_class.class_method_signature: LocRefPoint.calculateBearing(final OpenLREncoderProperties properties)
focal_class.full_signature: private double calculateBearing(final OpenLREncoderProperties properties)
focal_class.identifier: calculateBearing
focal_class.modifiers: private
focal_class.parameters: (final OpenLREncoderProperties properties)
focal_class.return: double
focal_class.signature: double calculateBearing(final OpenLREncoderProperties properties)
focal_class.class_method_signature: LocRefPoint.getFOW()
focal_class.full_signature: @Override public final FormOfWay getFOW()
focal_class.identifier: getFOW
focal_class.modifiers: @Override public final
focal_class.parameters: ()
focal_class.return: FormOfWay
focal_class.signature: FormOfWay getFOW()
focal_class.class_method_signature: LocRefPoint.getFRC()
focal_class.full_signature: @Override public final FunctionalRoadClass getFRC()
focal_class.identifier: getFRC
focal_class.modifiers: @Override public final
focal_class.parameters: ()
focal_class.return: FunctionalRoadClass
focal_class.signature: FunctionalRoadClass getFRC()
focal_class.class_method_signature: LocRefPoint.isLRPOnLine()
focal_class.full_signature: public final boolean isLRPOnLine()
focal_class.identifier: isLRPOnLine
focal_class.modifiers: public final
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isLRPOnLine()
focal_class.class_method_signature: LocRefPoint.isLastLRP()
focal_class.full_signature: @Override public final boolean isLastLRP()
focal_class.identifier: isLastLRP
focal_class.modifiers: @Override public final
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isLastLRP()
focal_class.class_method_signature: LocRefPoint.getBearing()
focal_class.full_signature: @Override public final double getBearing()
focal_class.identifier: getBearing
focal_class.modifiers: @Override public final
focal_class.parameters: ()
focal_class.return: double
focal_class.signature: double getBearing()
focal_class.class_method_signature: LocRefPoint.toString()
focal_class.full_signature: @Override public final String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public final
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: LocRefPoint.hashCode()
focal_class.full_signature: @Override public final int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public final
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: LocRefPoint.equals(final Object obj)
focal_class.full_signature: @Override public final boolean equals(final Object obj)
focal_class.identifier: equals
focal_class.modifiers: @Override public final
focal_class.parameters: (final Object obj)
focal_class.return: boolean
focal_class.signature: boolean equals(final Object obj)
focal_class.class_method_signature: LocRefPoint.getSequenceNumber()
focal_class.full_signature: @Override public final int getSequenceNumber()
focal_class.identifier: getSequenceNumber
focal_class.modifiers: @Override public final
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getSequenceNumber()
focal_class.class_method_signature: LocRefPoint.setSequenceNumber(final int seqNr)
focal_class.full_signature: public final void setSequenceNumber(final int seqNr)
focal_class.identifier: setSequenceNumber
focal_class.modifiers: public final
focal_class.parameters: (final int seqNr)
focal_class.return: void
focal_class.signature: void setSequenceNumber(final int seqNr)
focal_class.class_method_signature: LocRefPoint.getLine()
focal_class.full_signature: public final Line getLine()
focal_class.identifier: getLine
focal_class.modifiers: public final
focal_class.parameters: ()
focal_class.return: Line
focal_class.signature: Line getLine()
focal_class.class_method_signature: LocRefPoint.getLastLineOfSubRoute()
focal_class.full_signature: public final Line getLastLineOfSubRoute()
focal_class.identifier: getLastLineOfSubRoute
focal_class.modifiers: public final
focal_class.parameters: ()
focal_class.return: Line
focal_class.signature: Line getLastLineOfSubRoute()
focal_method.body: public LocRefPoint(final List<Line> route, final OpenLREncoderProperties p)
              throws OpenLRProcessingException {
          this(route.get(0), route, false, route.get(0).getStartNode()
                  .getLongitudeDeg(), route.get(0).getStartNode()
                  .getLatitudeDeg(), p, false);
      }
focal_method.class_method_signature: LocRefPoint.LocRefPoint(final List<Line> route, final OpenLREncoderProperties p)
focal_method.full_signature: public  LocRefPoint(final List<Line> route, final OpenLREncoderProperties p)
focal_method.identifier: LocRefPoint
focal_method.modifiers: public
focal_method.parameters: (final List<Line> route, final OpenLREncoderProperties p)
focal_method.signature:  LocRefPoint(final List<Line> route, final OpenLREncoderProperties p)