class LocRefPoint implements LocationReferencePoint {

    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);
    }

    public  LocRefPoint(final List<Line> route, final OpenLREncoderProperties p);
    public  LocRefPoint(final Line l, final OpenLREncoderProperties p);
    public  LocRefPoint(final Line l, final double lon, final double lat,
                       final OpenLREncoderProperties p, final boolean lastLRP);
    private  LocRefPoint(final Line l, final List<Line> route, final boolean isOnLine, final double lon,
                        final double lat, final OpenLREncoderProperties p,
                        final boolean lastLRP);

}