00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030 #ifndef _hyp_data_vertex_h_
00031 #define _hyp_data_vertex_h_
00032
00033 #ifndef hypfem_INSIDE_INTERN
00034 #error Inclusion not allowed (include hyp.fem.intern.h instead)
00035 #endif
00036
00046 class CGeometricVertex :
00047 #ifdef hypfem_IDENTIFY_CONSTRUCTION_ON
00048 protected CIDClass,
00049 #endif
00050 public IGeometricVertex,
00051 public hyp_ker::CUnknown
00052 {
00053 public:
00055 CGeometricVertex(hyp_ker::IUnknown*);
00056 virtual ~CGeometricVertex();
00057 hyp_DECLARE_IUNKNOWN
00058 virtual hyp_ker::com_result NondelegatingQueryInterface(const hyp_ker::hypIID&,void**);
00059 static hyp_ker::com_result CreateInstance(hyp_ker::IUnknown* ,hyp_ker::CUnknown**);
00061
00065 virtual t_real GetCoord(const t_size&) const;
00066 virtual void SetCoord(const t_real&,const t_size&);
00067 virtual bool IsVisible() const { return m_bVisible; }
00068 virtual void Visible(bool bVisible) { m_bVisible=bVisible; }
00070
00071 private:
00072 t_real_array m_Coord;
00073 bool m_bVisible;
00074 };
00075
00076
00077
00078
00079 #endif