Open PaperOpt
OpenPaperOpt/FiberSegment.h
Go to the documentation of this file.
00001 #ifndef FIBERSEGMENT_H
00002 #define FIBERSEGMENT_H
00003 
00004 #include "V3.h"
00005 
00006 namespace p3d{
00014         class FiberSegment {
00015         public:
00016                 FiberSegment() {}
00017 
00018                 operator V3<double>() const {return V3 <double> (mPosX,mPosY,mPosZ);}
00019                 void Set(V3 <double> & rV) {mPosX=rV.X();mPosY=rV.Y();mPosZ=rV.Z();}
00020 
00021                 double mPosX;  //um, position of segment
00022                 double mPosY;
00023                 double mPosZ;
00024                 double scratch; //Used for storing heights in MakePaper3DStructure
00025 
00026         };
00027 
00028 }
00029 
00030 #endif