14using System.Runtime.InteropServices;
17 private Object locker =
new Object();
18 private HandleRef swigCPtr;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
23 swigCPtr =
new HandleRef(
this, cPtr);
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
27 return (obj ==
null) ?
new HandleRef(
null, IntPtr.Zero) : obj.swigCPtr;
36 global::System.GC.SuppressFinalize(
this);
39 protected virtual void Dispose(
bool disposing) {
41 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
46 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero);
53 HandleRef crv3dPtr, crv2dPtr;
54 IntPtr orientation3dPtr, orientation2dPtr;
59 for (
int Ctr = 0; Ctr < numCurves; Ctr++)
61 crv3d[Ctr] =
new OdGeEntity3d(Marshal.ReadIntPtr(crv3dPtr, Ctr * Marshal.SizeOf(Marshal.SizeOf(typeof(IntPtr)))),
false);
62 crv2d[Ctr] =
new OdGeCurve2d(Marshal.ReadIntPtr(crv2dPtr, Ctr * Marshal.SizeOf(Marshal.SizeOf(typeof(IntPtr)))),
false);
64 orientation3d = Helpers.UnMarshalBoolFixedArray(orientation3dPtr, numCurves);
65 orientation2d = Helpers.UnMarshalBoolFixedArray(orientation2dPtr, numCurves);
72 public OdGeCurveBoundary(
int numCurves,
OdGeEntity3d[] crv3d,
OdGeCurve2d[] crv2d,
bool[] orientation3d,
bool[] orientation2d,
bool makeCopy) : this(
GlobalsPINVOKE.new_OdGeCurveBoundary__SWIG_1(numCurves, crv3d, crv2d,
Teigha.Core.Helpers.MarshalboolFixedArray(orientation3d),
Teigha.Core.Helpers.MarshalboolFixedArray(orientation2d), makeCopy), true) {
static global::System.Exception Retrieve()
static bool OdGeCurveBoundary_isDegenerate__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeCurveBoundary_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void delete_OdGeCurveBoundary(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdGeCurveBoundary_numElements(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeCurveBoundary_isDegenerate__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [In, MarshalAs(UnmanagedType.LPArray)]OdGeCurve2d[] jarg3)
static global::System.IntPtr OdGeCurveBoundary_set__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, [In, MarshalAs(UnmanagedType.LPArray)]OdGeEntity3d[] jarg3, [In, MarshalAs(UnmanagedType.LPArray)]OdGeCurve2d[] jarg4, IntPtr jarg5, IntPtr jarg6, bool jarg7)
static global::System.IntPtr OdGeCurveBoundary_setToOwnCurves(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGeCurveBoundary_getContour(HandleRef jarg1, out int jarg2, out HandleRef jarg3, out HandleRef jarg4, out IntPtr jarg5, out IntPtr jarg6)
static bool OdGeCurveBoundary_isOwnerOfCurves(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeCurveBoundary_set__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, [In, MarshalAs(UnmanagedType.LPArray)]OdGeEntity3d[] jarg3, [In, MarshalAs(UnmanagedType.LPArray)]OdGeCurve2d[] jarg4, IntPtr jarg5, IntPtr jarg6)
static HandleRef getCPtr(OdGeCurveBoundary obj)
OdGeCurveBoundary(int numCurves, OdGeEntity3d[] crv3d, OdGeCurve2d[] crv2d, bool[] orientation3d, bool[] orientation2d)
virtual void Dispose(bool disposing)
OdGeCurveBoundary(int numCurves, OdGeEntity3d[] crv3d, OdGeCurve2d[] crv2d, bool[] orientation3d, bool[] orientation2d, bool makeCopy)
OdGeCurveBoundary(IntPtr cPtr, bool cMemoryOwn)
OdGeCurveBoundary Assign(OdGeCurveBoundary crvBoundary)
OdGeCurveBoundary(OdGeCurveBoundary source)
OdGeCurveBoundary setToOwnCurves()
void getContour(out int numCurves, out OdGeEntity3d[] crv3d, out OdGeCurve2d[] crv2d, out bool[] orientation3d, out bool[] orientation2d)
bool isDegenerate(OdGePosition3d degenPoint, OdGeCurve2d[] paramCurve)
static HandleRef getCPtr(OdGePosition3d obj)