Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

XYVector.h

Go to the documentation of this file.
00001 // XYVector.h: interface for the CXYVector class.
00002 //
00004 
00005 #if !defined(AFX_XYVECTOR_H__06A83D38_2E71_478A_A4B2_24AB0F2A8822__INCLUDED_)
00006 #define AFX_XYVECTOR_H__06A83D38_2E71_478A_A4B2_24AB0F2A8822__INCLUDED_
00007 
00008 #if _MSC_VER > 1000
00009 #pragma once
00010 #endif // _MSC_VER > 1000
00011 
00012 #include "XYPoint.h"
00013 #include <algorithm>
00014 #include <vector>
00015 
00016 
00017 class CXYVector  
00018 {
00019 public:
00020         CXYVector();
00021         virtual ~CXYVector();
00022         void AddXYPoint(double x, double y);
00023         std::vector<CXYPoint *> *GetXYVector() {return &m_vpXYVector;}
00024         void SortOnX();
00025         void SortOnY();
00026         void SetXYPair(int n, double x, double y);
00027 private:
00028         std::vector<CXYPoint *> m_vpXYVector;
00029 };
00030 
00031 #endif // !defined(AFX_XYVECTOR_H__06A83D38_2E71_478A_A4B2_24AB0F2A8822__INCLUDED_)

Generated on Mon Nov 3 09:38:20 2003 by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002