internal static HandleRef getCPtr(SWIGTYPE_p_p_CPolygon obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
示例#2
0
 public static bool TriangulateRegular(ref Fusee.Math.Core.Vector3D /* Vector*&_cstype */ pinp, int pinp_cnt, SWIGTYPE_p_LONG list, int lcnt, SWIGTYPE_p_p_Vector padr, SWIGTYPE_p_LONG pcnt, SWIGTYPE_p_p_CPolygon vadr, SWIGTYPE_p_LONG vcnt, double regular_width, BaseThread thread) {
   bool ret = C4dApiPINVOKE.TriangulateRegular(ref pinp /* Vector*&_csin */, pinp_cnt, SWIGTYPE_p_LONG.getCPtr(list), lcnt, SWIGTYPE_p_p_Vector.getCPtr(padr), SWIGTYPE_p_LONG.getCPtr(pcnt), SWIGTYPE_p_p_CPolygon.getCPtr(vadr), SWIGTYPE_p_LONG.getCPtr(vcnt), regular_width, BaseThread.getCPtr(thread));
   if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
示例#3
0
 public static bool Triangulate(ref Fusee.Math.Core.Vector3D /* Vector*&_cstype */ padr, int pcnt, SWIGTYPE_p_p_CPolygon vadr, SWIGTYPE_p_LONG vcnt) {
   bool ret = C4dApiPINVOKE.Triangulate(ref padr /* Vector*&_csin */, pcnt, SWIGTYPE_p_p_CPolygon.getCPtr(vadr), SWIGTYPE_p_LONG.getCPtr(vcnt));
   return ret;
 }
示例#4
0
 public static bool TriangulateStandard(ref Fusee.Math.Core.Vector3D /* Vector*&_cstype */ padr, int pcnt, SWIGTYPE_p_LONG list, int lcnt, SWIGTYPE_p_p_CPolygon vadr, SWIGTYPE_p_LONG vcnt, BaseThread thread) {
   bool ret = C4dApiPINVOKE.TriangulateStandard(ref padr /* Vector*&_csin */, pcnt, SWIGTYPE_p_LONG.getCPtr(list), lcnt, SWIGTYPE_p_p_CPolygon.getCPtr(vadr), SWIGTYPE_p_LONG.getCPtr(vcnt), BaseThread.getCPtr(thread));
   if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
示例#5
0
 public bool TriangulateRelease(ref Fusee.Math.Core.Vector3D /* Vector*&_cstype */ pvPoints, int lPointCount, SWIGTYPE_p_LONG plSegments, int lSegCnt, SWIGTYPE_p_p_CPolygon pPolys, SWIGTYPE_p_LONG lPolyCount, int lFlags, SWIGTYPE_p_LONG plMap, BaseThread pThread) {
   bool ret = C4dApiPINVOKE.PolyTriangulate_TriangulateRelease__SWIG_2(swigCPtr, ref pvPoints /* Vector*&_csin */, lPointCount, SWIGTYPE_p_LONG.getCPtr(plSegments), lSegCnt, SWIGTYPE_p_p_CPolygon.getCPtr(pPolys), SWIGTYPE_p_LONG.getCPtr(lPolyCount), lFlags, SWIGTYPE_p_LONG.getCPtr(plMap), BaseThread.getCPtr(pThread));
   if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }