Пример #1
0
        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);
        }
Пример #2
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_p_Int32 obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }