public bool TestClipping3D(Fusee.Math.Core.Vector3D /* constVector&_cstype */ mp, Fusee.Math.Core.Vector3D /* constVector&_cstype */ rad, ref Fusee.Math.Core.Matrix4D /* constMatrix&_cstype */ mg, SWIGTYPE_p_Bool clip2d, SWIGTYPE_p_Bool clipz) { double[] adbl_mg; unsafe {adbl_mg = Fusee.Math.ArrayConversion.Convert.Matrix4DToArrayDoubleC4DLayout(mg); fixed (double *pdbl_mg = adbl_mg) { /* constMatrix&_csin_pre */ try { bool ret = C4dApiPINVOKE.BaseView_TestClipping3D(swigCPtr, ref mp /* constVector&_csin */, ref rad /* constVector&_csin */, (IntPtr) pdbl_mg /* constMatrix&_csin */, SWIGTYPE_p_Bool.getCPtr(clip2d), SWIGTYPE_p_Bool.getCPtr(clipz)); return ret; } finally { // NOP mg = Fusee.Math.ArrayConversion.Convert.ArrayDoubleC4DLayoutToMatrix4D(pdbl_mg); /* constMatrix&_csin_post */ } } } /* constMatrix&_csin_terminator */ }
public virtual bool IsDocumentRelated(GeListNode node, SWIGTYPE_p_Bool docrelated) { bool ret = C4dApiPINVOKE.NodeData_IsDocumentRelated(swigCPtr, GeListNode.getCPtr(node), SWIGTYPE_p_Bool.getCPtr(docrelated)); if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public BaseObject GetHierarchyClone(HierarchyHelp hh, BaseObject op, HIERARCHYCLONEFLAGS flags, SWIGTYPE_p_Bool dirty, AliasTrans trans) { IntPtr cPtr = C4dApiPINVOKE.BaseObject_GetHierarchyClone(swigCPtr, HierarchyHelp.getCPtr(hh), BaseObject.getCPtr(op), (int)flags, SWIGTYPE_p_Bool.getCPtr(dirty), AliasTrans.getCPtr(trans)); BaseObject ret = (cPtr == IntPtr.Zero) ? null : new BaseObject(cPtr, false); return ret; }
public static bool GeGetLanguage(int index, SWIGTYPE_p_String extension, SWIGTYPE_p_String name, SWIGTYPE_p_Bool default_language) { bool ret = C4dApiPINVOKE.GeGetLanguage(index, SWIGTYPE_p_String.getCPtr(extension), SWIGTYPE_p_String.getCPtr(name), SWIGTYPE_p_Bool.getCPtr(default_language)); return ret; }
public static IMAGERESULT Init(SWIGTYPE_p_p_BaseBitmap res, SWIGTYPE_p_Filename name, int frame, SWIGTYPE_p_Bool ismovie) { IMAGERESULT ret = (IMAGERESULT)C4dApiPINVOKE.BaseBitmap_Init__SWIG_1(SWIGTYPE_p_p_BaseBitmap.getCPtr(res), SWIGTYPE_p_Filename.getCPtr(name), frame, SWIGTYPE_p_Bool.getCPtr(ismovie)); if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public static BaseObject GetVirtualLineObject(BaseObject op, HierarchyHelp hh, ref Fusee.Math.Core.Matrix4D /* constMatrix&_cstype */ mloc, bool keep_spline, bool recurse, ref Fusee.Math.Core.Matrix4D /* Matrix*&_cstype */ mres, SWIGTYPE_p_Bool dirty) { double[] adbl_mloc; unsafe {adbl_mloc = Fusee.Math.ArrayConversion.Convert.Matrix4DToArrayDoubleC4DLayout(mloc); fixed (double *pdbl_mloc = adbl_mloc) { /* constMatrix&_csin_pre */ double[] adbl_mres; unsafe {adbl_mres = Fusee.Math.ArrayConversion.Convert.Matrix4DToArrayDoubleC4DLayout(mres); fixed (double *pdbl_mres = adbl_mres) { /* Matrix*&_csin_pre */ try { IntPtr cPtr = C4dApiPINVOKE.GetVirtualLineObject(BaseObject.getCPtr(op), HierarchyHelp.getCPtr(hh), (IntPtr) pdbl_mloc /* constMatrix&_csin */, keep_spline, recurse, (IntPtr) pdbl_mres /* Matrix*&_csin */, SWIGTYPE_p_Bool.getCPtr(dirty)); BaseObject ret = (cPtr == IntPtr.Zero) ? null : new BaseObject(cPtr, false); return ret; } finally { // NOP mloc = Fusee.Math.ArrayConversion.Convert.ArrayDoubleC4DLayoutToMatrix4D(pdbl_mloc); /* constMatrix&_csin_post */ mres = Fusee.Math.ArrayConversion.Convert.ArrayDoubleC4DLayoutToMatrix4D(pdbl_mres); /* Matrix*&_csin_post */ } } } /* Matrix*&_csin_terminator */ } } /* constMatrix&_csin_terminator */ }
public bool GetBool(SWIGTYPE_p_Bool b, GvRun r) { bool ret = C4dApiPINVOKE.GvPort_GetBool(swigCPtr, SWIGTYPE_p_Bool.getCPtr(b), GvRun.getCPtr(r)); return ret; }
public bool GetDefaultKey(SWIGTYPE_p_CKey pKey, SWIGTYPE_p_Bool bOverdub) { bool ret = C4dApiPINVOKE.BaseDocument_GetDefaultKey(swigCPtr, SWIGTYPE_p_CKey.getCPtr(pKey), SWIGTYPE_p_Bool.getCPtr(bOverdub)); if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public BaseObject GetRealActiveObject(AtomArray help, SWIGTYPE_p_Bool multi) { IntPtr cPtr = C4dApiPINVOKE.BaseDocument_GetRealActiveObject(swigCPtr, AtomArray.getCPtr(help), SWIGTYPE_p_Bool.getCPtr(multi)); BaseObject ret = (cPtr == IntPtr.Zero) ? null : new BaseObject(cPtr, false); return ret; }
internal static HandleRef getCPtr(SWIGTYPE_p_Bool obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }