TLIB documentation
 

tlPoint.h

Go to the documentation of this file.
00001 /////////////////////////////////////////////////////////////////////////////////
00002 //
00003 //  This file is part of the TLIB computer vision library.
00004 //  Copyright (C) 2003-2008 Sebastien Grange
00005 //  Copyright (C) 2003-2007 VRAI Group, EPFL
00006 //  All rights reserved.
00007 // 
00008 //  This library is free software; you can redistribute it and/or modify
00009 //  it under the terms of the GNU General Public License("GPL") version 2
00010 //  as published by the Free Software Foundation.
00011 // 
00012 //  <http://www.tuyphon.com/tlib>
00013 //
00014 /////////////////////////////////////////////////////////////////////////////////
00015 
00016 
00017 #ifndef __TLPOINT_H__
00018 #define __TLPOINT_H__
00019 
00020 
00021 #include "tlVision.h"
00022 #include "tlLocation.h"
00023 
00024 
00025 class tlPoint : public tlLocation
00026 {
00027 public:
00028 
00029   // constructors
00030   tlPoint  ();
00031   tlPoint  (tlPoint *point);
00032   tlPoint  (int x, int y, int disp = 0);
00033   virtual ~tlPoint ();
00034 
00035   // point management
00036   int       copy        (tlPoint *point);
00037   int       copyTo      (tlPoint *point);
00038   tlPoint*  copy        ();
00039 
00040   // distance computation
00041   int dist (tlPoint *point);
00042   int dist (int x, int y);
00043 };
00044 
00045 
00046 #endif
00047 


TLIB documentation - generated on 7 May 2008
Please address any questions to seb@tuyphon.com
(C) 2001-2008 - S. Grange
(C) 2001-2007 - VRAI Group, EPFL
All Rights Reserved.