Line | |
---|
1 | #pragma once |
---|
2 | |
---|
3 | #include "Joint.h" |
---|
4 | #include "CommonMgd.h" |
---|
5 | |
---|
6 | namespace 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 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.