org.openlr.locationreference.PointOfInterestWithAccessPointLocationReference Maven / Gradle / Ivy
package org.openlr.locationreference;
import org.locationtech.jts.geom.Coordinate;
import org.openlr.map.Orientation;
import org.openlr.map.SideOfRoad;
/**
* A point of interest with access point location reference.
*/
public interface PointOfInterestWithAccessPointLocationReference extends PointLocationReference {
/**
* @return the first location reference point
*/
LocationReferencePoint getFirstLocationReferencePoint();
/**
* @return the last location reference point
*/
LocationReferencePoint getLastLocationReferencePoint();
/**
* @return the relative offset between the first and last location reference points where the access point is found
*/
double getRelativePositiveOffset();
/**
* @return the orientation of the access point relative to the line
*/
Orientation getOrientation();
/**
* @return the side of the road where the access point is found
*/
SideOfRoad getSideOfRoad();
/**
* @return the coordinate of the point of interest
*/
Coordinate getCoordinate();
}