00001 /* 00002 * Copyright (c) 2000, University of Amsterdam, The Netherlands. 00003 * All rights reserved. 00004 * 00005 * Author(s): 00006 * Marc Navarro (mnavarro@wins.uva.nl) 00007 */ 00008 00009 #ifndef HxBSplineCurveTiedSvt_h 00010 #define HxBSplineCurveTiedSvt_h 00011 00012 #include <OB/CORBA.h> 00013 #include "HxCorbaBSplineCurve_skel_tie.h" 00014 #include "HxBSplineCurve.h" 00015 00016 00018 class HxBSplineCurveTiedSvt : public HxBSplineCurve 00019 { 00020 public: 00021 00022 typedef POA_HxCorba::BSplineCurve_tie<HxBSplineCurveTiedSvt> TieT; 00023 typedef HxBSplineCurve HxT; 00024 typedef HxCorba::BSplineCurve CorbaT; 00025 00026 HxBSplineCurveTiedSvt(const HxBSplineCurve& obj); 00027 virtual ~HxBSplineCurveTiedSvt(); 00028 00029 virtual HxCorba::BSplineType curveType(); 00030 //virtual CORBA::Long degree(); 00031 //virtual CORBA::Double minT(); 00032 //virtual CORBA::Double maxT(); 00033 00034 //virtual CORBA::Long numP(); 00035 virtual HxCorba::PointR2 P(CORBA::Long i); 00036 virtual HxCorba::PointR2Seq* allP(); 00037 virtual HxCorba::Polyline2d_ptr controlP(); 00038 00039 virtual HxCorba::PointR2 C(CORBA::Long j); 00040 //virtual CORBA::Double length(CORBA::Long n); 00041 virtual HxCorba::PointR2 center(); 00042 virtual HxCorba::Polyline2d_ptr sampleC(CORBA::Long n); 00043 }; 00044 00045 #endif