OSDN Git Service

swig generated java files
[mikumikustudio/libgdx-mikumikustudio.git] / extensions / gdx-bullet / jni / swig-src / com / badlogic / gdx / physics / bullet / btSubSimplexClosestResult.java
1 /* ----------------------------------------------------------------------------\r
2  * This file was automatically generated by SWIG (http://www.swig.org).\r
3  * Version 2.0.10\r
4  *\r
5  * Do not make changes to this file unless you know what you are doing--modify\r
6  * the SWIG interface file instead.\r
7  * ----------------------------------------------------------------------------- */\r
8 \r
9 package com.badlogic.gdx.physics.bullet;\r
10 \r
11 import com.badlogic.gdx.math.Vector3;\r
12 import com.badlogic.gdx.math.Quaternion;\r
13 import com.badlogic.gdx.math.Matrix3;\r
14 import com.badlogic.gdx.math.Matrix4;\r
15 \r
16 public class btSubSimplexClosestResult extends BulletBase {\r
17         private long swigCPtr;\r
18         \r
19         protected btSubSimplexClosestResult(final String className, long cPtr, boolean cMemoryOwn) {\r
20                 super(className, cPtr, cMemoryOwn);\r
21                 swigCPtr = cPtr;\r
22         }\r
23         \r
24         protected btSubSimplexClosestResult(long cPtr, boolean cMemoryOwn) {\r
25                 this("btSubSimplexClosestResult", cPtr, cMemoryOwn);\r
26                 construct();\r
27         }\r
28         \r
29         @Override\r
30         protected void reset(long cPtr, boolean cMemoryOwn) {\r
31                 if (!destroyed)\r
32                         destroy();\r
33                 super.reset(swigCPtr = cPtr, cMemoryOwn);\r
34         }\r
35         \r
36         public static long getCPtr(btSubSimplexClosestResult obj) {\r
37                 return (obj == null) ? 0 : obj.swigCPtr;\r
38         }\r
39 \r
40         @Override\r
41         protected void finalize() throws Throwable {\r
42                 if (!destroyed)\r
43                         destroy();\r
44                 super.finalize();\r
45         }\r
46 \r
47   @Override protected synchronized void delete() {\r
48                 if (swigCPtr != 0) {\r
49                         if (swigCMemOwn) {\r
50                                 swigCMemOwn = false;\r
51                                 gdxBulletJNI.delete_btSubSimplexClosestResult(swigCPtr);\r
52                         }\r
53                         swigCPtr = 0;\r
54                 }\r
55                 super.delete();\r
56         }\r
57 \r
58   public void setClosestPointOnSimplex(btVector3 value) {\r
59     gdxBulletJNI.btSubSimplexClosestResult_closestPointOnSimplex_set(swigCPtr, this, btVector3.getCPtr(value), value);\r
60   }\r
61 \r
62   public btVector3 getClosestPointOnSimplex() {\r
63     long cPtr = gdxBulletJNI.btSubSimplexClosestResult_closestPointOnSimplex_get(swigCPtr, this);\r
64     return (cPtr == 0) ? null : new btVector3(cPtr, false);\r
65   }\r
66 \r
67   public void setUsedVertices(btUsageBitfield value) {\r
68     gdxBulletJNI.btSubSimplexClosestResult_usedVertices_set(swigCPtr, this, btUsageBitfield.getCPtr(value), value);\r
69   }\r
70 \r
71   public btUsageBitfield getUsedVertices() {\r
72     long cPtr = gdxBulletJNI.btSubSimplexClosestResult_usedVertices_get(swigCPtr, this);\r
73     return (cPtr == 0) ? null : new btUsageBitfield(cPtr, false);\r
74   }\r
75 \r
76   public void setBarycentricCoords(float[] value) {\r
77     gdxBulletJNI.btSubSimplexClosestResult_barycentricCoords_set(swigCPtr, this, value);\r
78   }\r
79 \r
80   public float[] getBarycentricCoords() {\r
81     return gdxBulletJNI.btSubSimplexClosestResult_barycentricCoords_get(swigCPtr, this);\r
82   }\r
83 \r
84   public void setDegenerate(boolean value) {\r
85     gdxBulletJNI.btSubSimplexClosestResult_degenerate_set(swigCPtr, this, value);\r
86   }\r
87 \r
88   public boolean getDegenerate() {\r
89     return gdxBulletJNI.btSubSimplexClosestResult_degenerate_get(swigCPtr, this);\r
90   }\r
91 \r
92   public void reset() {\r
93     gdxBulletJNI.btSubSimplexClosestResult_reset(swigCPtr, this);\r
94   }\r
95 \r
96   public boolean isValid() {\r
97     return gdxBulletJNI.btSubSimplexClosestResult_isValid(swigCPtr, this);\r
98   }\r
99 \r
100   public void setBarycentricCoordinates(float a, float b, float c, float d) {\r
101     gdxBulletJNI.btSubSimplexClosestResult_setBarycentricCoordinates__SWIG_0(swigCPtr, this, a, b, c, d);\r
102   }\r
103 \r
104   public void setBarycentricCoordinates(float a, float b, float c) {\r
105     gdxBulletJNI.btSubSimplexClosestResult_setBarycentricCoordinates__SWIG_1(swigCPtr, this, a, b, c);\r
106   }\r
107 \r
108   public void setBarycentricCoordinates(float a, float b) {\r
109     gdxBulletJNI.btSubSimplexClosestResult_setBarycentricCoordinates__SWIG_2(swigCPtr, this, a, b);\r
110   }\r
111 \r
112   public void setBarycentricCoordinates(float a) {\r
113     gdxBulletJNI.btSubSimplexClosestResult_setBarycentricCoordinates__SWIG_3(swigCPtr, this, a);\r
114   }\r
115 \r
116   public void setBarycentricCoordinates() {\r
117     gdxBulletJNI.btSubSimplexClosestResult_setBarycentricCoordinates__SWIG_4(swigCPtr, this);\r
118   }\r
119 \r
120   public btSubSimplexClosestResult() {\r
121     this(gdxBulletJNI.new_btSubSimplexClosestResult(), true);\r
122   }\r
123 \r
124 }\r