00001 // This is gel/gmvl/gmvl_corner_node.h 00002 #ifndef gmvl_corner_node_h_ 00003 #define gmvl_corner_node_h_ 00004 //: 00005 // \file 00006 // \author crossge@crd.ge.com 00007 // 00008 // \verbatim 00009 // Modifications 00010 // 10 Sep. 2004 Peter Vanroose Inlined all 1-line methods in class decl 00011 // \endverbatim 00012 00013 #include <gmvl/gmvl_node.h> 00014 00015 class gmvl_corner_node : public gmvl_node 00016 { 00017 public: 00018 gmvl_corner_node(double x, double y) : x_(x),y_(y) {type_="gmvl_corner_node";} 00019 ~gmvl_corner_node() {} 00020 00021 double x() const { return x_; } 00022 double y() const { return y_; } 00023 00024 protected: 00025 double x_; 00026 double y_; 00027 }; 00028 00029 #endif // gmvl_corner_node_h_