diff options
author | dan miller | 2007-10-19 05:22:23 +0000 |
---|---|---|
committer | dan miller | 2007-10-19 05:22:23 +0000 |
commit | 1ec410ecd725f5a3ccb2d2fc16f48730d9d9fe43 (patch) | |
tree | 51bcae7a1b8381a6bf6fd8025a7de1e30fe0045d /libraries/ode-0.9/contrib/DotNetManaged/Geom.h | |
parent | one more for the gipper (diff) | |
download | opensim-SC-1ec410ecd725f5a3ccb2d2fc16f48730d9d9fe43.zip opensim-SC-1ec410ecd725f5a3ccb2d2fc16f48730d9d9fe43.tar.gz opensim-SC-1ec410ecd725f5a3ccb2d2fc16f48730d9d9fe43.tar.bz2 opensim-SC-1ec410ecd725f5a3ccb2d2fc16f48730d9d9fe43.tar.xz |
trying to fix my screwup, please hold on
Diffstat (limited to 'libraries/ode-0.9/contrib/DotNetManaged/Geom.h')
-rw-r--r-- | libraries/ode-0.9/contrib/DotNetManaged/Geom.h | 75 |
1 files changed, 0 insertions, 75 deletions
diff --git a/libraries/ode-0.9/contrib/DotNetManaged/Geom.h b/libraries/ode-0.9/contrib/DotNetManaged/Geom.h deleted file mode 100644 index 83a6faf..0000000 --- a/libraries/ode-0.9/contrib/DotNetManaged/Geom.h +++ /dev/null | |||
@@ -1,75 +0,0 @@ | |||
1 | #pragma once | ||
2 | |||
3 | #include "Body.h" | ||
4 | #include "Space.h" | ||
5 | #include "CommonMgd.h" | ||
6 | |||
7 | namespace ODEManaged | ||
8 | { | ||
9 | __gc public class Geom | ||
10 | { | ||
11 | public: | ||
12 | |||
13 | |||
14 | //Constructor | ||
15 | |||
16 | Geom (void); | ||
17 | |||
18 | |||
19 | //Destructor | ||
20 | |||
21 | ~Geom (void); | ||
22 | |||
23 | |||
24 | //Methods | ||
25 | |||
26 | //Basic Stuff | ||
27 | |||
28 | dGeomID Id (void); | ||
29 | dBodyID GetBody (void); | ||
30 | |||
31 | //Overloaded SetBody | ||
32 | void SetBody (Body &body); | ||
33 | /*void SetBody (dBodyID b);*/ | ||
34 | |||
35 | Vector3 GetPosition (void); | ||
36 | void SetPosition (double x, double y, double z); | ||
37 | |||
38 | Matrix3 GetRotation (void); | ||
39 | void SetRotation (Matrix3 rotation); | ||
40 | |||
41 | void SetData (void *data); | ||
42 | void *GetData (void); | ||
43 | |||
44 | |||
45 | //Create Objects | ||
46 | |||
47 | void CreateSphere (Space &space, double radius); | ||
48 | void CreateBox (Space &space, double lx, double ly, double lz); | ||
49 | void CreatePlane (Space &space, double a, double b, double c, double d); | ||
50 | void CreateCCylinder (Space &space, double radius, double length); | ||
51 | |||
52 | |||
53 | //Destroy Objects | ||
54 | |||
55 | void Destroy (void); | ||
56 | |||
57 | |||
58 | //Get Object's Parameters | ||
59 | |||
60 | double SphereGetRadius (void); | ||
61 | Vector3 BoxGetLengths (void); | ||
62 | Vector4 PlaneGetParams (void); | ||
63 | void CCylinderGetParams (double *radius, double *length); | ||
64 | int GetClass (void); | ||
65 | |||
66 | |||
67 | //Properties | ||
68 | |||
69 | private: | ||
70 | |||
71 | dGeomID _id; | ||
72 | |||
73 | }; | ||
74 | |||
75 | } | ||