public void GetBone(ref Fusee.Math.Core.Matrix4D /* Matrix*&_cstype */ m, SWIGTYPE_p_Real len) { double[] adbl_m; unsafe {adbl_m = Fusee.Math.ArrayConversion.Convert.Matrix4DToArrayDoubleC4DLayout(m); fixed (double *pdbl_m = adbl_m) { /* Matrix*&_csin_pre */ try { C4dApiPINVOKE.CAJointObject_GetBone(swigCPtr, (IntPtr) pdbl_m /* Matrix*&_csin */, SWIGTYPE_p_Real.getCPtr(len)); if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve(); } finally { m = Fusee.Math.ArrayConversion.Convert.ArrayDoubleC4DLayoutToMatrix4D(pdbl_m); /* Matrix*&_csin_post */ } } } /* Matrix*&_csin_terminator */ }
public void GetZoom(GvNode node, SWIGTYPE_p_Real zoom) { C4dApiPINVOKE.GvNodeGUI_GetZoom(swigCPtr, GvNode.getCPtr(node), SWIGTYPE_p_Real.getCPtr(zoom)); if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve(); }
public void GetIndexWeight(int index, int windex, SWIGTYPE_p_LONG pntindex, SWIGTYPE_p_Real weight) { C4dApiPINVOKE.CAWeightTag_GetIndexWeight(swigCPtr, index, windex, SWIGTYPE_p_LONG.getCPtr(pntindex), SWIGTYPE_p_Real.getCPtr(weight)); if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve(); }
public int GetInfo(SWIGTYPE_p_Real _fps) { int ret = C4dApiPINVOKE.MovieLoader_GetInfo(swigCPtr, SWIGTYPE_p_Real.getCPtr(_fps)); return ret; }
public bool GetRectangle(SWIGTYPE_p_Real x1, SWIGTYPE_p_Real y1, SWIGTYPE_p_Real x2, SWIGTYPE_p_Real y2) { bool ret = C4dApiPINVOKE.LassoSelection_GetRectangle(swigCPtr, SWIGTYPE_p_Real.getCPtr(x1), SWIGTYPE_p_Real.getCPtr(y1), SWIGTYPE_p_Real.getCPtr(x2), SWIGTYPE_p_Real.getCPtr(y2)); if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public bool BmGetInformation(SWIGTYPE_p_Filename name, SWIGTYPE_p_LONG frames, SWIGTYPE_p_Real fps) { bool ret = C4dApiPINVOKE.BitmapLoaderPlugin_BmGetInformation(swigCPtr, SWIGTYPE_p_Filename.getCPtr(name), SWIGTYPE_p_LONG.getCPtr(frames), SWIGTYPE_p_Real.getCPtr(fps)); if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public bool GetAnimatedParameter(DescID id, GeData t_data1, GeData t_data2, SWIGTYPE_p_Real mix, DESCFLAGS_GET flags) { bool ret = C4dApiPINVOKE.BaseList2D_GetAnimatedParameter(swigCPtr, DescID.getCPtr(id), GeData.getCPtr(t_data1), GeData.getCPtr(t_data2), SWIGTYPE_p_Real.getCPtr(mix), (int)flags); if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public bool Calculate(ParserCache pdat, SWIGTYPE_p_Real result, SWIGTYPE_p_LONG error) { bool ret = C4dApiPINVOKE.Parser_Calculate(swigCPtr, ParserCache.getCPtr(pdat), SWIGTYPE_p_Real.getCPtr(result), SWIGTYPE_p_LONG.getCPtr(error)); return ret; }
public static int IntersectionTest(PolygonObject op, BaseDraw bd, double x, double y, ref Fusee.Math.Core.Matrix4D /* constMatrix&_cstype */ mg, SWIGTYPE_p_Real z, MODELINGCOMMANDMODE mode, SWIGTYPE_p_UCHAR pPointSelect, int lSelectCount) { double[] adbl_mg; unsafe {adbl_mg = Fusee.Math.ArrayConversion.Convert.Matrix4DToArrayDoubleC4DLayout(mg); fixed (double *pdbl_mg = adbl_mg) { /* constMatrix&_csin_pre */ try { int ret = C4dApiPINVOKE.IntersectionTest(PolygonObject.getCPtr(op), BaseDraw.getCPtr(bd), x, y, (IntPtr) pdbl_mg /* constMatrix&_csin */, SWIGTYPE_p_Real.getCPtr(z), (int)mode, SWIGTYPE_p_UCHAR.getCPtr(pPointSelect), lSelectCount); return ret; } finally { // NOP mg = Fusee.Math.ArrayConversion.Convert.ArrayDoubleC4DLayoutToMatrix4D(pdbl_mg); /* constMatrix&_csin_post */ } } } /* constMatrix&_csin_terminator */ }
public static bool GeGetMovieInfo(SWIGTYPE_p_Filename fn, SWIGTYPE_p_LONG frames, SWIGTYPE_p_Real fps) { bool ret = C4dApiPINVOKE.GeGetMovieInfo(SWIGTYPE_p_Filename.getCPtr(fn), SWIGTYPE_p_LONG.getCPtr(frames), SWIGTYPE_p_Real.getCPtr(fps)); if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public bool GetReal(SWIGTYPE_p_Real f, GvRun r) { bool ret = C4dApiPINVOKE.GvPort_GetReal(swigCPtr, SWIGTYPE_p_Real.getCPtr(f), GvRun.getCPtr(r)); return ret; }
public bool AddVar(string /* constString&_cstype */ str, SWIGTYPE_p_Real value) { bool ret = C4dApiPINVOKE.Parser_AddVar__SWIG_1(swigCPtr, str, SWIGTYPE_p_Real.getCPtr(value)); if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public bool Eval(string /* constString&_cstype */ str, SWIGTYPE_p_LONG error, SWIGTYPE_p_Real res) { bool ret = C4dApiPINVOKE.Parser_Eval__SWIG_3(swigCPtr, str, SWIGTYPE_p_LONG.getCPtr(error), SWIGTYPE_p_Real.getCPtr(res)); if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve(); return ret; }
} /* <Vector_csout> */ public Fusee.Math.Core.Vector3D /* Vector_cstype_out */ ProjectPointOnLine(Fusee.Math.Core.Vector3D /* constVector&_cstype */ p, Fusee.Math.Core.Vector3D /* constVector&_cstype */ v, double mouse_x, double mouse_y, SWIGTYPE_p_Real offset) { /* <Vector_csout> */ Fusee.Math.Core.Vector3D ret = C4dApiPINVOKE.BaseView_ProjectPointOnLine__SWIG_1(swigCPtr, ref p /* constVector&_csin */, ref v /* constVector&_csin */, mouse_x, mouse_y, SWIGTYPE_p_Real.getCPtr(offset)); return ret; } /* <Vector_csout> */
public SWIGTYPE_p_Real CalcSurfaceDistancesFromPoint(PolygonObject pObject, int pindex, Neighbor pNeighbor, ref Fusee.Math.Core.Vector3D /* Vector*&_cstype */ pNormals, ref Fusee.Math.Core.Vector3D /* Vector*&_cstype */ pGlobalPoints, SWIGTYPE_p_Real pDistance) { IntPtr cPtr = C4dApiPINVOKE.BrushBase_CalcSurfaceDistancesFromPoint__SWIG_0(swigCPtr, PolygonObject.getCPtr(pObject), pindex, Neighbor.getCPtr(pNeighbor), ref pNormals /* Vector*&_csin */, ref pGlobalPoints /* Vector*&_csin */, SWIGTYPE_p_Real.getCPtr(pDistance)); SWIGTYPE_p_Real ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_Real(cPtr, false); return ret; }
internal static HandleRef getCPtr(SWIGTYPE_p_Real obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
public bool ReEval(SWIGTYPE_p_Real result, SWIGTYPE_p_LONG error) { bool ret = C4dApiPINVOKE.Parser_ReEval(swigCPtr, SWIGTYPE_p_Real.getCPtr(result), SWIGTYPE_p_LONG.getCPtr(error)); return ret; }