OpendTect-6_4  6.4
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
BendPoints2Coords Class Reference

Inter/Extra-polate bendpoints to get the coordinates. More...

Public Member Functions

 BendPoints2Coords (const TypeSet< Coord > &, const int *ids=0)
 
 BendPoints2Coords (od_istream &)
 'table' file More...
 
const TypeSet< Coord > & getCoords () const
 
const TypeSet< int > & getIDs () const
 
Coord coordAt (float) const
 
void readFrom (od_istream &)
 

Protected Member Functions

void init (const TypeSet< Coord > &, const int *)
 
void getIndexes (float, Interval< int > &) const
 

Protected Attributes

TypeSet< int > nrs_
 
TypeSet< Coordcoords_
 

Detailed Description

Inter/Extra-polate bendpoints to get the coordinates.

Input is a set of coordinates and optionally ID numbers (if you don't pass IDs they will be generated 0, 1, ....). Then you can give an ID (usually in between the bend point IDs) and get the interpolated coordinate.

The bend points will be sorted on ID.

Constructor & Destructor Documentation

BendPoints2Coords::BendPoints2Coords ( const TypeSet< Coord > &  ,
const int *  ids = 0 
)
BendPoints2Coords::BendPoints2Coords ( od_istream )

'table' file

Member Function Documentation

Coord BendPoints2Coords::coordAt ( float  ) const
const TypeSet<Coord>& BendPoints2Coords::getCoords ( ) const
inline
const TypeSet<int>& BendPoints2Coords::getIDs ( ) const
inline
void BendPoints2Coords::getIndexes ( float  ,
Interval< int > &   
) const
protected
void BendPoints2Coords::init ( const TypeSet< Coord > &  ,
const int *   
)
protected
void BendPoints2Coords::readFrom ( od_istream )

Member Data Documentation

TypeSet<Coord> BendPoints2Coords::coords_
protected
TypeSet<int> BendPoints2Coords::nrs_
protected

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