OpendTect  6.6
Public Types | Public Member Functions | Public Attributes | List of all members
PosInfo::LineData Class Reference

Position info for a line - in a 3D cube, that would be an inline. Stored as (crossline-)number segments. More...

Public Types

typedef StepInterval< int > Segment
 

Public Member Functions

 LineData (int i)
 
void merge (const LineData &, bool incl)
 incl=union, !incl=intersection More...
 
int nearestSegment (double) const
 
Interval< int > range () const
 
int segmentOf (int) const
 
int size () const
 

Public Attributes

const int linenr_
 
TypeSet< Segmentsegments_
 

Detailed Description

Position info for a line - in a 3D cube, that would be an inline. Stored as (crossline-)number segments.

<>

Member Typedef Documentation

◆ Segment

Constructor & Destructor Documentation

◆ LineData()

PosInfo::LineData::LineData ( int  i)
inline

Member Function Documentation

◆ merge()

void PosInfo::LineData::merge ( const LineData ,
bool  incl 
)

incl=union, !incl=intersection

◆ nearestSegment()

int PosInfo::LineData::nearestSegment ( double  ) const

◆ range()

Interval<int> PosInfo::LineData::range ( ) const

◆ segmentOf()

int PosInfo::LineData::segmentOf ( int  ) const

◆ size()

int PosInfo::LineData::size ( ) const

Member Data Documentation

◆ linenr_

const int PosInfo::LineData::linenr_

◆ segments_

TypeSet<Segment> PosInfo::LineData::segments_

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