OpendTect  6.6
Public Member Functions | Protected Attributes | List of all members
Coord3ListImpl Class Reference

A list of Coord3 where each coord has a unique id. More...

Inheritance diagram for Coord3ListImpl:
[legend]

Public Member Functions

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

Protected Attributes

TypeSet< Coord3coords_
 
TypeSet< int > removedids_
 

Detailed Description

A list of Coord3 where each coord has a unique id.

<>

Constructor & Destructor Documentation

◆ Coord3ListImpl()

Coord3ListImpl::Coord3ListImpl ( )

Member Function Documentation

◆ add()

virtual int Coord3ListImpl::add ( const Coord3 )
virtual

Return new id, or -1 if unsuccessful.

Implements Coord3List.

◆ addValue()

virtual void Coord3ListImpl::addValue ( int  id,
const Coord3  
)
virtual

Adds value to existing value at id.

Implements Coord3List.

◆ get()

virtual Coord3 Coord3ListImpl::get ( int  id) const
virtual

Implements Coord3List.

◆ isDefined()

virtual bool Coord3ListImpl::isDefined ( int  ) const
virtual

Implements Coord3List.

◆ nextID()

virtual int Coord3ListImpl::nextID ( int  previd) const
virtual

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

Implements Coord3List.

◆ remove() [1/2]

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

May contain duplicates.

Implements Coord3List.

◆ remove() [2/2]

virtual void Coord3ListImpl::remove ( int  id)
virtual

Implements Coord3List.

◆ set()

virtual void Coord3ListImpl::set ( int  id,
const Coord3  
)
virtual

Implements Coord3List.

◆ size()

virtual int Coord3ListImpl::size ( ) const
inlinevirtual

Implements Coord3List.

Member Data Documentation

◆ coords_

TypeSet<Coord3> Coord3ListImpl::coords_
protected

◆ removedids_

TypeSet<int> Coord3ListImpl::removedids_
protected

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