MobilityDB 1.3
Loading...
Searching...
No Matches

◆ posesegm_locate()

long double posesegm_locate ( const Pose start,
const Pose end,
const Pose value 
)

Return a float in (0,1) if a network point segment intersects a network point, return -1.0 if the network point is not located in the segment or if it is approximately equal to the start or the end valuess.

Parameters
[in]start,endValues defining the segment
[in]valueValue to locate
Note
The function returns -1.0 if the network point is approximately equal to the start or the end network points since it is used in the lifting infrastructure for determining the crossings or the turning points after verifying that the bounds of the segment are not equal to the value.