|
mbsimflexiblebody
4.0.0
|
00001 /* 00002 * neutral_nurbs_2s.h 00003 * 00004 * Created on: 03.12.2013 00005 * Author: zwang 00006 */ 00007 00008 #ifndef NEUTRAL_NURBS_2S_H_ 00009 #define NEUTRAL_NURBS_2S_H_ 00010 00011 #include "mbsim/contour_pdata.h" 00012 #include <mbsim/numerics/nurbs/nurbs_surface.h> 00013 00014 namespace MBSimFlexibleBody { 00015 00016 class NeutralNurbs2s { 00017 public: 00018 NeutralNurbs2s(MBSim::Element* parent_, const fmatvec::MatVI & nodes, double nodeOffset_, int degU_, int degV_, bool openStructure_); 00019 virtual ~NeutralNurbs2s(); 00020 virtual void computeCurve(const Vec& uk, const Vec& vl, bool update = false); 00021 virtual void update(MBSim::ContourPointData &cp) = 0; 00022 // virtual const fmatvec::Vec getuVec() { 00023 // return surface.getuVec(); 00024 // } 00025 protected: 00026 virtual void buildNodelist() = 0; 00027 MBSim::NurbsSurface surface; 00028 MBSim::Element *parent; 00029 fmatvec::MatVI nodes; 00030 double nodeOffset; 00031 int numOfNodesU; 00032 int numOfNodesV; 00033 GeneralMatrix<Vec3> Nodelist; 00034 int degU; 00035 int degV; 00036 bool openStructure; 00037 }; 00038 00039 } /* namespace MBSimFlexibleBody */ 00040 #endif
1.8.0