org.bytedeco.bullet.BulletDynamics.btSliderConstraintDoubleData Maven / Gradle / Ivy
// Targeted by JavaCPP version 1.5.8: DO NOT EDIT THIS FILE
package org.bytedeco.bullet.BulletDynamics;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.javacpp.presets.javacpp.*;
import org.bytedeco.bullet.LinearMath.*;
import static org.bytedeco.bullet.global.LinearMath.*;
import org.bytedeco.bullet.BulletCollision.*;
import static org.bytedeco.bullet.global.BulletCollision.*;
import static org.bytedeco.bullet.global.BulletDynamics.*;
@Properties(inherit = org.bytedeco.bullet.presets.BulletDynamics.class)
public class btSliderConstraintDoubleData extends Pointer {
static { Loader.load(); }
/** Default native constructor. */
public btSliderConstraintDoubleData() { super((Pointer)null); allocate(); }
/** Native array allocator. Access with {@link Pointer#position(long)}. */
public btSliderConstraintDoubleData(long size) { super((Pointer)null); allocateArray(size); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public btSliderConstraintDoubleData(Pointer p) { super(p); }
private native void allocate();
private native void allocateArray(long size);
@Override public btSliderConstraintDoubleData position(long position) {
return (btSliderConstraintDoubleData)super.position(position);
}
@Override public btSliderConstraintDoubleData getPointer(long i) {
return new btSliderConstraintDoubleData((Pointer)this).offsetAddress(i);
}
public native @ByRef btTypedConstraintDoubleData m_typeConstraintData(); public native btSliderConstraintDoubleData m_typeConstraintData(btTypedConstraintDoubleData setter);
public native @ByRef btTransformDoubleData m_rbAFrame(); public native btSliderConstraintDoubleData m_rbAFrame(btTransformDoubleData setter); // constraint axii. Assumes z is hinge axis.
public native @ByRef btTransformDoubleData m_rbBFrame(); public native btSliderConstraintDoubleData m_rbBFrame(btTransformDoubleData setter);
public native double m_linearUpperLimit(); public native btSliderConstraintDoubleData m_linearUpperLimit(double setter);
public native double m_linearLowerLimit(); public native btSliderConstraintDoubleData m_linearLowerLimit(double setter);
public native double m_angularUpperLimit(); public native btSliderConstraintDoubleData m_angularUpperLimit(double setter);
public native double m_angularLowerLimit(); public native btSliderConstraintDoubleData m_angularLowerLimit(double setter);
public native int m_useLinearReferenceFrameA(); public native btSliderConstraintDoubleData m_useLinearReferenceFrameA(int setter);
public native int m_useOffsetForConstraintFrame(); public native btSliderConstraintDoubleData m_useOffsetForConstraintFrame(int setter);
}