OpendTect-6_4  6.4
Public Member Functions | Protected Attributes | List of all members
Coord2ListImpl Class Reference

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

Inheritance diagram for Coord2ListImpl:
[legend]

Public Member Functions

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

Protected Attributes

TypeSet< int > removedids_
 
TypeSet< Coordpoints_
 

Detailed Description

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

Constructor & Destructor Documentation

Coord2ListImpl::Coord2ListImpl ( )

Member Function Documentation

virtual int Coord2ListImpl::add ( const Coord )
virtual

Return new id, or -1 if unsuccessful.

Implements Coord2List.

virtual void Coord2ListImpl::addValue ( int  id,
const Coord  
)
virtual

Adds value to existing value at id.

Implements Coord2List.

virtual Coord Coord2ListImpl::get ( int  id) const
virtual

Implements Coord2List.

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

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

Implements Coord2List.

virtual void Coord2ListImpl::remove ( int  id)
virtual

Implements Coord2List.

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

Implements Coord2List.

virtual void Coord2ListImpl::set ( int  id,
const Coord  
)
virtual

Implements Coord2List.

virtual int Coord2ListImpl::size ( ) const
inlinevirtual

Implements Coord2List.

Member Data Documentation

TypeSet<Coord> Coord2ListImpl::points_
protected
TypeSet<int> Coord2ListImpl::removedids_
protected

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