CrossZeroPoint< T > Struct Template Reference

#include <CrossZeroGeometricObjects.h>

Inheritance diagram for CrossZeroPoint< T >:

Inheritance graph
[legend]
Collaboration diagram for CrossZeroPoint< T >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 CrossZeroPoint (T xVal, T yVal)

Public Attributes

x
y


Detailed Description

template<class T>
struct CrossZeroPoint< T >

A two-dimensional point.

Example:

#include "CrossZeroGeometryObjects.h"
...
CrossZeroPoint<int> iPoint(2,3);
if(iPoint.x == 2)
doSomething();
....
CrossZeroPoint<double> dPoint;
dPoint.x = 2.1;
dPoint.y = 54.1;

Definition at line 31 of file CrossZeroGeometricObjects.h.


Constructor & Destructor Documentation

template<class T>
CrossZeroPoint< T >::CrossZeroPoint ( xVal,
yVal 
) [inline]

Definition at line 34 of file CrossZeroGeometricObjects.h.


Member Data Documentation

template<class T>
T CrossZeroPoint< T >::x

template<class T>
T CrossZeroPoint< T >::y


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

Generated on Mon Feb 25 23:18:58 2008 for CrossZero by  doxygen 1.5.5