Hauptseite   Klassenhierarchie   Übersicht   Auflistung der Dateien   Datenstruktur-Elemente   Datei-Elemente  

line.h

gehe zur Dokumentation dieser Datei
00001 
00012 #ifndef __LINE_H__
00013 #define __LINE_H__
00014 
00015 #include <geom_vec.h>
00016 
00020 class Line {
00021  public:
00028   Line(GeomPoint pA, GeomPoint pB);
00029 
00034   int getCount();
00035 
00040   GeomVec getDirVec();
00041 
00048   GeomVec getDistVec(GeomPoint p);
00049 
00057   GeomPoint getFootpoint(GeomPoint p);
00058 
00063   Hight getHight();
00064 
00071   GeomPoint getPoint(int idx);
00072 
00079   bool isAtLine(GeomPoint p);
00080 
00086   bool isEndpoint(GeomPoint p);
00087 
00094   bool isInStretch(GeomPoint p);
00095 
00099   void print();
00100 
00105   void setHight(Hight h);
00106 
00113   GeomPoint operator[](int idx);
00114 
00115  private:
00119   GeomPoint pointA;
00120 
00124   GeomPoint pointB;
00125 }; // class Line
00126 
00127 #endif // ! __LINE_H__

Erzeugt am Fri Mar 14 19:44:50 2003 für cad2octree von doxygen1.2.16