Hermes
 All Data Structures Files Functions Variables Macros Pages
EnterLeave.sql File Reference

The file implements the enter-leave functions of the SegmentSP object. More...

Functions

void enter_leave (segmentst[] traj, boxsp box_area, pointst enterpoint, pointst leavepoint)
 The enter leave function finds the points where the object entered or left a specific region. It takes an array of segments and a box as parameters. The function returns two columns one for the enter and one for the leave point. If one of them doesn’t exist then it returns NULL to the corresponding column. More...
 

Detailed Description

The file implements the enter-leave functions of the SegmentSP object.

Author
Marios Vodas (mvoda.nosp@m.s@gm.nosp@m.ail.c.nosp@m.om).
See also
Object methods
Enter-leave points

Function Documentation

void enter_leave ( segmentst[]  traj,
boxsp  box_area,
pointst  enterpoint,
pointst  leavepoint 
)

The enter leave function finds the points where the object entered or left a specific region. It takes an array of segments and a box as parameters. The function returns two columns one for the enter and one for the leave point. If one of them doesn’t exist then it returns NULL to the corresponding column.

Parameters
[in]trajthe array of segment
[in]boxthe box
Returns
the points where the object entered or left a specific region
See also
Enter-leave points