aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/ode-0.9/contrib/DotNetManaged/JointHinge2.h
diff options
context:
space:
mode:
authordan miller2007-10-19 05:20:48 +0000
committerdan miller2007-10-19 05:20:48 +0000
commitd48ea5bb797037069d641da41da0f195f0124491 (patch)
tree40ff433d94859d629aac933d5ec73b382f62ba1a /libraries/ode-0.9/contrib/DotNetManaged/JointHinge2.h
parentdont ask (diff)
downloadopensim-SC-d48ea5bb797037069d641da41da0f195f0124491.zip
opensim-SC-d48ea5bb797037069d641da41da0f195f0124491.tar.gz
opensim-SC-d48ea5bb797037069d641da41da0f195f0124491.tar.bz2
opensim-SC-d48ea5bb797037069d641da41da0f195f0124491.tar.xz
one more for the gipper
Diffstat (limited to 'libraries/ode-0.9/contrib/DotNetManaged/JointHinge2.h')
-rw-r--r--libraries/ode-0.9/contrib/DotNetManaged/JointHinge2.h48
1 files changed, 48 insertions, 0 deletions
diff --git a/libraries/ode-0.9/contrib/DotNetManaged/JointHinge2.h b/libraries/ode-0.9/contrib/DotNetManaged/JointHinge2.h
new file mode 100644
index 0000000..e883ea8
--- /dev/null
+++ b/libraries/ode-0.9/contrib/DotNetManaged/JointHinge2.h
@@ -0,0 +1,48 @@
1#pragma once
2
3#include "Joint.h"
4#include "CommonMgd.h"
5
6namespace ODEManaged
7{
8 __gc public class JointHinge2 : public Joint
9 {
10 public:
11
12
13 //Constructors
14
15 JointHinge2 (void);
16 JointHinge2 (World &world);
17 JointHinge2 (World &world, JointGroup &jointGroup);
18
19 //Destructors
20
21 virtual ~JointHinge2 (void);
22
23
24 //Methods
25
26 //Overloaded Hinge.Create
27 void Create (World &world, JointGroup &jointGroup);
28 void Create (World &world);
29
30 void SetAnchor (double x, double y, double z);
31 Vector3 GetAnchor (void);
32
33 void SetAxis1 (double x, double y, double z);
34 Vector3 GetAxis1 (void);
35
36 void SetAxis2 (double x, double y, double z);
37 Vector3 GetAxis2 (void);
38
39 double GetAngle1 (void);
40 double GetAngle1Rate (void);
41
42 //double GetAngle2 (void);
43 double GetAngle2Rate (void);
44
45 void Attach (Body &body1, Body &body2);
46 void Attach( Body &body1);
47 };
48}