OpendTect  7.0
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...
 
Coord coordAt (float) const
 
const TypeSet< Coord > & getCoords () const
 
const TypeSet< int > & getIDs () const
 
void readFrom (od_istream &)
 

Protected Member Functions

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

Protected Attributes

TypeSet< Coordcoords_
 
TypeSet< int > nrs_
 

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() [1/2]

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

◆ BendPoints2Coords() [2/2]

BendPoints2Coords::BendPoints2Coords ( od_istream )

'table' file

Member Function Documentation

◆ coordAt()

Coord BendPoints2Coords::coordAt ( float  ) const

◆ getCoords()

const TypeSet<Coord>& BendPoints2Coords::getCoords ( ) const
inline

◆ getIDs()

const TypeSet<int>& BendPoints2Coords::getIDs ( ) const
inline

◆ getIndexes()

void BendPoints2Coords::getIndexes ( float  ,
Interval< int > &   
) const
protected

◆ init()

void BendPoints2Coords::init ( const TypeSet< Coord > &  ,
const int *   
)
protected

◆ readFrom()

void BendPoints2Coords::readFrom ( od_istream )

Member Data Documentation

◆ coords_

TypeSet<Coord> BendPoints2Coords::coords_
protected

◆ nrs_

TypeSet<int> BendPoints2Coords::nrs_
protected

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