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

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

Inheritance diagram for Coord3List:
[legend]

Public Member Functions

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

Detailed Description

Interface for a list of Coord3 with automatically maintained IDs.

<>

Member Function Documentation

◆ add()

virtual int Coord3List::add ( const Coord3 )
pure virtual

◆ addValue()

virtual void Coord3List::addValue ( int  id,
const Coord3  
)
pure virtual

◆ center()

Coord3 Coord3List::center ( ) const

◆ get()

virtual Coord3 Coord3List::get ( int  id) const
pure virtual

◆ isDefined()

virtual bool Coord3List::isDefined ( int  id) const
pure virtual

◆ nextID()

virtual int Coord3List::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 visBase::CoordListAdapter, FaultTrace, visBase::TextureCoordListAdapter, visBase::NormalListAdapter, and Coord3ListImpl.

◆ remove() [1/2]

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

◆ remove() [2/2]

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

◆ set()

virtual void Coord3List::set ( int  id,
const Coord3  
)
pure virtual

◆ size()

virtual int Coord3List::size ( ) const
pure virtual

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