Changeset 8312 for trunk/psLib/src/math/psRegion.h
- Timestamp:
- Aug 14, 2006, 10:05:05 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/math/psRegion.h (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psRegion.h
r7901 r8312 11 11 typedef struct 12 12 { 13 float x0; ///< the first column of the region.14 float x1; ///< the last column of the region.15 float y0; ///< the first row of the region.16 float y1; ///< the last row of the region.13 float x0; ///< the first column of the region. 14 float x1; ///< the last column of the region. 15 float y0; ///< the first row of the region. 16 float y1; ///< the last row of the region. 17 17 } 18 18 psRegion; … … 22 22 * @return psRegion* : a new psRegion. 23 23 */ 24 psRegion *psRegionAlloc(float x0, ///< the first column of the region. 25 float x1, ///< the last column of the region + 1. 26 float y0, ///< the first row of the region. 27 float y1 ///< the last row of the region + 1. 28 ); 24 psRegion *psRegionAlloc( 25 float x0, ///< the first column of the region. 26 float x1, ///< the last column of the region + 1. 27 float y0, ///< the first row of the region. 28 float y1 ///< the last row of the region + 1. 29 ); 29 30 30 31 /** Checks the type of a particular pointer. … … 40 41 /** Create a psRegion with the specified attributes. 41 42 * 42 * @return psRegion : a cooresponding psRegion.43 * @return psRegion : a corresponding psRegion. 43 44 */ 44 45 psRegion psRegionSet( … … 54 55 * shall be of the standard IRAF form '[x0:x1,y0:y1]' 55 56 * 56 * @return psRegion: A new psRegion struct, or NULL is not successful.57 * @return psRegion: A new psRegion struct, or NULL is not successful. 57 58 */ 58 59 psRegion psRegionFromString( … … 75 76 */ 76 77 psRegion psRegionForSquare( 77 double x, ///< x coordinate at square-center78 double y, ///< y coordinate at square-center79 double radius ///< radius of square78 double x, ///< x coordinate at square-center 79 double y, ///< y coordinate at square-center 80 double radius ///< radius of square 80 81 ); 81 82
Note:
See TracChangeset
for help on using the changeset viewer.
