OpendTect-6_4  6.4
rowcolsurface.h
Go to the documentation of this file.
1 #ifndef rowcolsurface_h
2 #define rowcolsurface_h
3 
4 /*+
5 ________________________________________________________________________
6 (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
7 Author: K. Tingdahl
8 Date: April 2006
9 Contents: Ranges
10 RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "geometrymod.h"
16 #include "rowcol.h"
17 #include "geomelement.h"
18 
19 
20 namespace Geometry
21 {
22 
27 {
28 public:
29  virtual void getPosIDs(TypeSet<GeomPosID>&,bool=true) const;
30 
31  virtual bool isEmpty() const = 0;
32 
33 
34  Iterator* createIterator() const;
35 
36  virtual StepInterval<int> colRange() const;
37  virtual StepInterval<int> colRange(int row) const = 0;
38  virtual StepInterval<int> rowRange() const = 0;
39 
40  virtual bool setKnot(const RowCol&,const Coord3&) = 0;
41  virtual Coord3 getKnot(const RowCol&) const = 0;
42  virtual bool isKnotDefined(const RowCol&) const = 0;
43 
44  virtual Coord3 getPosition(GeomPosID pid) const;
45  virtual bool setPosition(GeomPosID pid,const Coord3&);
46  virtual bool isDefined(GeomPosID pid) const;
47 };
48 
49 };
50 
51 #endif
#define mExpClass(module)
Definition: commondefs.h:160
od_int64 GeomPosID
Definition: geomelement.h:21
Definition: rowcolsurface.h:26
Definition: geomelement.h:28
A cartesian coordinate in 3D space.
Definition: coord.h:72
Definition: geomelement.h:37
IdxPair used for its row() and col().
Definition: rowcol.h:25
bool isEmpty(const NLAModel *mdl)
Definition: arraytesselator.h:21

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019