mbsimflexiblebody  4.0.0
neutral_nurbs_local_position_2s.h
00001 /*
00002  * neutral_nurbs_local_position_2s.h
00003  *
00004  *  Created on: 04.12.2013
00005  *      Author: zwang
00006  */
00007 
00008 #ifndef _NEUTRAL_NURBS_LOCAL_POSITION_2S_H_
00009 #define _NEUTRAL_NURBS_LOCAL_POSITION_2S_H_
00010 
00011 #include "neutral_nurbs_2s.h"
00012 
00013 namespace MBSimFlexibleBody {
00014   
00015   class NeutralNurbsLocalPosition2s : public MBSimFlexibleBody::NeutralNurbs2s {
00016     public:
00017       NeutralNurbsLocalPosition2s(MBSim::Element* parent_, const fmatvec::MatVI & nodes, double nodeOffset, int degU_, int degV_, bool openStructure_);
00018       virtual ~NeutralNurbsLocalPosition2s();
00019       virtual void update(MBSim::ContourPointData &cp) ;
00020       void surfMeshParamsClosedU(Vec& uk, Vec& vl);
00021       void surfMeshParams(Vec& uk, Vec& vl);
00022     protected:
00023       virtual void buildNodelist();  // make this method public for calculating the lagrange parameters for nurbs interpolation
00024   };
00025 
00026 } /* namespace MBSimFlexibleBody */
00027 #endif