OpendTect  6.6
Public Member Functions | List of all members
Coord2List Class Referenceabstract

Interface for a list of Coords with automatically maintained IDs. More...

Inheritance diagram for Coord2List:
[legend]

Public Member Functions

virtual int add (const Coord &)=0
 Return new id, or -1 if unsuccessful. More...
 
virtual void addValue (int id, const Coord &)=0
 Adds value to existing value at id. More...
 
Coord center () const
 
virtual Coord get (int id) const =0
 
virtual int nextID (int previd) const =0
 
virtual void remove (const TypeSet< int > &)=0
 
virtual void remove (int id)=0
 
virtual void set (int id, const Coord &)=0
 
virtual int size () const =0
 

Detailed Description

Interface for a list of Coords with automatically maintained IDs.

<>

Member Function Documentation

◆ add()

virtual int Coord2List::add ( const Coord )
pure virtual

Return new id, or -1 if unsuccessful.

Implemented in Coord2ListImpl.

◆ addValue()

virtual void Coord2List::addValue ( int  id,
const Coord  
)
pure virtual

Adds value to existing value at id.

Implemented in Coord2ListImpl.

◆ center()

Coord Coord2List::center ( ) const

◆ get()

virtual Coord Coord2List::get ( int  id) const
pure virtual

Implemented in Coord2ListImpl.

◆ nextID()

virtual int Coord2List::nextID ( int  previd) const
pure virtual

If previd == -1, first id is returned. If -1 is returned, no more id's are available.

Implemented in Coord2ListImpl.

◆ remove() [1/2]

virtual void Coord2List::remove ( const TypeSet< int > &  )
pure virtual

Implemented in Coord2ListImpl.

◆ remove() [2/2]

virtual void Coord2List::remove ( int  id)
pure virtual

Implemented in Coord2ListImpl.

◆ set()

virtual void Coord2List::set ( int  id,
const Coord  
)
pure virtual

Implemented in Coord2ListImpl.

◆ size()

virtual int Coord2List::size ( ) const
pure virtual

Implemented in Coord2ListImpl.


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