contrib/oxl/osl/osl_vertex.h
Go to the documentation of this file.
00001 // This is oxl/osl/osl_vertex.h
00002 #ifndef osl_vertex_h_
00003 #define osl_vertex_h_
00004 #ifdef VCL_NEEDS_PRAGMA_INTERFACE
00005 #pragma interface
00006 #endif
00007 //:
00008 // \file
00009 // \author fsm
00010 
00011 #include <osl/osl_topology.h>
00012 
00013 class osl_vertex : public osl_topology_base
00014 {
00015  public:
00016   float x, y;
00017   osl_vertex(float x_, float y_, int id_ = 0);
00018   ~osl_vertex();
00019   float GetX() const { return x; }
00020   float GetY() const { return y; }
00021 };
00022 
00023 bool operator==(osl_vertex const &a, osl_vertex const &b);
00024 
00025 // urgh
00026 typedef osl_vertex osl_Vertex;
00027 
00028 #endif // osl_vertex_h_