INTERSECT







Syntax




   LET @name = @name INTERSECT @name
or symbolically

   LET @name = @name * @name


Description




The intersection of two schedules is analogous to the intersection of two sets: the resulting schedule contains every point contained in both of the original schedules. Intersections are useful primarily for determining intervals during which two or more constraints are valid simultaneously.

A graphical description of the INTERSECT command is shown below.

   Input schedule :      -------  ---------   ---------       -
   Input schedule :   -----    --       ----------      --------
   Output schedule:      --    -        ---   ----            -


Examples




In the following example, a schedule containing intervals when two satellites are close together is intersected with a schedule containing intervals when the apparent angular rate between the satellites is near a minimum. The resulting schedule contains intervals when the satellites can be photographed together with acceptable smearing.

   IMPORT IO_EUROPA_CLOSE.WIN AS TOGETHER;
   IMPORT IO_EUROPA_MIN_RATE.WIN AS SLOW;
 
   LET LOW_SMEAR = TOGETHER * SLOW;
 
   EXPORT   LOW_SMEAR TO IO_EUROPA_LOW_SMEAR.WIN;


Related Topics




  1. About Schedules
  2. The Percy Help System