public static bool PickObject(BaseDraw bd, BaseDocument doc, int x1, int y1, int x2, int y2, SWIGTYPE_p_Int32 xr, SWIGTYPE_p_Int32 yr, SWIGTYPE_p_Int32 wr, SWIGTYPE_p_Int32 hr, SWIGTYPE_p_p_p_ViewportPixel pixels, VIEWPORT_PICK_FLAGS flags, LassoSelection ls, SWIGTYPE_p_C4DObjectList list) { bool ret = C4dApiPINVOKE.ViewportSelect_PickObject__SWIG_5(BaseDraw.getCPtr(bd), BaseDocument.getCPtr(doc), x1, y1, x2, y2, SWIGTYPE_p_Int32.getCPtr(xr), SWIGTYPE_p_Int32.getCPtr(yr), SWIGTYPE_p_Int32.getCPtr(wr), SWIGTYPE_p_Int32.getCPtr(hr), SWIGTYPE_p_p_p_ViewportPixel.getCPtr(pixels), (int)flags, LassoSelection.getCPtr(ls), SWIGTYPE_p_C4DObjectList.getCPtr(list)); if (C4dApiPINVOKE.SWIGPendingException.Pending) { throw C4dApiPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public void EdgePoints(int edge, SWIGTYPE_p_Int32 p1, SWIGTYPE_p_Int32 p2) { C4dApiPINVOKE.CPolygon_EdgePoints(swigCPtr, edge, SWIGTYPE_p_Int32.getCPtr(p1), SWIGTYPE_p_Int32.getCPtr(p2)); if (C4dApiPINVOKE.SWIGPendingException.Pending) { throw C4dApiPINVOKE.SWIGPendingException.Retrieve(); } }
public SWIGTYPE_p_Int32 GetPoint(int index) { SWIGTYPE_p_Int32 ret = new SWIGTYPE_p_Int32(C4dApiPINVOKE.CPolygon_GetPoint(swigCPtr, index), false); return(ret); }
public bool ReadInt32(SWIGTYPE_p_Int32 v) { bool ret = C4dApiPINVOKE.HyperFile_ReadInt32(swigCPtr, SWIGTYPE_p_Int32.getCPtr(v)); return(ret); }
public bool ReadChunkStart(SWIGTYPE_p_Int32 id, SWIGTYPE_p_Int32 level) { bool ret = C4dApiPINVOKE.HyperFile_ReadChunkStart(swigCPtr, SWIGTYPE_p_Int32.getCPtr(id), SWIGTYPE_p_Int32.getCPtr(level)); return(ret); }
public int GetDataTypeNames(BaseContainer bc, SWIGTYPE_p_Int32 ids) { int ret = C4dApiPINVOKE.GvWorld_GetDataTypeNames(swigCPtr, BaseContainer.getCPtr(bc), SWIGTYPE_p_Int32.getCPtr(ids)); if (C4dApiPINVOKE.SWIGPendingException.Pending) { throw C4dApiPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public bool GetNGonTranslationMap(int ngoncnt, SWIGTYPE_p_Int32 polymap, SWIGTYPE_p_p_p_Int32 ngons) { bool ret = C4dApiPINVOKE.PolygonObject_GetNGonTranslationMap(swigCPtr, ngoncnt, SWIGTYPE_p_Int32.getCPtr(polymap), SWIGTYPE_p_p_p_Int32.getCPtr(ngons)); if (C4dApiPINVOKE.SWIGPendingException.Pending) { throw C4dApiPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public string /* String_cstype */ GetVolumeName(SWIGTYPE_p_Int32 out_flags) /* <String_csout> */ { string ret = C4dApiPINVOKE.BrowseVolumes_GetVolumeName(swigCPtr, SWIGTYPE_p_Int32.getCPtr(out_flags)); return(ret); } /* </String_csout> */
public void GetPrivateData(SWIGTYPE_p_Int32 t_rayobject, SWIGTYPE_p_Int32 t_polygon) { C4dApiPINVOKE.RayHitID_GetPrivateData(swigCPtr, SWIGTYPE_p_Int32.getCPtr(t_rayobject), SWIGTYPE_p_Int32.getCPtr(t_polygon)); }
public bool ReEvalLong(SWIGTYPE_p_Int32 result, SWIGTYPE_p_Int32 error) { bool ret = C4dApiPINVOKE.Parser_ReEvalLong(swigCPtr, SWIGTYPE_p_Int32.getCPtr(result), SWIGTYPE_p_Int32.getCPtr(error)); return(ret); }
public bool CalculateLong(ParserCache pdat, SWIGTYPE_p_Int32 result, SWIGTYPE_p_Int32 error) { bool ret = C4dApiPINVOKE.Parser_CalculateLong(swigCPtr, ParserCache.getCPtr(pdat), SWIGTYPE_p_Int32.getCPtr(result), SWIGTYPE_p_Int32.getCPtr(error)); return(ret); }
public bool EvalLong(string /* constString&_cstype */ str, SWIGTYPE_p_Int32 error, SWIGTYPE_p_Int32 res, int unit, int basis) { bool ret = C4dApiPINVOKE.Parser_EvalLong(swigCPtr, str, SWIGTYPE_p_Int32.getCPtr(error), SWIGTYPE_p_Int32.getCPtr(res), unit, basis); if (C4dApiPINVOKE.SWIGPendingException.Pending) { throw C4dApiPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public bool GetObjectWithIndex(SWIGTYPE_p_p_BaseList2D o, GvRun r, SWIGTYPE_p_Int32 index) { bool ret = C4dApiPINVOKE.GvPort_GetObjectWithIndex__SWIG_0(swigCPtr, SWIGTYPE_p_p_BaseList2D.getCPtr(o), GvRun.getCPtr(r), SWIGTYPE_p_Int32.getCPtr(index)); if (C4dApiPINVOKE.SWIGPendingException.Pending) { throw C4dApiPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public bool GetInteger(SWIGTYPE_p_Int32 i, GvRun r) { bool ret = C4dApiPINVOKE.GvPort_GetInteger(swigCPtr, SWIGTYPE_p_Int32.getCPtr(i), GvRun.getCPtr(r)); return(ret); }
public ViewportPixel GetNearestPoint(BaseObject op, SWIGTYPE_p_Int32 x, SWIGTYPE_p_Int32 y, int maxrad, bool onlyselected, SWIGTYPE_p_Int32 ignorelist, int ignorecnt) { global::System.IntPtr cPtr = C4dApiPINVOKE.ViewportSelect_GetNearestPoint__SWIG_0(swigCPtr, BaseObject.getCPtr(op), SWIGTYPE_p_Int32.getCPtr(x), SWIGTYPE_p_Int32.getCPtr(y), maxrad, onlyselected, SWIGTYPE_p_Int32.getCPtr(ignorelist), ignorecnt); ViewportPixel ret = (cPtr == global::System.IntPtr.Zero) ? null : new ViewportPixel(cPtr, false); if (C4dApiPINVOKE.SWIGPendingException.Pending) { throw C4dApiPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public CAWeightTag GetWeightTag(SWIGTYPE_p_Int32 index) { global::System.IntPtr cPtr = C4dApiPINVOKE.CAJointObject_GetWeightTag(swigCPtr, SWIGTYPE_p_Int32.getCPtr(index)); CAWeightTag ret = (cPtr == global::System.IntPtr.Zero) ? null : new CAWeightTag(cPtr, false); if (C4dApiPINVOKE.SWIGPendingException.Pending) { throw C4dApiPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public ViewportPixel GetNearestPolygon(BaseObject op, SWIGTYPE_p_Int32 x, SWIGTYPE_p_Int32 y, int maxrad) { global::System.IntPtr cPtr = C4dApiPINVOKE.ViewportSelect_GetNearestPolygon__SWIG_3(swigCPtr, BaseObject.getCPtr(op), SWIGTYPE_p_Int32.getCPtr(x), SWIGTYPE_p_Int32.getCPtr(y), maxrad); ViewportPixel ret = (cPtr == global::System.IntPtr.Zero) ? null : new ViewportPixel(cPtr, false); if (C4dApiPINVOKE.SWIGPendingException.Pending) { throw C4dApiPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public bool GetDataTypesTable(SWIGTYPE_p_p_GvDataInfo info, SWIGTYPE_p_Int32 count) { bool ret = C4dApiPINVOKE.GvWorld_GetDataTypesTable(swigCPtr, SWIGTYPE_p_p_GvDataInfo.getCPtr(info), SWIGTYPE_p_Int32.getCPtr(count)); if (C4dApiPINVOKE.SWIGPendingException.Pending) { throw C4dApiPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }