fixatorstrut.h

Go to the documentation of this file.
00001 // Copyright 2007 John Storrs. All rights reserved. This work may be copied, 
00002 // modified and distributed under the terms of the GNU General Public License.
00003 
00004 #ifndef FixatorStrutClass
00005 #define FixatorStrutClass
00006 
00007 #include "Vector3.H"
00008 
00009 
00010 class FixatorStrut
00011 {
00012    public:
00013       FixatorStrut() {};
00014       void setParameters(int strutId, double minLength, double maxLength,
00015                          double diameter);
00016       void connect(Vector3 *jointCoords0, Vector3 *jointCoords1);
00017       double length();
00018       bool inRange();
00019 
00020       int id;
00021       double minLength, maxLength, diameter;
00022       Vector3 *jointCoords0, *jointCoords1;
00023       double strutLength;
00024 };
00025 
00026 #endif

Generated on Sat Mar 24 12:07:06 2007 for CircularFixator by  doxygen 1.4.6