예제 #1
0
        internal static Atlas Create()
        {
            global::System.IntPtr cPtr = XAtlasPINVOKE.Create();
            Atlas ret = (cPtr == global::System.IntPtr.Zero) ? null : new Atlas(cPtr, false);

            return(ret);
        }
예제 #2
0
 internal static void ComputeCharts(Atlas Atlas, ChartOptions Options)
 {
     XAtlasPINVOKE.ComputeCharts__SWIG_0(Atlas.getCPtr(Atlas), ChartOptions.getCPtr(Options));
     if (XAtlasPINVOKE.SWIGPendingException.Pending)
     {
         throw XAtlasPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #3
0
 internal static void Generate(Atlas Atlas, ChartOptions ChartOptions)
 {
     XAtlasPINVOKE.Generate__SWIG_1(Atlas.getCPtr(Atlas), ChartOptions.getCPtr(ChartOptions));
     if (XAtlasPINVOKE.SWIGPendingException.Pending)
     {
         throw XAtlasPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #4
0
 internal static void PackCharts(Atlas Atlas, PackOptions PackOptions)
 {
     XAtlasPINVOKE.PackCharts__SWIG_0(Atlas.getCPtr(Atlas), PackOptions.getCPtr(PackOptions));
     if (XAtlasPINVOKE.SWIGPendingException.Pending)
     {
         throw XAtlasPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #5
0
        internal static AddMeshError AddMesh(Atlas Atlas, MeshDecl MeshDecl)
        {
            AddMeshError ret = (AddMeshError)XAtlasPINVOKE.AddMesh__SWIG_1(Atlas.getCPtr(Atlas), MeshDecl.getCPtr(MeshDecl));

            if (XAtlasPINVOKE.SWIGPendingException.Pending)
            {
                throw XAtlasPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #6
0
 protected virtual void Dispose(bool disposing)
 {
     lock (this) {
         if (swigCPtr.Handle != global::System.IntPtr.Zero)
         {
             if (swigCMemOwn)
             {
                 swigCMemOwn = false;
                 XAtlasPINVOKE.delete_Atlas(swigCPtr);
             }
             swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
         }
     }
 }
예제 #7
0
        public static string StringForEnum(AddMeshError Error)
        {
            string ret = XAtlasPINVOKE.StringForEnum__SWIG_0((int)Error);

            return(ret);
        }
예제 #8
0
 public static void SetPrint(XAtlas.PrintFuncDelegate Print, bool Verbose)
 {
     XAtlasPINVOKE.SetPrint(Print, Verbose);
 }
예제 #9
0
 public static void SetAlloc(XAtlas.ReallocFuncDelegate ReallocFunc)
 {
     XAtlasPINVOKE.SetAlloc__SWIG_1(ReallocFunc);
 }
예제 #10
0
 public PackOptions() : this(XAtlasPINVOKE.new_PackOptions(), true)
 {
 }
예제 #11
0
 internal static void SetProgressCallback(Atlas Atlas, XAtlas.ProgressFuncDelegate ProgressFunc, System.IntPtr ProgressUserData)
 {
     XAtlasPINVOKE.SetProgressCallback__SWIG_0(Atlas.getCPtr(Atlas), ProgressFunc, new System.Runtime.InteropServices.HandleRef(null, ProgressUserData));
 }
예제 #12
0
 internal static void Generate(Atlas Atlas)
 {
     XAtlasPINVOKE.Generate__SWIG_2(Atlas.getCPtr(Atlas));
 }
예제 #13
0
 internal static void PackCharts(Atlas Atlas)
 {
     XAtlasPINVOKE.PackCharts__SWIG_1(Atlas.getCPtr(Atlas));
 }
예제 #14
0
 internal static void ComputeCharts(Atlas Atlas)
 {
     XAtlasPINVOKE.ComputeCharts__SWIG_1(Atlas.getCPtr(Atlas));
 }
예제 #15
0
        public static string StringForEnum(ProgressCategory Category)
        {
            string ret = XAtlasPINVOKE.StringForEnum__SWIG_1((int)Category);

            return(ret);
        }
예제 #16
0
        public static int GetMeshSize()
        {
            int ret = XAtlasPINVOKE.GetMeshSize();

            return(ret);
        }
예제 #17
0
 internal static void SetProgressCallback(Atlas Atlas, XAtlas.ProgressFuncDelegate ProgressFunc)
 {
     XAtlasPINVOKE.SetProgressCallback__SWIG_1(Atlas.getCPtr(Atlas), ProgressFunc);
 }
예제 #18
0
 internal static void Destroy(Atlas Atlas)
 {
     XAtlasPINVOKE.Destroy(Atlas.getCPtr(Atlas));
 }
예제 #19
0
 internal static void SetProgressCallback(Atlas Atlas)
 {
     XAtlasPINVOKE.SetProgressCallback__SWIG_2(Atlas.getCPtr(Atlas));
 }
예제 #20
0
 public MeshDecl() : this(XAtlasPINVOKE.new_MeshDecl(), true)
 {
 }
예제 #21
0
 public static void SetAlloc(XAtlas.ReallocFuncDelegate ReallocFunc, XAtlas.FreeFuncDelegate FreeFunc)
 {
     XAtlasPINVOKE.SetAlloc__SWIG_0(ReallocFunc, FreeFunc);
 }
예제 #22
0
        public static int GetVertexSize()
        {
            int ret = XAtlasPINVOKE.GetVertexSize();

            return(ret);
        }
예제 #23
0
 internal static void AddMeshJoin(Atlas Atlas)
 {
     XAtlasPINVOKE.AddMeshJoin(Atlas.getCPtr(Atlas));
 }