IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 11, 2009, 6:09:52 PM (17 years ago)
Author:
eugene
Message:

modifications to support a two-pass check on the line range, limiting the initial ra,dec range to the region of the chip of interest using just the projection portion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/magic/remove/src/Line.h

    r24344 r24382  
    2121extern bool LineClip (Line *line, int numCols, int numRows);
    2222
     23/** Clip the line between (minX,minY) and (maxX,maxY)
     24
     25    @param[in,out] line line to be clipped within the bounds
     26    @param[in] minX minimum X (columns) for the line
     27    @param[in] minY minimum Y (rows) for the line
     28    @param[in] maxX maximum X (columns) for the line
     29    @param[in] maxY maximum Y (rows) for the line
     30    @return true if line overlaps the clip boundaries           */
     31
     32extern bool LineClipFull (Line *line, int minX, int minY, int maxX, int maxY);
     33
    2334/** Map a line to an image for its specified width and append as
    2435    a list of pixel positions
Note: See TracChangeset for help on using the changeset viewer.