assimp/port/Assimp.NET/Assimp.NET_CS/aiPlane.cs

94 lines
2.3 KiB
C#
Raw Normal View History

/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
using System;
using System.Runtime.InteropServices;
public class aiPlane : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;
internal aiPlane(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(aiPlane obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~aiPlane() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
AssimpPINVOKE.delete_aiPlane(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
}
}
public aiPlane() : this(AssimpPINVOKE.new_aiPlane__SWIG_0(), true) {
}
public aiPlane(float _a, float _b, float _c, float _d) : this(AssimpPINVOKE.new_aiPlane__SWIG_1(_a, _b, _c, _d), true) {
}
public aiPlane(aiPlane o) : this(AssimpPINVOKE.new_aiPlane__SWIG_2(aiPlane.getCPtr(o)), true) {
if (AssimpPINVOKE.SWIGPendingException.Pending) throw AssimpPINVOKE.SWIGPendingException.Retrieve();
}
public float a {
set {
AssimpPINVOKE.aiPlane_a_set(swigCPtr, value);
}
get {
float ret = AssimpPINVOKE.aiPlane_a_get(swigCPtr);
return ret;
}
}
public float b {
set {
AssimpPINVOKE.aiPlane_b_set(swigCPtr, value);
}
get {
float ret = AssimpPINVOKE.aiPlane_b_get(swigCPtr);
return ret;
}
}
public float c {
set {
AssimpPINVOKE.aiPlane_c_set(swigCPtr, value);
}
get {
float ret = AssimpPINVOKE.aiPlane_c_get(swigCPtr);
return ret;
}
}
public float d {
set {
AssimpPINVOKE.aiPlane_d_set(swigCPtr, value);
}
get {
float ret = AssimpPINVOKE.aiPlane_d_get(swigCPtr);
return ret;
}
}
}