File: MocCell.java

package info (click to toggle)
libcds-moc-java 6.31-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 388 kB
  • sloc: java: 4,935; makefile: 18
file content (34 lines) | stat: -rw-r--r-- 1,407 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// Copyright 2021 - Unistra/CNRS
// The MOC API project is distributed under the terms
// of the GNU General Public License version 3.
//
//This file is part of MOC API java project.
//
//    MOC API java project is free software: you can redistribute it and/or modify
//    it under the terms of the GNU General Public License as published by
//    the Free Software Foundation, version 3 of the License.
//
//    MOC API java project is distributed in the hope that it will be useful,
//    but WITHOUT ANY WARRANTY; without even the implied warranty of
//    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//    GNU General Public License for more details.
//
//    The GNU General Public License is available in COPYING file
//    along with MOC API java project.
//

package cds.moc;

/** MOC cell object
 * 
 * @author Pierre Fernique [CDS]
 * @version 2.0 apr 2021 - refactoring (Moc 2.0)
 * @version 1.0 dec 2011 - creation
 */
public class MocCell {
   public char dim;             // Char signature of the dimension ('s' for SPACE, 't' for TIME...)
   public int order;            // Order of the Moc cell;
   public long start;           // Cell value, or start index for a Range
   public long end;             // Cell value+1, or end index (excluded) for a Range
   public Moc1D moc;            // Moc1D associated to the cell (ex: for STMoc)
}