corrade-vassal – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 vero 1 /*
2 * CVS identifier:
3 *
4 * $Id: PrecCoordInfo.java,v 1.9 2001/09/14 09:33:22 grosbois Exp $
5 *
6 * Class: PrecCoordInfo
7 *
8 * Description: Used to store the coordinates precincts.
9 *
10 * COPYRIGHT:
11 *
12 * This software module was originally developed by Raphaël Grosbois and
13 * Diego Santa Cruz (Swiss Federal Institute of Technology-EPFL); Joel
14 * Askelöf (Ericsson Radio Systems AB); and Bertrand Berthelot, David
15 * Bouchard, Félix Henry, Gerard Mozelle and Patrice Onno (Canon Research
16 * Centre France S.A) in the course of development of the JPEG2000
17 * standard as specified by ISO/IEC 15444 (JPEG 2000 Standard). This
18 * software module is an implementation of a part of the JPEG 2000
19 * Standard. Swiss Federal Institute of Technology-EPFL, Ericsson Radio
20 * Systems AB and Canon Research Centre France S.A (collectively JJ2000
21 * Partners) agree not to assert against ISO/IEC and users of the JPEG
22 * 2000 Standard (Users) any of their rights under the copyright, not
23 * including other intellectual property rights, for this software module
24 * with respect to the usage by ISO/IEC and Users of this software module
25 * or modifications thereof for use in hardware or software products
26 * claiming conformance to the JPEG 2000 Standard. Those intending to use
27 * this software module in hardware or software products are advised that
28 * their use may infringe existing patents. The original developers of
29 * this software module, JJ2000 Partners and ISO/IEC assume no liability
30 * for use of this software module or modifications thereof. No license
31 * or right to this software module is granted for non JPEG 2000 Standard
32 * conforming products. JJ2000 Partners have full right to use this
33 * software module for his/her own purpose, assign or donate this
34 * software module to any third party and to inhibit third parties from
35 * using this software module for non JPEG 2000 Standard conforming
36 * products. This copyright notice must be included in all copies or
37 * derivative works of this software module.
38 *
39 * Copyright (c) 1999/2000 JJ2000 Partners.
40 * */
41 using System;
42 namespace CSJ2K.j2k.codestream
43 {
44  
45 /// <summary> This class is used to store the coordinates of precincts.
46 ///
47 /// </summary>
48 public class PrecCoordInfo:CoordInfo
49 {
50  
51 /// <summary>Horizontal upper left coordinate in the reference grid </summary>
52 public int xref;
53  
54 /// <summary>Vertical upper left coordinate on the reference grid </summary>
55 public int yref;
56  
57 /// <summary> Constructor. Creates a PrecCoordInfo object.
58 ///
59 /// </summary>
60 /// <param name="ulx">Horizontal upper left coordinate in the subband
61 ///
62 /// </param>
63 /// <param name="uly">Vertical upper left coordinate in the subband
64 ///
65 /// </param>
66 /// <param name="w">Precinct's width
67 ///
68 /// </param>
69 /// <param name="h">Precinct's height
70 ///
71 /// </param>
72 /// <param name="xref">The horizontal coordinate on the reference grid
73 ///
74 /// </param>
75 /// <param name="yref">The vertical coordinate on the reference grid
76 ///
77 /// </param>
78 public PrecCoordInfo(int ulx, int uly, int w, int h, int xref, int yref):base(ulx, uly, w, h)
79 {
80 this.xref = xref;
81 this.yref = yref;
82 }
83  
84 /// <summary> Empty Constructor. Creates an empty PrecCoordInfo object.
85 ///
86 /// </summary>
87 public PrecCoordInfo():base()
88 {
89 }
90  
91 /// <summary> Returns precinct's information in a String
92 ///
93 /// </summary>
94 /// <returns> String with precinct's information
95 ///
96 /// </returns>
97 public override System.String ToString()
98 {
99 return base.ToString() + ", xref=" + xref + ", yref=" + yref;
100 }
101 }
102 }