OSDN Git Service

Swig generated 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         public static long getCPtr(btSubSimplexClosestResult obj) {\r
30                 return (obj == null) ? 0 : obj.swigCPtr;\r
31         }\r
32 \r
33         @Override\r
34         protected void finalize() throws Throwable {\r
35                 if (!destroyed)\r
36                         destroy();\r
37                 super.finalize();\r
38         }\r
39 \r
40   @Override protected synchronized void delete() {\r
41                 if (swigCPtr != 0) {\r
42                         if (swigCMemOwn) {\r
43                                 swigCMemOwn = false;\r
44                                 gdxBulletJNI.delete_btSubSimplexClosestResult(swigCPtr);\r
45                         }\r
46                         swigCPtr = 0;\r
47                 }\r
48                 super.delete();\r
49         }\r
50 \r
51   public void setClosestPointOnSimplex(btVector3 value) {\r
52     gdxBulletJNI.btSubSimplexClosestResult_closestPointOnSimplex_set(swigCPtr, this, btVector3.getCPtr(value), value);\r
53   }\r
54 \r
55   public btVector3 getClosestPointOnSimplex() {\r
56     long cPtr = gdxBulletJNI.btSubSimplexClosestResult_closestPointOnSimplex_get(swigCPtr, this);\r
57     return (cPtr == 0) ? null : new btVector3(cPtr, false);\r
58   }\r
59 \r
60   public void setUsedVertices(btUsageBitfield value) {\r
61     gdxBulletJNI.btSubSimplexClosestResult_usedVertices_set(swigCPtr, this, btUsageBitfield.getCPtr(value), value);\r
62   }\r
63 \r
64   public btUsageBitfield getUsedVertices() {\r
65     long cPtr = gdxBulletJNI.btSubSimplexClosestResult_usedVertices_get(swigCPtr, this);\r
66     return (cPtr == 0) ? null : new btUsageBitfield(cPtr, false);\r
67   }\r
68 \r
69   public void setBarycentricCoords(float[] value) {\r
70     gdxBulletJNI.btSubSimplexClosestResult_barycentricCoords_set(swigCPtr, this, value);\r
71   }\r
72 \r
73   public float[] getBarycentricCoords() {\r
74     return gdxBulletJNI.btSubSimplexClosestResult_barycentricCoords_get(swigCPtr, this);\r
75   }\r
76 \r
77   public void setDegenerate(boolean value) {\r
78     gdxBulletJNI.btSubSimplexClosestResult_degenerate_set(swigCPtr, this, value);\r
79   }\r
80 \r
81   public boolean getDegenerate() {\r
82     return gdxBulletJNI.btSubSimplexClosestResult_degenerate_get(swigCPtr, this);\r
83   }\r
84 \r
85   public void reset() {\r
86     gdxBulletJNI.btSubSimplexClosestResult_reset(swigCPtr, this);\r
87   }\r
88 \r
89   public boolean isValid() {\r
90     return gdxBulletJNI.btSubSimplexClosestResult_isValid(swigCPtr, this);\r
91   }\r
92 \r
93   public void setBarycentricCoordinates(float a, float b, float c, float d) {\r
94     gdxBulletJNI.btSubSimplexClosestResult_setBarycentricCoordinates__SWIG_0(swigCPtr, this, a, b, c, d);\r
95   }\r
96 \r
97   public void setBarycentricCoordinates(float a, float b, float c) {\r
98     gdxBulletJNI.btSubSimplexClosestResult_setBarycentricCoordinates__SWIG_1(swigCPtr, this, a, b, c);\r
99   }\r
100 \r
101   public void setBarycentricCoordinates(float a, float b) {\r
102     gdxBulletJNI.btSubSimplexClosestResult_setBarycentricCoordinates__SWIG_2(swigCPtr, this, a, b);\r
103   }\r
104 \r
105   public void setBarycentricCoordinates(float a) {\r
106     gdxBulletJNI.btSubSimplexClosestResult_setBarycentricCoordinates__SWIG_3(swigCPtr, this, a);\r
107   }\r
108 \r
109   public void setBarycentricCoordinates() {\r
110     gdxBulletJNI.btSubSimplexClosestResult_setBarycentricCoordinates__SWIG_4(swigCPtr, this);\r
111   }\r
112 \r
113   public btSubSimplexClosestResult() {\r
114     this(gdxBulletJNI.new_btSubSimplexClosestResult(), true);\r
115   }\r
116 \r
117 }\r