LTI-Lib latest version v1.9 - last update 10 Apr 2010

lti::convexHull Class Reference

Computes the convex hull of a set of points. More...

#include <ltiConvexHull.h>

Inheritance diagram for lti::convexHull:
Inheritance graph
[legend]
Collaboration diagram for lti::convexHull:
Collaboration graph
[legend]

List of all members.

Classes

class  parameters
 the parameters for the class convexHull More...

Public Member Functions

 convexHull ()
 convexHull (const parameters &par)
 convexHull (const convexHull &other)
virtual ~convexHull ()
virtual const char * getTypeName () const
bool apply (const pointList &src, polygonPoints &dest) const
bool apply (const ioPoints &src, polygonPoints &dest) const
bool apply (const tpointList< float > &src, tpolygonPoints< float > &dest) const
bool apply (const tpointList< double > &src, tpolygonPoints< double > &dest) const
convexHullcopy (const convexHull &other)
convexHulloperator= (const convexHull &other)
virtual functorclone () const
const parametersgetParameters () const

Detailed Description

Computes the convex hull of a set of points.

This functors is just a wrapper for the method convexHullFrom of the lti::tpolygonPoints class.


Constructor & Destructor Documentation

lti::convexHull::convexHull (  ) 

default constructor

lti::convexHull::convexHull ( const parameters par  ) 

Construct a functor using the given parameters.

lti::convexHull::convexHull ( const convexHull other  ) 

copy constructor

Parameters:
other the object to be copied
virtual lti::convexHull::~convexHull (  )  [virtual]

destructor


Member Function Documentation

bool lti::convexHull::apply ( const tpointList< double > &  src,
tpolygonPoints< double > &  dest 
) const

operates on a copy of the given parameters.

Parameters:
src pointList with the source data.
dest pointList where the result will be left.
Returns:
true if apply successful or false otherwise.
bool lti::convexHull::apply ( const tpointList< float > &  src,
tpolygonPoints< float > &  dest 
) const

operates on a copy of the given parameters.

Parameters:
src pointList with the source data.
dest pointList where the result will be left.
Returns:
true if apply successful or false otherwise.
bool lti::convexHull::apply ( const ioPoints src,
polygonPoints dest 
) const

operates on a copy of the given parameters.

Parameters:
src pointList with the source data.
dest pointList where the result will be left.
Returns:
true if apply successful or false otherwise.
bool lti::convexHull::apply ( const pointList src,
polygonPoints dest 
) const

operates on a copy of the given parameters.

Parameters:
src pointList with the source data.
dest pointList where the result will be left.
Returns:
true if apply successful or false otherwise.
virtual functor* lti::convexHull::clone (  )  const [virtual]

returns a pointer to a clone of this functor.

Implements lti::functor.

convexHull& lti::convexHull::copy ( const convexHull other  ) 

copy data of "other" functor.

Parameters:
other the functor to be copied
Returns:
a reference to this functor object

Reimplemented from lti::functor.

const parameters& lti::convexHull::getParameters (  )  const

returns used parameters

Reimplemented from lti::modifier.

virtual const char* lti::convexHull::getTypeName (  )  const [virtual]

returns the name of this type ("convexHull")

Reimplemented from lti::modifier.

convexHull& lti::convexHull::operator= ( const convexHull other  ) 

alias for copy member

Parameters:
other the functor to be copied
Returns:
a reference to this functor object

Reimplemented from lti::functor.


The documentation for this class was generated from the following file:

Generated on Sat Apr 10 15:27:10 2010 for LTI-Lib by Doxygen 1.6.1