You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
977 B
C#
31 lines
977 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Runtime.InteropServices;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Construction.BatchCreateMap
|
|
{
|
|
public class GeometryLibCall
|
|
{
|
|
#if DEBUG
|
|
const string DLL_FILE = "GeometryLibD.dll";
|
|
#else
|
|
const string DLL_FILE = "GeometryLib.dll";
|
|
#endif
|
|
[DllImport(DLL_FILE, EntryPoint = "GeometryLibDigHoles", CharSet = CharSet.Unicode, ExactSpelling = false, CallingConvention = CallingConvention.Cdecl)]
|
|
public static extern IntPtr GeometryLibDigHoles(string xml);
|
|
|
|
|
|
#if DEBUG
|
|
const string DLL_FILE2 = "GeoSigmaDraw.dll";
|
|
#else
|
|
const string DLL_FILE2 = "GeoSigmaDraw.dll";
|
|
#endif
|
|
[DllImport(DLL_FILE2, EntryPoint = "MergeCurve", CharSet = CharSet.Unicode, ExactSpelling = false, CallingConvention = CallingConvention.Cdecl)]
|
|
public static extern IntPtr MergeCurve(string curve1, string curve2, string mode);
|
|
|
|
}
|
|
}
|