Functions
contrib/gel/vtol/vtol_list_functions.h File Reference

Base class of vtol_topology_object (inferior/superior mechanics) More...

#include <vcl_list.h>
#include <vcl_vector.h>

Go to the source code of this file.

Functions

template<class T >
vcl_vector< T > * tagged_union (vcl_vector< T > *)
 function used to get rid of duplicate entries.
template<class T >
vcl_list< T > * tagged_union (vcl_list< T > *)
 function used to get rid of duplicate entries.

Detailed Description

Base class of vtol_topology_object (inferior/superior mechanics)

These are a set of functions that can be used to process lists of pointers or smart pointers to spatial objects.

Author:
Patricia A. Vrobel
    Modifications
       PTU May 2000  ported to vxl
       Peter Vanroose - July 2000 - made templated
   

Definition in file vtol_list_functions.h.


Function Documentation

template<class T >
vcl_vector<T>* tagged_union ( vcl_vector< T > *  topolist)

function used to get rid of duplicate entries.

function used to get rid of duplicate entries.

otherwise you can call remove_duplicates and get the same result....pav Also note that T must be a pointer or smart pointer to a derived class of vsol_spatial_object_[23]d as {s,g}et_tagged_union_flag() must exist.

Definition at line 14 of file vtol_list_functions.txx.

template<class T >
vcl_list<T>* tagged_union ( vcl_list< T > *  )

function used to get rid of duplicate entries.

Definition at line 39 of file vtol_list_functions.txx.