OpendTect  6.6
bendpoints2coords.h
Go to the documentation of this file.
1 #pragma once
2 
3 /*
4 ________________________________________________________________________
5 
6  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
7  Author: Bert
8  Date: Dec 2009
9  RCS: $Id$
10 ________________________________________________________________________
11 
12 */
13 
14 #include "algomod.h"
15 #include "coord.h"
16 #include "typeset.h"
17 #include <od_iosfwd.h>
18 
19 
31 {
32 public:
34  const int* ids=0);
36 
37  const TypeSet<Coord>& getCoords() const { return coords_; }
38  const TypeSet<int>& getIDs() const { return nrs_; }
39 
40  Coord coordAt(float) const;
41 
43 
44 protected:
45 
48 
49  void init(const TypeSet<Coord>&,const int*);
50  void getIndexes(float,Interval<int>&) const;
51 };
52 
BendPoints2Coords::coords_
TypeSet< Coord > coords_
Definition: bendpoints2coords.h:47
BendPoints2Coords
Inter/Extra-polate bendpoints to get the coordinates.
Definition: bendpoints2coords.h:31
mExpClass
#define mExpClass(module)
Definition: commondefs.h:177
od_istream
OD class for stream read common access to the std::cin.
Definition: od_istream.h:24
typeset.h
BendPoints2Coords::BendPoints2Coords
BendPoints2Coords(const TypeSet< Coord > &, const int *ids=0)
Coord
A cartesian coordinate in 2D space.
Definition: coord.h:25
BendPoints2Coords::readFrom
void readFrom(od_istream &)
BendPoints2Coords::coordAt
Coord coordAt(float) const
BendPoints2Coords::BendPoints2Coords
BendPoints2Coords(od_istream &)
'table' file
BendPoints2Coords::getCoords
const TypeSet< Coord > & getCoords() const
Definition: bendpoints2coords.h:37
BendPoints2Coords::init
void init(const TypeSet< Coord > &, const int *)
BendPoints2Coords::getIDs
const TypeSet< int > & getIDs() const
Definition: bendpoints2coords.h:38
od_iosfwd.h
Interval< int >
BendPoints2Coords::getIndexes
void getIndexes(float, Interval< int > &) const
BendPoints2Coords::nrs_
TypeSet< int > nrs_
Definition: bendpoints2coords.h:46
TypeSet< Coord >
coord.h

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