Geometry::SetOfPoints< V, maxNumberOfPoints > Class Template Reference

#include <Geometry.h>

List of all members.

Public Member Functions

 SetOfPoints ()
void add (V x, V y)
void add (Vector2< V > newPoint)
void init ()
double linearRegression (Line &line)

Private Attributes

Vector2< V > points [maxNumberOfPoints]
int numberOfPoints


Detailed Description

template<class V, int maxNumberOfPoints>
class Geometry::SetOfPoints< V, maxNumberOfPoints >

Definition at line 154 of file Geometry.h.


Constructor & Destructor Documentation

template<class V, int maxNumberOfPoints>
Geometry::SetOfPoints< V, maxNumberOfPoints >::SetOfPoints (  )  [inline]

Constructor

Definition at line 158 of file Geometry.h.

References Geometry::SetOfPoints< V, maxNumberOfPoints >::init().


Member Function Documentation

template<class V, int maxNumberOfPoints>
void Geometry::SetOfPoints< V, maxNumberOfPoints >::add ( Vector2< V >  newPoint  )  [inline]

Definition at line 166 of file Geometry.h.

References Geometry::SetOfPoints< V, maxNumberOfPoints >::numberOfPoints, and Geometry::SetOfPoints< V, maxNumberOfPoints >::points.

template<class V, int maxNumberOfPoints>
void Geometry::SetOfPoints< V, maxNumberOfPoints >::add ( x,
y 
) [inline]

Definition at line 159 of file Geometry.h.

References Geometry::SetOfPoints< V, maxNumberOfPoints >::numberOfPoints, and Geometry::SetOfPoints< V, maxNumberOfPoints >::points.

template<class V, int maxNumberOfPoints>
void Geometry::SetOfPoints< V, maxNumberOfPoints >::init (  )  [inline]

Definition at line 173 of file Geometry.h.

References Geometry::SetOfPoints< V, maxNumberOfPoints >::numberOfPoints.

Referenced by Geometry::SetOfPoints< V, maxNumberOfPoints >::SetOfPoints().

template<class V, int maxNumberOfPoints>
double Geometry::SetOfPoints< V, maxNumberOfPoints >::linearRegression ( Line line  )  [inline]

Definition at line 175 of file Geometry.h.

References Geometry::Line::base, Geometry::Line::direction, Geometry::SetOfPoints< V, maxNumberOfPoints >::numberOfPoints, Geometry::SetOfPoints< V, maxNumberOfPoints >::points, Vector2< V >::x, and Vector2< V >::y.


Member Data Documentation

template<class V, int maxNumberOfPoints>
int Geometry::SetOfPoints< V, maxNumberOfPoints >::numberOfPoints [private]

Definition at line 222 of file Geometry.h.

Referenced by Geometry::SetOfPoints< V, maxNumberOfPoints >::add(), Geometry::SetOfPoints< V, maxNumberOfPoints >::init(), and Geometry::SetOfPoints< V, maxNumberOfPoints >::linearRegression().

template<class V, int maxNumberOfPoints>
Vector2<V> Geometry::SetOfPoints< V, maxNumberOfPoints >::points[maxNumberOfPoints] [private]

Definition at line 221 of file Geometry.h.

Referenced by Geometry::SetOfPoints< V, maxNumberOfPoints >::add(), and Geometry::SetOfPoints< V, maxNumberOfPoints >::linearRegression().


The documentation for this class was generated from the following file:
Generated on Thu Dec 7 01:32:24 2006 for DT2005.panorama by  doxygen 1.4.7