Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
Globals.cs
Go to the documentation of this file.
1//------------------------------------------------------------------------------
2// <auto-generated />
3//
4// This file was automatically generated by SWIG (http://www.swig.org).
5// Version 4.0.2
6//
7// Do not make changes to this file unless you know what you are doing--modify
8// the SWIG interface file instead.
9//------------------------------------------------------------------------------
10
11namespace Teigha.Core {
12
13 using System;
14 using System.Runtime.InteropServices;
15
16public class Globals {
17 public static double kMmPerInch {
18 get {
19 double ret = GlobalsPINVOKE.kMmPerInch_get();
21 return ret;
22 }
23 }
24
25 public static bool OdPositive(double x, double tol) {
26 bool ret = GlobalsPINVOKE.OdPositive__SWIG_0(x, tol);
28 return ret;
29 }
30
31 public static bool OdPositive(double x) {
34 return ret;
35 }
36
37 public static bool OdNegative(double x, double tol) {
38 bool ret = GlobalsPINVOKE.OdNegative__SWIG_0(x, tol);
40 return ret;
41 }
42
43 public static bool OdNegative(double x) {
46 return ret;
47 }
48
49 public static bool OdZero(double x, double tol) {
50 bool ret = GlobalsPINVOKE.OdZero__SWIG_0(x, tol);
52 return ret;
53 }
54
55 public static bool OdZero(double x) {
56 bool ret = GlobalsPINVOKE.OdZero__SWIG_1(x);
58 return ret;
59 }
60
61 public static bool OdNonZero(double x, double tol) {
62 bool ret = GlobalsPINVOKE.OdNonZero__SWIG_0(x, tol);
64 return ret;
65 }
66
67 public static bool OdNonZero(double x) {
70 return ret;
71 }
72
73 public static bool OdEqual(double x, double y, double tol) {
74 bool ret = GlobalsPINVOKE.OdEqual__SWIG_0(x, y, tol);
76 return ret;
77 }
78
79 public static bool OdEqual(double x, double y) {
80 bool ret = GlobalsPINVOKE.OdEqual__SWIG_1(x, y);
82 return ret;
83 }
84
85 public static bool OdLess(double x, double y, double tol) {
86 bool ret = GlobalsPINVOKE.OdLess__SWIG_0(x, y, tol);
88 return ret;
89 }
90
91 public static bool OdLess(double x, double y) {
92 bool ret = GlobalsPINVOKE.OdLess__SWIG_1(x, y);
94 return ret;
95 }
96
97 public static bool OdLessOrEqual(double x, double y, double tol) {
98 bool ret = GlobalsPINVOKE.OdLessOrEqual__SWIG_0(x, y, tol);
100 return ret;
101 }
102
103 public static bool OdLessOrEqual(double x, double y) {
104 bool ret = GlobalsPINVOKE.OdLessOrEqual__SWIG_1(x, y);
106 return ret;
107 }
108
109 public static bool OdGreater(double x, double y, double tol) {
110 bool ret = GlobalsPINVOKE.OdGreater__SWIG_0(x, y, tol);
112 return ret;
113 }
114
115 public static bool OdGreater(double x, double y) {
116 bool ret = GlobalsPINVOKE.OdGreater__SWIG_1(x, y);
118 return ret;
119 }
120
121 public static bool OdGreaterOrEqual(double x, double y, double tol) {
122 bool ret = GlobalsPINVOKE.OdGreaterOrEqual__SWIG_0(x, y, tol);
124 return ret;
125 }
126
127 public static bool OdGreaterOrEqual(double x, double y) {
130 return ret;
131 }
132
133 public static double OdSign(double x) {
134 double ret = GlobalsPINVOKE.OdSign__SWIG_0(x);
136 return ret;
137 }
138
139 public static int OdSign(int x) {
140 int ret = GlobalsPINVOKE.OdSign__SWIG_1(x);
142 return ret;
143 }
144
145 public static int OdCmpDouble(double x, double y, double tol) {
146 int ret = GlobalsPINVOKE.OdCmpDouble__SWIG_0(x, y, tol);
148 return ret;
149 }
150
151 public static int OdCmpDouble(double x, double y) {
152 int ret = GlobalsPINVOKE.OdCmpDouble__SWIG_1(x, y);
154 return ret;
155 }
156
157 public static double safeDivide(double a, double b) {
158 double ret = GlobalsPINVOKE.safeDivide(a, b);
160 return ret;
161 }
162
163
164 public delegate bool GripWorldDrawPtrDelegate(OdDbGripData pThis,OdGiWorldDraw pWd,OdDbStub entId,DrawType type,OdGePoint3d imageGripPoint,double dGripSize);
165
166
167 [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
168 [return: MarshalAs(UnmanagedType.I1)]
169 public delegate bool GripWorldDrawPtrDelegateNative(IntPtr pThis,IntPtr pWd,IntPtr entId,DrawType type,IntPtr imageGripPoint,double dGripSize);
170
171
172 public delegate void GripViewportDrawPtrDelegate(OdDbGripData pThis,OdGiViewportDraw pWd,OdDbStub entId,DrawType type,OdGePoint3d imageGripPoint,int gripSize);
173
174
175 [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
176 public delegate void GripViewportDrawPtrDelegateNative(IntPtr pThis,IntPtr pWd,IntPtr entId,DrawType type,IntPtr imageGripPoint,int gripSize);
177
178
179 public delegate void GripOpStatusPtrDelegate(OdDbGripData pThis,OdDbStub entId,GripStatus status);
180
181
182 [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
183 public delegate void GripOpStatusPtrDelegateNative(IntPtr pThis,IntPtr entId,GripStatus status);
184
185
186 public delegate OdResult GripOperationPtrDelegate(OdDbGripData pThis,OdDbStub entId,int iContextFlags);
187
188
189 [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
190 public delegate OdResult GripOperationPtrDelegateNative(IntPtr pThis,IntPtr entId,int iContextFlags);
191
192
193 public delegate void PgetLocalTimeDelegate(OdTimeStamp _parameter);
194
195
196 [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
197 public delegate void PgetLocalTimeDelegateNative(IntPtr _parameter);
198
199
200 public delegate string GripToolTipPtrDelegate(OdDbGripData pThis);
201
202
203 [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
204
205 public delegate IntPtr GripToolTipPtrDelegateNative(IntPtr pThis);
206
207
208 public delegate void ContextMenuItemIndexPtrDelegate(UInt32 itemIndex);
209
210
211 [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
212 public delegate void ContextMenuItemIndexPtrDelegateNative(UInt32 itemIndex);
213
214
216
217
218 [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
219 public delegate OdResult GripRtClkHandlerDelegateNative(IntPtr hotGrips,IntPtr ents,IntPtr menuName,ref IntPtr menu,ref Globals.ContextMenuItemIndexPtrDelegateNative cb);
220
221
222 public delegate void OdEdCommandFunctionDelegate(OdEdCommandContext pCmdCtx);
223
224
225 [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
226 public delegate void OdEdCommandFunctionDelegateNative(IntPtr pCmdCtx);
227
228
229 public delegate void ODAUDITINFO_CALLBACKDelegate(OdAuditInfo info);
230
231
232 [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
233 public delegate void ODAUDITINFO_CALLBACKDelegateNative(IntPtr info);
234
235
236 public delegate void ODRXOBJECT_CALLBACKDelegate(OdRxObject obj);
237
238
239 [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
240 public delegate void ODRXOBJECT_CALLBACKDelegateNative(IntPtr obj);
241
242
244
245
246 [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
247
249
250
251 public delegate void OdAssertFuncDelegate(string expresssion,string filename,int nLineNo);
252
253
254 [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
255 public delegate void OdAssertFuncDelegateNative(string expresssion,string filename,int nLineNo);
256
257
258 public delegate bool OdCheckAssertGroupFuncDelegate(string group);
259
260
261 [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
262 [return: MarshalAs(UnmanagedType.I1)]
263 public delegate bool OdCheckAssertGroupFuncDelegateNative(string group);
264
265
266 public delegate void OdTraceFuncDelegate(string debugString);
267
268
269 [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
270 public delegate void OdTraceFuncDelegateNative(IntPtr debugString);
271
272
274
275
276 [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
277 public delegate void ODDBHYPERLINK_CALLBACKDelegateNative(IntPtr obj);
278
279
280 public delegate OdRxModule StaticModuleEntryPointDelegate(string szModuleName);
281
282
283 [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
284
285 public delegate IntPtr StaticModuleEntryPointDelegateNative(IntPtr szModuleName);
286
287
288 public delegate void MainThreadFuncDelegate(IntPtr arg1);
289
290
291 [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
292 public delegate void MainThreadFuncDelegateNative(IntPtr arg1);
293
294
295 public delegate void ExecuteMainThreadFuncDelegate(Globals.MainThreadFuncDelegate _func,IntPtr _arg);
296
297
298 [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
300
301
302 public delegate void AppNameChangeFuncPtrDelegate(OdRxClass classObj,ref String newAppName,int saveVer);
303
304
305 [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
306 public delegate void AppNameChangeFuncPtrDelegateNative(IntPtr classObj,IntPtr newAppName,int saveVer);
307
308
309 public delegate OdRxPropertyBase FindPropertyCallbackDelegate(OdRxObject pObject,string pszPropName);
310
311
312 [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
313
314 public delegate IntPtr FindPropertyCallbackDelegateNative(IntPtr pObject,IntPtr pszPropName);
315
316
318
319
320 [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
321 [return: MarshalAs(UnmanagedType.I1)]
322 public delegate bool ConvertValueCallbackDelegateNative(IntPtr pProperty,IntPtr value);
323
324
326
327
328 [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
329
330 public delegate IntPtr OdTfPropertiesConstructorTypeDelegateNative(IntPtr arg);
331
332
334
335
336 [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
337
338 public delegate IntPtr OdTfAttributesConstructorTypeDelegateNative(IntPtr arg);
339
340
342
343
344 [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
345 public delegate OdResult OdTfPropertyGetterTypeDelegateNative(IntPtr arg1,IntPtr arg2);
346
347
349
350
351 [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
352 public delegate OdResult OdTfPropertySetterTypeDelegateNative(IntPtr arg1,IntPtr arg2);
353
354
356
357
358 [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
359
361
362
363 public delegate void OdApcEntryPointVoidParamDelegate(IntPtr _parameter);
364
365
366 [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
367 public delegate void OdApcEntryPointVoidParamDelegateNative(IntPtr _parameter);
368
369
370 public delegate void OdApcEntryPointRxObjParamDelegate(OdRxObject parameter_);
371
372
373 [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
374 public delegate void OdApcEntryPointRxObjParamDelegateNative(IntPtr parameter_);
375
376
378
379
380 [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
381 public delegate void UpdateManagerProcessCallbackDelegateNative(OdGsUpdateManager.Action action,UInt32 viewportId,IntPtr drawableId,IntPtr pNode,IntPtr pElement);
382
383
384 public delegate void SetPtrFuncDelegate(IntPtr pPlace_,IntPtr pValue_);
385
386
387 [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
388 public delegate void SetPtrFuncDelegateNative(IntPtr pPlace_,IntPtr pValue_);
389
390 public static Globals.PgetLocalTimeDelegate g_pLocalTimeFunc {
391 set {
392 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN csvarin*/
393 Globals.PgetLocalTimeDelegateNative value_inDelegate = null;
394 if (value != null)
395 {
396 value_inDelegate = (IntPtr _parameter) =>
397 {
398 ;
399 try
400 {
401 value(OdMarshalHelper.PtrToObject<OdTimeStamp>(_parameter));
402 }
403 finally
404 {
405 ;
406 }
407 };
408 }
409 IntPtr value_ptr = (value_inDelegate == null) ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(value_inDelegate);
410 Teigha.Core.DelegateHolder.Add(value_inDelegate);
411 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN pre csin end*/
412 GlobalsPINVOKE.g_pLocalTimeFunc_set(value_ptr /*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN csin*/ );
414 }
415
416 get {
417 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN csvarout start*/
418 IntPtr nativeCallback = GlobalsPINVOKE.g_pLocalTimeFunc_get();
419
421 Globals.PgetLocalTimeDelegate outDelegate = null;
422 if (nativeCallback != IntPtr.Zero)
423 {
424 outDelegate = (OdTimeStamp _parameter) =>
425 {
426 Globals.PgetLocalTimeDelegateNative cPtr_NativeDelegate = Marshal.GetDelegateForFunctionPointer(nativeCallback, typeof(Globals.PgetLocalTimeDelegateNative)) as Globals.PgetLocalTimeDelegateNative;
427 ;
428 cPtr_NativeDelegate(OdMarshalHelper.ObjectToPtr<OdTimeStamp>(_parameter));
429 ;
430 };
431 }
432 return outDelegate;
433 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN csvarout end*/
434 }
435
436 }
437
442
447
452
457
462
467
472
473 public static IntPtr odrxAlloc(uint nBytes) {
474// test csout
475 /*SIMPLETYPE*/
476 IntPtr ret = GlobalsPINVOKE.odrxAlloc(nBytes);
478 return ret;
479 }
480
481 public static IntPtr odrxRealloc(IntPtr pMemBlock, uint newSize, uint oldSize) {
482// test csout
483 /*SIMPLETYPE*/
484 IntPtr ret = GlobalsPINVOKE.odrxRealloc(pMemBlock /*SIMPLETYPE*/, newSize, oldSize);
486 return ret;
487 }
488
489 public static void odrxFree(IntPtr pMemBlock) {
490 GlobalsPINVOKE.odrxFree(pMemBlock /*SIMPLETYPE*/);
492 }
493
494 public static UInt64 GetMemoryUsageInternalInfo(UInt32 target) {
495// test csout
496 /*SIMPLETYPE*/
497 UInt64 ret = GlobalsPINVOKE.GetMemoryUsageInternalInfo(target /*SIMPLETYPE*/);
499 return ret;
500 }
501
507
512
517
518 public static OdRxObject odrxCreateObject(String sClassName) {// OdRxObjectPtr
519 MemoryManager mMan = MemoryManager.GetMemoryManager();
520 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
521 IntPtr ptr = GlobalsPINVOKE.odrxCreateObject(sClassName);
522
523 OdRxObject ret = null;
524 if (null != mTrans)
525 {
526 mTrans.AddObject((OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, true));
527 ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, false);
528 }
529 else
530 {
531 ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, true);
532 }
533
535 return ret;
536}
537
538 public static void odrxRegisterDestructorCallback(Globals.ODRXOBJECT_CALLBACKDelegate /*CS_DELEGATE_CONNECT_TYPEMAP_PART_BASE cstype*/ callbackFunc) {
539/*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN pre csin start*/
540 Globals.ODRXOBJECT_CALLBACKDelegateNative callbackFunc_inDelegate = null;
541 if (callbackFunc != null)
542 {
543 callbackFunc_inDelegate = (IntPtr obj) =>
544 {
545 ;
546 try
547 {
548 callbackFunc(OdMarshalHelper.PtrToObject<OdRxObject>(obj));
549 }
550 finally
551 {
552 ;
553 }
554 };
555 }
556 IntPtr callbackFunc_ptr = (callbackFunc == null) ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(callbackFunc_inDelegate);
557 Teigha.Core.DelegateHolder.Add(callbackFunc_inDelegate);
558 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN pre csin end*/
559 try {
560 GlobalsPINVOKE.odrxRegisterDestructorCallback(callbackFunc_ptr /*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN csin*/ );
562 } finally {
563//Empty post /*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN post csin*/
564 }
565 }
566
571
577
583
589
595
601
602 public static OdGe.ErrorCondition geCalculateNormal(OdGePoint3d[] /*POINTARRAY_TYPEMAP_REV*/ points, OdGeVector3d pNormal, OdGeTol tol) {
603IntPtr p_points=Teigha.Core.Helpers.MarshalPoint3dArray(points);
604 try {
607 return ret;
608 } finally {
609Marshal.FreeCoTaskMem(p_points);
610 }
611 }
612
613 public static OdGe.ErrorCondition geCalculateNormal(OdGePoint3d[] /*POINTARRAY_TYPEMAP_REV*/ points, OdGeVector3d pNormal) {
614IntPtr p_points=Teigha.Core.Helpers.MarshalPoint3dArray(points);
615 try {
618 return ret;
619 } finally {
620Marshal.FreeCoTaskMem(p_points);
621 }
622 }
623
629
635
641
642 public static OdGe.ErrorCondition geCalculatePlane(OdGePoint3d[] /*POINTARRAY_TYPEMAP_REV*/ points, OdGePlane plane, OdGeTol tol, bool validateCoplanar) {
643IntPtr p_points=Teigha.Core.Helpers.MarshalPoint3dArray(points);
644 try {
647 return ret;
648 } finally {
649Marshal.FreeCoTaskMem(p_points);
650 }
651 }
652
653 public static OdGe.ErrorCondition geCalculatePlane(OdGePoint3d[] /*POINTARRAY_TYPEMAP_REV*/ points, OdGePlane plane, OdGeTol tol) {
654IntPtr p_points=Teigha.Core.Helpers.MarshalPoint3dArray(points);
655 try {
658 return ret;
659 } finally {
660Marshal.FreeCoTaskMem(p_points);
661 }
662 }
663
664 public static OdGe.ErrorCondition geCalculatePlane(OdGePoint3d[] /*POINTARRAY_TYPEMAP_REV*/ points, OdGePlane plane) {
665IntPtr p_points=Teigha.Core.Helpers.MarshalPoint3dArray(points);
666 try {
669 return ret;
670 } finally {
671Marshal.FreeCoTaskMem(p_points);
672 }
673 }
674
675 public static OdGe.ErrorCondition geCalculatePlane(OdGeCurve3d[] /*SIMPLE_REFARRAY*/ curves, UInt32 numCurves, OdGePlane plane, OdGeTol tol, bool validateCoplanar) {
676 OdGe.ErrorCondition ret = (OdGe.ErrorCondition)GlobalsPINVOKE.geCalculatePlane__SWIG_6(curves, numCurves /*SIMPLETYPE*/, OdGePlane.getCPtr(plane), OdGeTol.getCPtr(tol), validateCoplanar);
678 return ret;
679 }
680
681 public static OdGe.ErrorCondition geCalculatePlane(OdGeCurve3d[] /*SIMPLE_REFARRAY*/ curves, UInt32 numCurves, OdGePlane plane, OdGeTol tol) {
684 return ret;
685 }
686
687 public static OdGe.ErrorCondition geCalculatePlane(OdGeCurve3d[] /*SIMPLE_REFARRAY*/ curves, UInt32 numCurves, OdGePlane plane) {
688 OdGe.ErrorCondition ret = (OdGe.ErrorCondition)GlobalsPINVOKE.geCalculatePlane__SWIG_8(curves, numCurves /*SIMPLETYPE*/, OdGePlane.getCPtr(plane));
690 return ret;
691 }
692
693 public static OdGe.ErrorCondition geCalculatePlane(OdGeCurve3d[] /*SIMPLE_REFARRAY*/ curves, bool reverseFlags, UInt32 numCurves, OdGePlane plane, OdGeTol tol, bool validateCoplanar) {
694 OdGe.ErrorCondition ret = (OdGe.ErrorCondition)GlobalsPINVOKE.geCalculatePlane__SWIG_9(curves, reverseFlags /*SIMPLETYPE*/, numCurves /*SIMPLETYPE*/, OdGePlane.getCPtr(plane), OdGeTol.getCPtr(tol), validateCoplanar);
696 return ret;
697 }
698
699 public static OdGe.ErrorCondition geCalculatePlane(OdGeCurve3d[] /*SIMPLE_REFARRAY*/ curves, bool reverseFlags, UInt32 numCurves, OdGePlane plane, OdGeTol tol) {
700 OdGe.ErrorCondition ret = (OdGe.ErrorCondition)GlobalsPINVOKE.geCalculatePlane__SWIG_10(curves, reverseFlags /*SIMPLETYPE*/, numCurves /*SIMPLETYPE*/, OdGePlane.getCPtr(plane), OdGeTol.getCPtr(tol));
702 return ret;
703 }
704
705 public static OdGe.ErrorCondition geCalculatePlane(OdGeCurve3d[] /*SIMPLE_REFARRAY*/ curves, bool reverseFlags, UInt32 numCurves, OdGePlane plane) {
706 OdGe.ErrorCondition ret = (OdGe.ErrorCondition)GlobalsPINVOKE.geCalculatePlane__SWIG_11(curves, reverseFlags /*SIMPLETYPE*/, numCurves /*SIMPLETYPE*/, OdGePlane.getCPtr(plane));
708 return ret;
709 }
710
716
722
723 public static bool geSurfaceProp(OdGeSurface pS, out OdGe.NurbSurfaceProperties propU, out OdGe.NurbSurfaceProperties propV, OdGeTol tol) {
724 bool ret = GlobalsPINVOKE.geSurfaceProp(OdGeSurface.getCPtr(pS), out propU, out propV, OdGeTol.getCPtr(tol));
726 return ret;
727 }
728
729 public static String geToString(OdGe.EntityId val) {
730 string ret = GlobalsPINVOKE.geToString((int)val);
732 return ret;
733}
734
735 public static OdResult geIsDir2dOnSurfCoincide3d(OdGeSurface pSurf, OdGeCurve3d pCurve, OdGeCurve2d pParamCurve, out bool isCoincide, OdGeTol tol) {
738 return ret;
739 }
740
741 public static OdResult geIsDir2dOnSurfCoincide3d(OdGeSurface pSurf, OdGeCurve3d pCurve, OdGeCurve2d pParamCurve, out bool isCoincide) {
744 return ret;
745 }
746
747 public static double getSignedArea(OdGePoint2dArray arrPoints) {
748 double ret = GlobalsPINVOKE.getSignedArea(OdGePoint2dArray.getCPtr(arrPoints).Handle);
750 return ret;
751 }
752
753 public static bool isPolygonOutOfRect2d(UInt32 numPt, OdGePoint2d pPoints, OdGePoint2d minPt, OdGePoint2d maxPt) {
754 bool ret = GlobalsPINVOKE.isPolygonOutOfRect2d(numPt /*SIMPLETYPE*/, OdGePoint2d.getCPtr(pPoints), OdGePoint2d.getCPtr(minPt), OdGePoint2d.getCPtr(maxPt));
756 return ret;
757 }
758
763
769
770 public static OdGeVector2d Mul(double scale, OdGeVector2d vector) {
771 OdGeVector2d ret = new OdGeVector2d(GlobalsPINVOKE.Mul__SWIG_1(scale, OdGeVector2d.getCPtr(vector).Handle), true);
773 return ret;
774 }
775
781
782 public static OdGeVector3d Mul(double scale, OdGeVector3d vect) {
785 return ret;
786 }
787
793
794 public static int nOdVariantDataSize {
795 get {
798 return ret;
799 }
800 }
801
807
808 public static OdGePoint3d Mul(double scale, OdGePoint3d point) {
811 return ret;
812 }
813
814 public static void odgiImageViewport(OdGiViewportGeometry pGeom, OdGiRasterImage pImage, OdGePoint3d pBoundary, bool bFilter, double brightness, double contrast, double fade) {
815 GlobalsPINVOKE.odgiImageViewport__SWIG_0(OdGiViewportGeometry.getCPtr(pGeom), OdGiRasterImage.getCPtr(pImage), OdGePoint3d.getCPtr(pBoundary), bFilter, brightness, contrast, fade);
817 }
818
819 public static void odgiImageViewport(OdGiViewportGeometry pGeom, OdGiRasterImage pImage, OdGePoint3d pBoundary, bool bFilter, double brightness, double contrast) {
820 GlobalsPINVOKE.odgiImageViewport__SWIG_1(OdGiViewportGeometry.getCPtr(pGeom), OdGiRasterImage.getCPtr(pImage), OdGePoint3d.getCPtr(pBoundary), bFilter, brightness, contrast);
822 }
823
824 public static void odgiImageViewport(OdGiViewportGeometry pGeom, OdGiRasterImage pImage, OdGePoint3d pBoundary, bool bFilter, double brightness) {
827 }
828
833
838
839 public static double OdRound(double a) {
840 double ret = GlobalsPINVOKE.OdRound(a);
842 return ret;
843 }
844
845 public static int OdRoundToLong(double a) {
846 int ret = GlobalsPINVOKE.OdRoundToLong(a);
848 return ret;
849 }
850
851 public static int OdTruncateToLong(double a) {
852 int ret = GlobalsPINVOKE.OdTruncateToLong(a);
854 return ret;
855 }
856
857 public static void odDToStr(string dst, double val, char fmt, int prec, int cropzeros) {
858 GlobalsPINVOKE.odDToStr__SWIG_0(dst, val, fmt, prec, cropzeros);
860 }
861
862 public static void odDToStr(string dst, double val, char fmt, int prec) {
863 GlobalsPINVOKE.odDToStr__SWIG_1(dst, val, fmt, prec);
865 }
866
867 public static String odDToStr(double val, char fmt, int prec, int cropzeros) {
868 string ret = GlobalsPINVOKE.odDToStr__SWIG_2(val, fmt, prec, cropzeros);
870 return ret;
871}
872
873 public static String odDToStr(double val, char fmt, int prec) {
874 string ret = GlobalsPINVOKE.odDToStr__SWIG_3(val, fmt, prec);
876 return ret;
877}
878
879 public static double odStrToD(SWIGTYPE_p___wchar_t p, char[] /*SIMPLE_REFARRAY*/ ppend) {
880 double ret = GlobalsPINVOKE.odStrToD__SWIG_0(SWIGTYPE_p___wchar_t.getCPtr(p), ppend);
882 return ret;
883 }
884
890
891 public static double odStrToD(String arg0) {
892 double ret = GlobalsPINVOKE.odStrToD__SWIG_2(arg0);
894 return ret;
895 }
896
897 public static OdGeDoubleArray odgiGetAllDeviations(OdGiDeviation deviationObj, OdGePoint3d pointOnCurve) {
898// csout array
900
902 return res;
903}
904
912
913 public static int getHexValue(int hexDigit) {
914 int ret = GlobalsPINVOKE.getHexValue(hexDigit);
916 return ret;
917 }
918
919 public static IntPtr kNullSubentIndex {
920 get {
921 /*SIMPLETYPE*/
924 return ret;
925 }
926 }
927
933
934 public static bool odExecuteMainThreadAction(Globals.MainThreadFuncDelegate /*CS_DELEGATE_CONNECT_TYPEMAP_PART_BASE cstype*/ mtFunc, IntPtr pArg, bool bExecST) {
935/*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN pre csin start*/
936 Globals.MainThreadFuncDelegateNative mtFunc_inDelegate = null;
937 if (mtFunc != null)
938 {
939 mtFunc_inDelegate = (IntPtr arg1) =>
940 {
941 ;
942 try
943 {
944 mtFunc(arg1);
945 }
946 finally
947 {
948 ;
949 }
950 };
951 }
952 IntPtr mtFunc_ptr = (mtFunc == null) ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(mtFunc_inDelegate);
953 Teigha.Core.DelegateHolder.Add(mtFunc_inDelegate);
954 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN pre csin end*/
955 try {
956 bool ret = GlobalsPINVOKE.odExecuteMainThreadAction__SWIG_0(mtFunc_ptr /*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN csin*/ , pArg /*SIMPLETYPE*/, bExecST);
958 return ret;
959 } finally {
960//Empty post /*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN post csin*/
961 }
962 }
963
964 public static bool odExecuteMainThreadAction(Globals.MainThreadFuncDelegate /*CS_DELEGATE_CONNECT_TYPEMAP_PART_BASE cstype*/ mtFunc, IntPtr pArg) {
965/*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN pre csin start*/
966 Globals.MainThreadFuncDelegateNative mtFunc_inDelegate = null;
967 if (mtFunc != null)
968 {
969 mtFunc_inDelegate = (IntPtr arg1) =>
970 {
971 ;
972 try
973 {
974 mtFunc(arg1);
975 }
976 finally
977 {
978 ;
979 }
980 };
981 }
982 IntPtr mtFunc_ptr = (mtFunc == null) ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(mtFunc_inDelegate);
983 Teigha.Core.DelegateHolder.Add(mtFunc_inDelegate);
984 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN pre csin end*/
985 try {
986 bool ret = GlobalsPINVOKE.odExecuteMainThreadAction__SWIG_1(mtFunc_ptr /*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN csin*/ , pArg /*SIMPLETYPE*/);
988 return ret;
989 } finally {
990//Empty post /*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN post csin*/
991 }
992 }
993
999
1004
1010
1015
1017 OdRxObject ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),GlobalsPINVOKE.baseDatabaseBy(OdDbStub.getCPtr(id)),false); /*createInt 3_2*/
1018
1020 return ret;
1021}
1022
1027
1032
1033 public static bool isInvalid(ViewPropsArray props) {
1036 return ret;
1037 }
1038
1044
1045 public static OdGiXform odgiGetModelToEyeXform(OdGiModelToViewProc pThis) {// OdGiXformPtr
1046 MemoryManager mMan = MemoryManager.GetMemoryManager();
1047 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
1049
1050 OdGiXform ret = null;
1051 if (null != mTrans)
1052 {
1053 mTrans.AddObject((OdGiXform)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiXform),ptr, true));
1054 ret = (OdGiXform)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiXform),ptr, false);
1055 }
1056 else
1057 {
1058 ret = (OdGiXform)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiXform),ptr, true);
1059 }
1060
1062 return ret;
1063}
1064
1065 public static OdGiXform odgiGetEyeToModelXform(OdGiModelToViewProc pThis) {// OdGiXformPtr
1066 MemoryManager mMan = MemoryManager.GetMemoryManager();
1067 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
1069
1070 OdGiXform ret = null;
1071 if (null != mTrans)
1072 {
1073 mTrans.AddObject((OdGiXform)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiXform),ptr, true));
1074 ret = (OdGiXform)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiXform),ptr, false);
1075 }
1076 else
1077 {
1078 ret = (OdGiXform)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiXform),ptr, true);
1079 }
1080
1082 return ret;
1083}
1084
1090
1091 public static void addLocalHeaps(uint nThreadId, UInt32 aThreadId) {
1092 GlobalsPINVOKE.addLocalHeaps(nThreadId, aThreadId);
1094 }
1095
1096 public static void releaseLocalHeaps(uint nThreadId, UInt32 aThreadId) {
1097 GlobalsPINVOKE.releaseLocalHeaps(nThreadId, aThreadId);
1099 }
1100
1101 public static OdGiDrawable fxOpenDrawable(OdGsBaseModel arg0, OdDbStub arg1) {// OdGiDrawablePtr
1102 MemoryManager mMan = MemoryManager.GetMemoryManager();
1103 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
1105
1106 OdGiDrawable ret = null;
1107 if (null != mTrans)
1108 {
1109 mTrans.AddObject((OdGiDrawable)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiDrawable),ptr, true));
1110 ret = (OdGiDrawable)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiDrawable),ptr, false);
1111 }
1112 else
1113 {
1114 ret = (OdGiDrawable)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiDrawable),ptr, true);
1115 }
1116
1118 return ret;
1119}
1120
1121 public static double calcFocalLength(double lensLength, double fieldWidth, double fieldHeight) {
1122 double ret = GlobalsPINVOKE.calcFocalLength(lensLength, fieldWidth, fieldHeight);
1124 return ret;
1125 }
1126
1127 public static void odgiCalculateTextBasis(OdGeVector3d u, OdGeVector3d v, OdGeVector3d normal, OdGeVector3d direction, double height, double width, double oblique, bool bMirrorX, bool bMirrorY) {
1128 GlobalsPINVOKE.odgiCalculateTextBasis__SWIG_0(OdGeVector3d.getCPtr(u), OdGeVector3d.getCPtr(v), OdGeVector3d.getCPtr(normal), OdGeVector3d.getCPtr(direction), height, width, oblique, bMirrorX, bMirrorY);
1130 }
1131
1132 public static void odgiCalculateTextBasis(OdGeVector3d u, OdGeVector3d v, OdGeVector3d normal, OdGeVector3d direction, double height, double width, double oblique, bool bMirrorX) {
1135 }
1136
1137 public static void odgiCalculateTextBasis(OdGeVector3d u, OdGeVector3d v, OdGeVector3d normal, OdGeVector3d direction, double height, double width, double oblique) {
1140 }
1141
1143 global::System.IntPtr cPtr = GlobalsPINVOKE.odgiPrepareTextStyle(OdGiTextStyle.getCPtr(pStyle), OdGiTextStyle.getCPtr(res));
1144 OdGiTextStyle ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGiTextStyle(cPtr, false);
1146 return ret;
1147 }
1148
1154
1159
1165
1171
1177
1183
1189
1195
1201
1207
1213
1219
1225
1231
1236
1237 public static bool extendExtents(out double minValue, out double maxValue, double value) {
1238 bool ret = GlobalsPINVOKE.extendExtents__SWIG_0(out minValue, out maxValue, value);
1240 return ret;
1241 }
1242
1248
1254
1260
1261 public static OdGiDrawable fxUnderlyingDrawable(OdGsNode arg0) {// OdGiDrawablePtr
1262 MemoryManager mMan = MemoryManager.GetMemoryManager();
1263 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
1265
1266 OdGiDrawable ret = null;
1267 if (null != mTrans)
1268 {
1269 mTrans.AddObject((OdGiDrawable)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiDrawable),ptr, true));
1270 ret = (OdGiDrawable)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiDrawable),ptr, false);
1271 }
1272 else
1273 {
1274 ret = (OdGiDrawable)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiDrawable),ptr, true);
1275 }
1276
1278 return ret;
1279}
1280
1288
1290 get {
1293 return ret;
1294 }
1295 }
1296
1297 public static bool IsEqual(OdTfVariant.Type lhs, OdVariant.Type rhs) {
1298 bool ret = GlobalsPINVOKE.IsEqual__SWIG_1((int)lhs, (int)rhs);
1300 return ret;
1301 }
1302
1303 public static bool IsNotEqual(OdTfVariant.Type lhs, OdVariant.Type rhs) {
1304 bool ret = GlobalsPINVOKE.IsNotEqual__SWIG_1((int)lhs, (int)rhs);
1306 return ret;
1307 }
1308
1309 public static bool IsEqual(OdVariant.Type lhs, OdTfVariant.Type rhs) {
1310 bool ret = GlobalsPINVOKE.IsEqual__SWIG_2((int)lhs, (int)rhs);
1312 return ret;
1313 }
1314
1315 public static bool IsNotEqual(OdVariant.Type lhs, OdTfVariant.Type rhs) {
1316 bool ret = GlobalsPINVOKE.IsNotEqual__SWIG_2((int)lhs, (int)rhs);
1318 return ret;
1319 }
1320
1322 OdRxDictionary ret = (OdRxDictionary)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxDictionary),GlobalsPINVOKE.odrxSysRegistry(),false); /*createInt 3_2*/
1323
1325 return ret;
1326}
1327
1328 public static OdRxDictionary odrxClassDictionary() {// OdRxDictionaryPtr
1329 MemoryManager mMan = MemoryManager.GetMemoryManager();
1330 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
1331 IntPtr ptr = GlobalsPINVOKE.odrxClassDictionary();
1332
1333 OdRxDictionary ret = null;
1334 if (null != mTrans)
1335 {
1336 mTrans.AddObject((OdRxDictionary)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxDictionary),ptr, true));
1337 ret = (OdRxDictionary)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxDictionary),ptr, false);
1338 }
1339 else
1340 {
1341 ret = (OdRxDictionary)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxDictionary),ptr, true);
1342 }
1343
1345 return ret;
1346}
1347
1348 public static OdRxClass odrxGetClassDesc(String className) {
1349 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),GlobalsPINVOKE.odrxGetClassDesc(className),false); /*createInt 3_2*/
1350
1352 return ret;
1353}
1354
1355 public static OdRxClass odrxSafeGetClassDesc(String className) {
1356 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),GlobalsPINVOKE.odrxSafeGetClassDesc(className),false); /*createInt 3_2*/
1357
1359 return ret;
1360}
1361
1362 public static OdRxDictionary odrxServiceDictionary() {// OdRxDictionaryPtr
1363 MemoryManager mMan = MemoryManager.GetMemoryManager();
1364 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
1366
1367 OdRxDictionary ret = null;
1368 if (null != mTrans)
1369 {
1370 mTrans.AddObject((OdRxDictionary)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxDictionary),ptr, true));
1371 ret = (OdRxDictionary)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxDictionary),ptr, false);
1372 }
1373 else
1374 {
1375 ret = (OdRxDictionary)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxDictionary),ptr, true);
1376 }
1377
1379 return ret;
1380}
1381
1382 public static OdRxDictionary odrxCreateRxDictionary() {// OdRxDictionaryPtr
1383 MemoryManager mMan = MemoryManager.GetMemoryManager();
1384 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
1386
1387 OdRxDictionary ret = null;
1388 if (null != mTrans)
1389 {
1390 mTrans.AddObject((OdRxDictionary)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxDictionary),ptr, true));
1391 ret = (OdRxDictionary)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxDictionary),ptr, false);
1392 }
1393 else
1394 {
1395 ret = (OdRxDictionary)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxDictionary),ptr, true);
1396 }
1397
1399 return ret;
1400}
1401
1402 public static OdRxDictionary odrxCreateSyncRxDictionary() {// OdRxDictionaryPtr
1403 MemoryManager mMan = MemoryManager.GetMemoryManager();
1404 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
1406
1407 OdRxDictionary ret = null;
1408 if (null != mTrans)
1409 {
1410 mTrans.AddObject((OdRxDictionary)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxDictionary),ptr, true));
1411 ret = (OdRxDictionary)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxDictionary),ptr, false);
1412 }
1413 else
1414 {
1415 ret = (OdRxDictionary)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxDictionary),ptr, true);
1416 }
1417
1419 return ret;
1420}
1421
1422 public static OdGeNurbSurface convertFrom(OdGeSurface source, OdGeTol tol, bool sameParametrization) {
1423 global::System.IntPtr cPtr = GlobalsPINVOKE.convertFrom__SWIG_0(OdGeSurface.getCPtr(source), OdGeTol.getCPtr(tol), sameParametrization);
1424 OdGeNurbSurface ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeNurbSurface(cPtr, false);
1426 return ret;
1427 }
1428
1429 public static OdGeNurbSurface convertFrom(OdGeSurface source, OdGeTol tol) {
1430 global::System.IntPtr cPtr = GlobalsPINVOKE.convertFrom__SWIG_1(OdGeSurface.getCPtr(source), OdGeTol.getCPtr(tol));
1431 OdGeNurbSurface ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeNurbSurface(cPtr, false);
1433 return ret;
1434 }
1435
1437 global::System.IntPtr cPtr = GlobalsPINVOKE.convertFrom__SWIG_2(OdGeSurface.getCPtr(source));
1438 OdGeNurbSurface ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeNurbSurface(cPtr, false);
1440 return ret;
1441 }
1442
1449
1450
1451 public static OdTfClass newOdTfClass(String name, OdRxClass pBaseClass, Globals.OdTfAttributesConstructorTypeDelegate /*CS_DELEGATE_CONNECT_TYPEMAP_PART_BASE cstype*/ pAttrsConstr, Globals.OdTfPropertiesConstructorTypeDelegate /*CS_DELEGATE_CONNECT_TYPEMAP_PART_BASE cstype*/ pPropsConstr, Globals.OdPseudoConstructorTypeDelegate /*CS_DELEGATE_CONNECT_TYPEMAP_PART_BASE cstype*/ pConstr, bool bRegister) {
1452/*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin start*/
1453 Globals.OdTfAttributesConstructorTypeDelegateNative pAttrsConstr_inDelegate = null;
1454 if (pAttrsConstr != null)
1455 {
1456 pAttrsConstr_inDelegate = (IntPtr arg) =>
1457 {
1458 ;
1459 try
1460 {
1461 return OdMarshalHelper.ObjectToPtr<OdTfAttributePtrArray>(pAttrsConstr(OdMarshalHelper.PtrToObject<OdRxObject>(arg)));
1462 }
1463 finally
1464 {
1465 ;
1466 }
1467 };
1468 }
1469 IntPtr pAttrsConstr_ptr = (pAttrsConstr == null) ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(pAttrsConstr_inDelegate);
1470 Teigha.Core.DelegateHolder.Add(pAttrsConstr_inDelegate);
1471 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin end*/
1472/*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin start*/
1473 Globals.OdTfPropertiesConstructorTypeDelegateNative pPropsConstr_inDelegate = null;
1474 if (pPropsConstr != null)
1475 {
1476 pPropsConstr_inDelegate = (IntPtr arg) =>
1477 {
1478 ;
1479 try
1480 {
1481 return OdMarshalHelper.ObjectToPtr<OdTfPropertyPtrArray>(pPropsConstr(OdMarshalHelper.PtrToObject<OdTfClass>(arg)));
1482 }
1483 finally
1484 {
1485 ;
1486 }
1487 };
1488 }
1489 IntPtr pPropsConstr_ptr = (pPropsConstr == null) ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(pPropsConstr_inDelegate);
1490 Teigha.Core.DelegateHolder.Add(pPropsConstr_inDelegate);
1491 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin end*/
1492/*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin start*/
1493 Globals.OdPseudoConstructorTypeDelegateNative pConstr_inDelegate = null;
1494 if (pConstr != null)
1495 {
1496 pConstr_inDelegate = () =>
1497 {
1498 ;
1499 try
1500 {
1501 return OdMarshalHelper.ObjectToPtr<OdRxObject>(pConstr());
1502 }
1503 finally
1504 {
1505 ;
1506 }
1507 };
1508 }
1509 IntPtr pConstr_ptr = (pConstr == null) ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(pConstr_inDelegate);
1510 Teigha.Core.DelegateHolder.Add(pConstr_inDelegate);
1511 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin end*/
1512 try {
1513 OdTfClass ret = (OdTfClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdTfClass),GlobalsPINVOKE.newOdTfClass__SWIG_0(name, OdRxClass.getCPtr(pBaseClass), pAttrsConstr_ptr /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN csin*/ , pPropsConstr_ptr /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN csin*/ , pConstr_ptr /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN csin*/ , bRegister),false); /*createInt 3_2*/
1514
1516 return ret;
1517} finally {
1518//Empty post /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN post csin*/
1519//Empty post /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN post csin*/
1520//Empty post /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN post csin*/
1521 }
1522 }
1523
1524 public static OdTfClass newOdTfClass(String name, OdRxClass pBaseClass, Globals.OdTfAttributesConstructorTypeDelegate /*CS_DELEGATE_CONNECT_TYPEMAP_PART_BASE cstype*/ pAttrsConstr, Globals.OdTfPropertiesConstructorTypeDelegate /*CS_DELEGATE_CONNECT_TYPEMAP_PART_BASE cstype*/ pPropsConstr, Globals.OdPseudoConstructorTypeDelegate /*CS_DELEGATE_CONNECT_TYPEMAP_PART_BASE cstype*/ pConstr) {
1525/*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin start*/
1526 Globals.OdTfAttributesConstructorTypeDelegateNative pAttrsConstr_inDelegate = null;
1527 if (pAttrsConstr != null)
1528 {
1529 pAttrsConstr_inDelegate = (IntPtr arg) =>
1530 {
1531 ;
1532 try
1533 {
1534 return OdMarshalHelper.ObjectToPtr<OdTfAttributePtrArray>(pAttrsConstr(OdMarshalHelper.PtrToObject<OdRxObject>(arg)));
1535 }
1536 finally
1537 {
1538 ;
1539 }
1540 };
1541 }
1542 IntPtr pAttrsConstr_ptr = (pAttrsConstr == null) ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(pAttrsConstr_inDelegate);
1543 Teigha.Core.DelegateHolder.Add(pAttrsConstr_inDelegate);
1544 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin end*/
1545/*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin start*/
1546 Globals.OdTfPropertiesConstructorTypeDelegateNative pPropsConstr_inDelegate = null;
1547 if (pPropsConstr != null)
1548 {
1549 pPropsConstr_inDelegate = (IntPtr arg) =>
1550 {
1551 ;
1552 try
1553 {
1554 return OdMarshalHelper.ObjectToPtr<OdTfPropertyPtrArray>(pPropsConstr(OdMarshalHelper.PtrToObject<OdTfClass>(arg)));
1555 }
1556 finally
1557 {
1558 ;
1559 }
1560 };
1561 }
1562 IntPtr pPropsConstr_ptr = (pPropsConstr == null) ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(pPropsConstr_inDelegate);
1563 Teigha.Core.DelegateHolder.Add(pPropsConstr_inDelegate);
1564 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin end*/
1565/*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin start*/
1566 Globals.OdPseudoConstructorTypeDelegateNative pConstr_inDelegate = null;
1567 if (pConstr != null)
1568 {
1569 pConstr_inDelegate = () =>
1570 {
1571 ;
1572 try
1573 {
1574 return OdMarshalHelper.ObjectToPtr<OdRxObject>(pConstr());
1575 }
1576 finally
1577 {
1578 ;
1579 }
1580 };
1581 }
1582 IntPtr pConstr_ptr = (pConstr == null) ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(pConstr_inDelegate);
1583 Teigha.Core.DelegateHolder.Add(pConstr_inDelegate);
1584 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin end*/
1585 try {
1586 OdTfClass ret = (OdTfClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdTfClass),GlobalsPINVOKE.newOdTfClass__SWIG_1(name, OdRxClass.getCPtr(pBaseClass), pAttrsConstr_ptr /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN csin*/ , pPropsConstr_ptr /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN csin*/ , pConstr_ptr /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN csin*/ ),false); /*createInt 3_2*/
1587
1589 return ret;
1590} finally {
1591//Empty post /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN post csin*/
1592//Empty post /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN post csin*/
1593//Empty post /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN post csin*/
1594 }
1595 }
1596
1597 public static OdTfClass createOdTfClass() {
1598 OdTfClass ret = (OdTfClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdTfClass),GlobalsPINVOKE.createOdTfClass(),false); /*createInt 3_2*/
1599
1601 return ret;
1602}
1603
1604 public static OdTfClass initOdTfClass(OdTfClass pClass, String name, OdRxClass pBaseClass, OdTfAttributePtrArray attributes, OdTfPropertyPtrArray properties, Globals.OdPseudoConstructorTypeDelegate /*CS_DELEGATE_CONNECT_TYPEMAP_PART_BASE cstype*/ pConstr, bool bRegister) {
1605/*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin start*/
1606 Globals.OdPseudoConstructorTypeDelegateNative pConstr_inDelegate = null;
1607 if (pConstr != null)
1608 {
1609 pConstr_inDelegate = () =>
1610 {
1611 ;
1612 try
1613 {
1614 return OdMarshalHelper.ObjectToPtr<OdRxObject>(pConstr());
1615 }
1616 finally
1617 {
1618 ;
1619 }
1620 };
1621 }
1622 IntPtr pConstr_ptr = (pConstr == null) ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(pConstr_inDelegate);
1623 Teigha.Core.DelegateHolder.Add(pConstr_inDelegate);
1624 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin end*/
1625 try {
1626 OdTfClass ret = (OdTfClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdTfClass),GlobalsPINVOKE.initOdTfClass__SWIG_0(OdTfClass.getCPtr(pClass), name, OdRxClass.getCPtr(pBaseClass), OdTfAttributePtrArray.getCPtr(attributes), OdTfPropertyPtrArray.getCPtr(properties), pConstr_ptr /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN csin*/ , bRegister),false); /*createInt 3_2*/
1627
1629 return ret;
1630} finally {
1631//Empty post /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN post csin*/
1632 }
1633 }
1634
1635 public static OdTfClass initOdTfClass(OdTfClass pClass, String name, OdRxClass pBaseClass, OdTfAttributePtrArray attributes, OdTfPropertyPtrArray properties, Globals.OdPseudoConstructorTypeDelegate /*CS_DELEGATE_CONNECT_TYPEMAP_PART_BASE cstype*/ pConstr) {
1636/*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin start*/
1637 Globals.OdPseudoConstructorTypeDelegateNative pConstr_inDelegate = null;
1638 if (pConstr != null)
1639 {
1640 pConstr_inDelegate = () =>
1641 {
1642 ;
1643 try
1644 {
1645 return OdMarshalHelper.ObjectToPtr<OdRxObject>(pConstr());
1646 }
1647 finally
1648 {
1649 ;
1650 }
1651 };
1652 }
1653 IntPtr pConstr_ptr = (pConstr == null) ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(pConstr_inDelegate);
1654 Teigha.Core.DelegateHolder.Add(pConstr_inDelegate);
1655 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin end*/
1656 try {
1657 OdTfClass ret = (OdTfClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdTfClass),GlobalsPINVOKE.initOdTfClass__SWIG_1(OdTfClass.getCPtr(pClass), name, OdRxClass.getCPtr(pBaseClass), OdTfAttributePtrArray.getCPtr(attributes), OdTfPropertyPtrArray.getCPtr(properties), pConstr_ptr /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN csin*/ ),false); /*createInt 3_2*/
1658
1660 return ret;
1661} finally {
1662//Empty post /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN post csin*/
1663 }
1664 }
1665
1666 public static OdTfProperty newOdTfProperty(String name, OdTfClass pOwner, OdTfVariant.Type type, Globals.OdTfAttributesConstructorTypeDelegate /*CS_DELEGATE_CONNECT_TYPEMAP_PART_BASE cstype*/ pAttrsConstr, Globals.OdTfVariantConstructorTypeDelegate /*CS_DELEGATE_CONNECT_TYPEMAP_PART_BASE cstype*/ pDefaultValueConstructor, Globals.OdTfPropertyGetterTypeDelegate /*CS_DELEGATE_CONNECT_TYPEMAP_PART_BASE cstype*/ pGetter, Globals.OdTfPropertySetterTypeDelegate /*CS_DELEGATE_CONNECT_TYPEMAP_PART_BASE cstype*/ pSetter) {
1667/*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin start*/
1668 Globals.OdTfAttributesConstructorTypeDelegateNative pAttrsConstr_inDelegate = null;
1669 if (pAttrsConstr != null)
1670 {
1671 pAttrsConstr_inDelegate = (IntPtr arg) =>
1672 {
1673 ;
1674 try
1675 {
1676 return OdMarshalHelper.ObjectToPtr<OdTfAttributePtrArray>(pAttrsConstr(OdMarshalHelper.PtrToObject<OdRxObject>(arg)));
1677 }
1678 finally
1679 {
1680 ;
1681 }
1682 };
1683 }
1684 IntPtr pAttrsConstr_ptr = (pAttrsConstr == null) ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(pAttrsConstr_inDelegate);
1685 Teigha.Core.DelegateHolder.Add(pAttrsConstr_inDelegate);
1686 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin end*/
1687/*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin start*/
1688 Globals.OdTfVariantConstructorTypeDelegateNative pDefaultValueConstructor_inDelegate = null;
1689 if (pDefaultValueConstructor != null)
1690 {
1691 pDefaultValueConstructor_inDelegate = () =>
1692 {
1693 ;
1694 try
1695 {
1696 return OdMarshalHelper.ObjectToPtr<OdTfVariant>(pDefaultValueConstructor());
1697 }
1698 finally
1699 {
1700 ;
1701 }
1702 };
1703 }
1704 IntPtr pDefaultValueConstructor_ptr = (pDefaultValueConstructor == null) ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(pDefaultValueConstructor_inDelegate);
1705 Teigha.Core.DelegateHolder.Add(pDefaultValueConstructor_inDelegate);
1706 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin end*/
1707/*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin start*/
1708 Globals.OdTfPropertyGetterTypeDelegateNative pGetter_inDelegate = null;
1709 if (pGetter != null)
1710 {
1711 pGetter_inDelegate = (IntPtr arg1,IntPtr arg2) =>
1712 {
1713 ;
1714 try
1715 {
1716 return (pGetter(OdMarshalHelper.PtrToObject<OdTfObject>(arg1),OdMarshalHelper.PtrToObject<OdTfVariant>(arg2)));
1717 }
1718 finally
1719 {
1720 ;
1721 }
1722 };
1723 }
1724 IntPtr pGetter_ptr = (pGetter == null) ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(pGetter_inDelegate);
1725 Teigha.Core.DelegateHolder.Add(pGetter_inDelegate);
1726 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin end*/
1727/*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin start*/
1728 Globals.OdTfPropertySetterTypeDelegateNative pSetter_inDelegate = null;
1729 if (pSetter != null)
1730 {
1731 pSetter_inDelegate = (IntPtr arg1,IntPtr arg2) =>
1732 {
1733 ;
1734 try
1735 {
1736 return (pSetter(OdMarshalHelper.PtrToObject<OdTfObject>(arg1),OdMarshalHelper.PtrToObject<OdTfVariant>(arg2)));
1737 }
1738 finally
1739 {
1740 ;
1741 }
1742 };
1743 }
1744 IntPtr pSetter_ptr = (pSetter == null) ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(pSetter_inDelegate);
1745 Teigha.Core.DelegateHolder.Add(pSetter_inDelegate);
1746 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin end*/
1747 try {
1748 OdTfProperty ret = (OdTfProperty)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdTfProperty),GlobalsPINVOKE.newOdTfProperty(name, OdTfClass.getCPtr(pOwner), (int)type, pAttrsConstr_ptr /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN csin*/ , pDefaultValueConstructor_ptr /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN csin*/ , pGetter_ptr /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN csin*/ , pSetter_ptr /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN csin*/ ),false); /*createInt 3_2*/
1749
1751 return ret;
1752} finally {
1753//Empty post /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN post csin*/
1754//Empty post /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN post csin*/
1755//Empty post /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN post csin*/
1756//Empty post /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN post csin*/
1757 }
1758 }
1759
1761 OdTfProperty ret = (OdTfProperty)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdTfProperty),GlobalsPINVOKE.createOdTfProperty(),false); /*createInt 3_2*/
1762
1764 return ret;
1765}
1766
1767 public static OdTfProperty initOdTfProperty(OdTfProperty pProp, String name, OdTfClass pOwner, OdTfVariant.Type type, OdTfAttributePtrArray attributes, Globals.OdTfVariantConstructorTypeDelegate /*CS_DELEGATE_CONNECT_TYPEMAP_PART_BASE cstype*/ pDefaultValueConstructor, Globals.OdTfPropertyGetterTypeDelegate /*CS_DELEGATE_CONNECT_TYPEMAP_PART_BASE cstype*/ pGetter, Globals.OdTfPropertySetterTypeDelegate /*CS_DELEGATE_CONNECT_TYPEMAP_PART_BASE cstype*/ pSetter) {
1768/*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin start*/
1769 Globals.OdTfVariantConstructorTypeDelegateNative pDefaultValueConstructor_inDelegate = null;
1770 if (pDefaultValueConstructor != null)
1771 {
1772 pDefaultValueConstructor_inDelegate = () =>
1773 {
1774 ;
1775 try
1776 {
1777 return OdMarshalHelper.ObjectToPtr<OdTfVariant>(pDefaultValueConstructor());
1778 }
1779 finally
1780 {
1781 ;
1782 }
1783 };
1784 }
1785 IntPtr pDefaultValueConstructor_ptr = (pDefaultValueConstructor == null) ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(pDefaultValueConstructor_inDelegate);
1786 Teigha.Core.DelegateHolder.Add(pDefaultValueConstructor_inDelegate);
1787 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin end*/
1788/*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin start*/
1789 Globals.OdTfPropertyGetterTypeDelegateNative pGetter_inDelegate = null;
1790 if (pGetter != null)
1791 {
1792 pGetter_inDelegate = (IntPtr arg1,IntPtr arg2) =>
1793 {
1794 ;
1795 try
1796 {
1797 return (pGetter(OdMarshalHelper.PtrToObject<OdTfObject>(arg1),OdMarshalHelper.PtrToObject<OdTfVariant>(arg2)));
1798 }
1799 finally
1800 {
1801 ;
1802 }
1803 };
1804 }
1805 IntPtr pGetter_ptr = (pGetter == null) ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(pGetter_inDelegate);
1806 Teigha.Core.DelegateHolder.Add(pGetter_inDelegate);
1807 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin end*/
1808/*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin start*/
1809 Globals.OdTfPropertySetterTypeDelegateNative pSetter_inDelegate = null;
1810 if (pSetter != null)
1811 {
1812 pSetter_inDelegate = (IntPtr arg1,IntPtr arg2) =>
1813 {
1814 ;
1815 try
1816 {
1817 return (pSetter(OdMarshalHelper.PtrToObject<OdTfObject>(arg1),OdMarshalHelper.PtrToObject<OdTfVariant>(arg2)));
1818 }
1819 finally
1820 {
1821 ;
1822 }
1823 };
1824 }
1825 IntPtr pSetter_ptr = (pSetter == null) ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(pSetter_inDelegate);
1826 Teigha.Core.DelegateHolder.Add(pSetter_inDelegate);
1827 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin end*/
1828 try {
1829 OdTfProperty ret = (OdTfProperty)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdTfProperty),GlobalsPINVOKE.initOdTfProperty(OdTfProperty.getCPtr(pProp), name, OdTfClass.getCPtr(pOwner), (int)type, OdTfAttributePtrArray.getCPtr(attributes), pDefaultValueConstructor_ptr /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN csin*/ , pGetter_ptr /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN csin*/ , pSetter_ptr /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN csin*/ ),false); /*createInt 3_2*/
1830
1832 return ret;
1833} finally {
1834//Empty post /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN post csin*/
1835//Empty post /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN post csin*/
1836//Empty post /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN post csin*/
1837 }
1838 }
1839
1841 OdTfAttribute ret = (OdTfAttribute)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdTfAttribute),GlobalsPINVOKE.newOdTfAttribute(name, OdRxObject.getCPtr(pOwner), OdTfVariant.getCPtr(value)),false); /*createInt 3_2*/
1842
1844 return ret;
1845}
1846
1848 OdRxDynamicLinker ret = (OdRxDynamicLinker)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxDynamicLinker),GlobalsPINVOKE.odrxDynamicLinker(),false); /*createInt 3_2*/
1849
1851 return ret;
1852}
1853
1854 public static OdRxModule odrxLoadApp(String applicationName) {// OdRxModulePtr
1855 MemoryManager mMan = MemoryManager.GetMemoryManager();
1856 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
1857 IntPtr ptr = GlobalsPINVOKE.odrxLoadApp(applicationName);
1858
1859 OdRxModule ret = null;
1860 if (null != mTrans)
1861 {
1862 mTrans.AddObject((OdRxModule)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxModule),ptr, true));
1863 ret = (OdRxModule)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxModule),ptr, false);
1864 }
1865 else
1866 {
1867 ret = (OdRxModule)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxModule),ptr, true);
1868 }
1869
1871 return ret;
1872}
1873
1874 public static OdRxModule odrxSafeLoadApp(String applicationName) {// OdRxModulePtr
1875 MemoryManager mMan = MemoryManager.GetMemoryManager();
1876 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
1877 IntPtr ptr = GlobalsPINVOKE.odrxSafeLoadApp(applicationName);
1878
1879 OdRxModule ret = null;
1880 if (null != mTrans)
1881 {
1882 mTrans.AddObject((OdRxModule)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxModule),ptr, true));
1883 ret = (OdRxModule)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxModule),ptr, false);
1884 }
1885 else
1886 {
1887 ret = (OdRxModule)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxModule),ptr, true);
1888 }
1889
1891 return ret;
1892}
1893
1894 public static OdResult getUnitCodeName(UnitCode eUnitCode, ref string sName) {
1895IntPtr tmp_sName = Marshal.StringToCoTaskMemUni(sName);
1896 IntPtr saved_sName = tmp_sName;
1897 try {
1898 OdResult ret = (OdResult)GlobalsPINVOKE.getUnitCodeName((int)eUnitCode, ref tmp_sName);
1900 return ret;
1901 } finally {
1902if (tmp_sName != saved_sName) sName = Marshal.PtrToStringUni(tmp_sName);
1903 }
1904 }
1905
1906 public static OdResult getUnitCode(String sName, out UnitCode eUnitCode) {
1907 OdResult ret = (OdResult)GlobalsPINVOKE.getUnitCode(sName, out eUnitCode);
1909 return ret;
1910 }
1911
1912 public static OdResult getUnitCodeInformation(UnitCode eUnitCode, out UnitType eUnitType, out double dScale) {
1913 OdResult ret = (OdResult)GlobalsPINVOKE.getUnitCodeInformation((int)eUnitCode, out eUnitType, out dScale);
1915 return ret;
1916 }
1917
1918 public static OdResult getProjectionCodeName(ProjectionCode eProjectionCode, ref string sName) {
1919IntPtr tmp_sName = Marshal.StringToCoTaskMemUni(sName);
1920 IntPtr saved_sName = tmp_sName;
1921 try {
1922 OdResult ret = (OdResult)GlobalsPINVOKE.getProjectionCodeName((int)eProjectionCode, ref tmp_sName);
1924 return ret;
1925 } finally {
1926if (tmp_sName != saved_sName) sName = Marshal.PtrToStringUni(tmp_sName);
1927 }
1928 }
1929
1930 public static OdResult getProjectionCode(String sName, out ProjectionCode eProjectionCode) {
1931 OdResult ret = (OdResult)GlobalsPINVOKE.getProjectionCode(sName, out eProjectionCode);
1933 return ret;
1934 }
1935
1936 public static OdResult getProjectionFlags(ProjectionCode eProjectionCode, out UInt32 uFlags) {
1937 OdResult ret = (OdResult)GlobalsPINVOKE.getProjectionFlags((int)eProjectionCode, out uFlags);
1939 return ret;
1940 }
1941
1947
1948 public static ParameterType getParameterCode(ProjectionCode eProjectionCode, UInt32 uIndex) {
1949 ParameterType ret = (ParameterType)GlobalsPINVOKE.getParameterCode((int)eProjectionCode, uIndex /*SIMPLETYPE*/);
1951 return ret;
1952 }
1953
1954 public static String getParameterDescription(UInt32 ePrmCode, UInt32 uIndex) {
1955 string ret = GlobalsPINVOKE.getParameterDescription__SWIG_0(ePrmCode /*SIMPLETYPE*/, uIndex /*SIMPLETYPE*/);
1957 return ret;
1958}
1959
1960 public static String getParameterDescription(UInt32 ePrmCode) {
1961 string ret = GlobalsPINVOKE.getParameterDescription__SWIG_1(ePrmCode /*SIMPLETYPE*/);
1963 return ret;
1964}
1965
1966 public static OdResult idToId(CodeFormatType eCodeFormatTypeSource, String sIdSource, CodeFormatType eCodeFormatType, ref string sId) {
1967IntPtr tmp_sId = Marshal.StringToCoTaskMemUni(sId);
1968 IntPtr saved_sId = tmp_sId;
1969 try {
1970 OdResult ret = (OdResult)GlobalsPINVOKE.idToId((int)eCodeFormatTypeSource, sIdSource, (int)eCodeFormatType, ref tmp_sId);
1972 return ret;
1973 } finally {
1974if (tmp_sId != saved_sId) sId = Marshal.PtrToStringUni(tmp_sId);
1975 }
1976 }
1977
1978 public static OdResult idToWkt(CodeFormatType eCodeFormatTypeSource, String sIdSource, WktFlavor eWktFlavor, ref string sWkt) {
1979IntPtr tmp_sWkt = Marshal.StringToCoTaskMemUni(sWkt);
1980 IntPtr saved_sWkt = tmp_sWkt;
1981 try {
1982 OdResult ret = (OdResult)GlobalsPINVOKE.idToWkt((int)eCodeFormatTypeSource, sIdSource, (int)eWktFlavor, ref tmp_sWkt);
1984 return ret;
1985 } finally {
1986if (tmp_sWkt != saved_sWkt) sWkt = Marshal.PtrToStringUni(tmp_sWkt);
1987 }
1988 }
1989
1990 public static OdResult definitionToWkt(OdCoordinateReferenceSystemDefinition pCRSD, WktFlavor eWktFlavor, ref string sWkt) {
1991IntPtr tmp_sWkt = Marshal.StringToCoTaskMemUni(sWkt);
1992 IntPtr saved_sWkt = tmp_sWkt;
1993 try {
1996 return ret;
1997 } finally {
1998if (tmp_sWkt != saved_sWkt) sWkt = Marshal.PtrToStringUni(tmp_sWkt);
1999 }
2000 }
2001
2002 public static OdResult wktToId(WktFlavor eWktFlavorSource, String sWkt, CodeFormatType eCodeFormatType, ref string sId) {
2003IntPtr tmp_sId = Marshal.StringToCoTaskMemUni(sId);
2004 IntPtr saved_sId = tmp_sId;
2005 try {
2006 OdResult ret = (OdResult)GlobalsPINVOKE.wktToId((int)eWktFlavorSource, sWkt, (int)eCodeFormatType, ref tmp_sId);
2008 return ret;
2009 } finally {
2010if (tmp_sId != saved_sId) sId = Marshal.PtrToStringUni(tmp_sId);
2011 }
2012 }
2013
2014 public static OdResult wktToDefinition(WktFlavor eWktFlavor, String sWkt, ref OdCoordinateReferenceSystemDefinition /*OUT_PARAM for SMARTPTR*/ pCRSD) {
2015 /*OUT_PARAM for SMARTPTR pre*/ IntPtr tmp_pCRSD = pCRSD == null ? IntPtr.Zero : OdCoordinateReferenceSystemDefinition.getCPtr(pCRSD).Handle;
2016 IntPtr saved_pCRSD = tmp_pCRSD;
2017 /*OUT_PARAM for SMARTPTR pre*/
2018 try {
2019 OdResult ret = (OdResult)GlobalsPINVOKE.wktToDefinition((int)eWktFlavor, sWkt, ref tmp_pCRSD /*OUT_PARAM for SMARTPTR*/);
2021 return ret;
2022 } finally {
2023if(tmp_pCRSD == IntPtr.Zero) pCRSD = null;
2024 if(tmp_pCRSD != IntPtr.Zero && tmp_pCRSD != saved_pCRSD)
2025 {
2026 MemoryTransaction mTrans_pCRSD = MemoryManager.GetMemoryManager().GetCurrentTransaction();
2027 if(mTrans_pCRSD != null)
2028 mTrans_pCRSD.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdCoordinateReferenceSystemDefinition>(typeof(OdCoordinateReferenceSystemDefinition), tmp_pCRSD, true));
2029 pCRSD = Teigha.Core.Helpers.odCreateObjectInternal<OdCoordinateReferenceSystemDefinition>(typeof(OdCoordinateReferenceSystemDefinition), tmp_pCRSD, mTrans_pCRSD == null);
2030 /*OUT_PARAM for SMARTPTR*/
2031 }
2032 }
2033 }
2034
2035 public static OdResult getCoordinateReferenceSystemDefinition(String sIdOrWkt, ref OdCoordinateReferenceSystemDefinition /*OUT_PARAM for SMARTPTR*/ pCRSD) {
2036 /*OUT_PARAM for SMARTPTR pre*/ IntPtr tmp_pCRSD = pCRSD == null ? IntPtr.Zero : OdCoordinateReferenceSystemDefinition.getCPtr(pCRSD).Handle;
2037 IntPtr saved_pCRSD = tmp_pCRSD;
2038 /*OUT_PARAM for SMARTPTR pre*/
2039 try {
2040 OdResult ret = (OdResult)GlobalsPINVOKE.getCoordinateReferenceSystemDefinition(sIdOrWkt, ref tmp_pCRSD /*OUT_PARAM for SMARTPTR*/);
2042 return ret;
2043 } finally {
2044if(tmp_pCRSD == IntPtr.Zero) pCRSD = null;
2045 if(tmp_pCRSD != IntPtr.Zero && tmp_pCRSD != saved_pCRSD)
2046 {
2047 MemoryTransaction mTrans_pCRSD = MemoryManager.GetMemoryManager().GetCurrentTransaction();
2048 if(mTrans_pCRSD != null)
2049 mTrans_pCRSD.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdCoordinateReferenceSystemDefinition>(typeof(OdCoordinateReferenceSystemDefinition), tmp_pCRSD, true));
2050 pCRSD = Teigha.Core.Helpers.odCreateObjectInternal<OdCoordinateReferenceSystemDefinition>(typeof(OdCoordinateReferenceSystemDefinition), tmp_pCRSD, mTrans_pCRSD == null);
2051 /*OUT_PARAM for SMARTPTR*/
2052 }
2053 }
2054 }
2055
2057IntPtr tmp_sResultXml = Marshal.StringToCoTaskMemUni(sResultXml);
2058 IntPtr saved_sResultXml = tmp_sResultXml;
2059 try {
2062 return ret;
2063 } finally {
2064if (tmp_sResultXml != saved_sResultXml) sResultXml = Marshal.PtrToStringUni(tmp_sResultXml);
2065 }
2066 }
2067
2068 public static OdResult createXml(OdCoordinateReferenceSystemDefinition pCoordinateReferenceSystemDefinition, ref string sResultXml) {
2069IntPtr tmp_sResultXml = Marshal.StringToCoTaskMemUni(sResultXml);
2070 IntPtr saved_sResultXml = tmp_sResultXml;
2071 try {
2072 OdResult ret = (OdResult)GlobalsPINVOKE.createXml__SWIG_1(OdCoordinateReferenceSystemDefinition.getCPtr(pCoordinateReferenceSystemDefinition), ref tmp_sResultXml);
2074 return ret;
2075 } finally {
2076if (tmp_sResultXml != saved_sResultXml) sResultXml = Marshal.PtrToStringUni(tmp_sResultXml);
2077 }
2078 }
2079
2085
2086 public static OdResult parseXml(String sXml, ref OdCoordinateReferenceSystemDefinition /*OUT_PARAM for SMARTPTR*/ pCoordinateReferenceSystemDefinition) {
2087 /*OUT_PARAM for SMARTPTR pre*/ IntPtr tmp_pCoordinateReferenceSystemDefinition = pCoordinateReferenceSystemDefinition == null ? IntPtr.Zero : OdCoordinateReferenceSystemDefinition.getCPtr(pCoordinateReferenceSystemDefinition).Handle;
2088 IntPtr saved_pCoordinateReferenceSystemDefinition = tmp_pCoordinateReferenceSystemDefinition;
2089 /*OUT_PARAM for SMARTPTR pre*/
2090 try {
2091 OdResult ret = (OdResult)GlobalsPINVOKE.parseXml__SWIG_1(sXml, ref tmp_pCoordinateReferenceSystemDefinition /*OUT_PARAM for SMARTPTR*/);
2093 return ret;
2094 } finally {
2095if(tmp_pCoordinateReferenceSystemDefinition == IntPtr.Zero) pCoordinateReferenceSystemDefinition = null;
2096 if(tmp_pCoordinateReferenceSystemDefinition != IntPtr.Zero && tmp_pCoordinateReferenceSystemDefinition != saved_pCoordinateReferenceSystemDefinition)
2097 {
2098 MemoryTransaction mTrans_pCoordinateReferenceSystemDefinition = MemoryManager.GetMemoryManager().GetCurrentTransaction();
2099 if(mTrans_pCoordinateReferenceSystemDefinition != null)
2100 mTrans_pCoordinateReferenceSystemDefinition.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdCoordinateReferenceSystemDefinition>(typeof(OdCoordinateReferenceSystemDefinition), tmp_pCoordinateReferenceSystemDefinition, true));
2101 pCoordinateReferenceSystemDefinition = Teigha.Core.Helpers.odCreateObjectInternal<OdCoordinateReferenceSystemDefinition>(typeof(OdCoordinateReferenceSystemDefinition), tmp_pCoordinateReferenceSystemDefinition, mTrans_pCoordinateReferenceSystemDefinition == null);
2102 /*OUT_PARAM for SMARTPTR*/
2103 }
2104 }
2105 }
2106
2107 public static UInt32 odrxMultiCast(OdRxObject pObject, out OdRxObject pPointers, OdRxClass pClasses, UInt32 nClasses) {
2108// test csout
2109 /*SIMPLETYPE*/
2110 UInt32 ret = GlobalsPINVOKE.odrxMultiCast(OdRxObject.getCPtr(pObject), out pPointers, OdRxClass.getCPtr(pClasses).Handle, nClasses /*SIMPLETYPE*/);
2112 return ret;
2113 }
2114
2115 public static UInt32 odrxMultiCastObject(OdRxObject pObject, bool pCasts, OdRxClass pClasses, UInt32 nClasses) {
2116// test csout
2117 /*SIMPLETYPE*/
2118 UInt32 ret = GlobalsPINVOKE.odrxMultiCastObject(OdRxObject.getCPtr(pObject), pCasts /*SIMPLETYPE*/, OdRxClass.getCPtr(pClasses).Handle, nClasses /*SIMPLETYPE*/);
2120 return ret;
2121 }
2122
2123 public static UInt32 odrxMultiCastX(OdRxObject pObject, out OdRxObject pPointers, OdRxClass pClasses, UInt32 nClasses) {
2124// test csout
2125 /*SIMPLETYPE*/
2126 UInt32 ret = GlobalsPINVOKE.odrxMultiCastX(OdRxObject.getCPtr(pObject), out pPointers, OdRxClass.getCPtr(pClasses).Handle, nClasses /*SIMPLETYPE*/);
2128 return ret;
2129 }
2130
2131 public static UInt32 odrxMultiCastFwd_(OdRxClass pClass, OdRxObject pObject, ref OdRxObject /*OUT_PARAM for SMARTPTR*/ pPointer, OdRxClass pClasses, UInt32 nClasses) {
2132 /*OUT_PARAM for SMARTPTR pre*/ IntPtr tmp_pPointer = pPointer == null ? IntPtr.Zero : OdRxObject.getCPtr(pPointer).Handle;
2133 IntPtr saved_pPointer = tmp_pPointer;
2134 /*OUT_PARAM for SMARTPTR pre*/
2135 try {
2136// test csout
2137 /*SIMPLETYPE*/
2138 UInt32 ret = GlobalsPINVOKE.odrxMultiCastFwd_(OdRxClass.getCPtr(pClass), OdRxObject.getCPtr(pObject), ref tmp_pPointer /*OUT_PARAM for SMARTPTR*/, OdRxClass.getCPtr(pClasses).Handle, nClasses /*SIMPLETYPE*/);
2140 return ret;
2141 } finally {
2142if(tmp_pPointer == IntPtr.Zero) pPointer = null;
2143 if(tmp_pPointer != IntPtr.Zero && tmp_pPointer != saved_pPointer)
2144 {
2145 MemoryTransaction mTrans_pPointer = MemoryManager.GetMemoryManager().GetCurrentTransaction();
2146 if(mTrans_pPointer != null)
2147 mTrans_pPointer.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdRxObject>(typeof(OdRxObject), tmp_pPointer, true));
2148 pPointer = Teigha.Core.Helpers.odCreateObjectInternal<OdRxObject>(typeof(OdRxObject), tmp_pPointer, mTrans_pPointer == null);
2149 /*OUT_PARAM for SMARTPTR*/
2150 }
2151 }
2152 }
2153
2154 public static UInt32 odrxMultiCastFwd(OdRxObject pObject, ref OdRxObject /*OUT_PARAM for SMARTPTR*/ pPointer, OdRxClass pClasses, UInt32 nClasses) {
2155 /*OUT_PARAM for SMARTPTR pre*/ IntPtr tmp_pPointer = pPointer == null ? IntPtr.Zero : OdRxObject.getCPtr(pPointer).Handle;
2156 IntPtr saved_pPointer = tmp_pPointer;
2157 /*OUT_PARAM for SMARTPTR pre*/
2158 try {
2159// test csout
2160 /*SIMPLETYPE*/
2161 UInt32 ret = GlobalsPINVOKE.odrxMultiCastFwd(OdRxObject.getCPtr(pObject), ref tmp_pPointer /*OUT_PARAM for SMARTPTR*/, OdRxClass.getCPtr(pClasses).Handle, nClasses /*SIMPLETYPE*/);
2163 return ret;
2164 } finally {
2165if(tmp_pPointer == IntPtr.Zero) pPointer = null;
2166 if(tmp_pPointer != IntPtr.Zero && tmp_pPointer != saved_pPointer)
2167 {
2168 MemoryTransaction mTrans_pPointer = MemoryManager.GetMemoryManager().GetCurrentTransaction();
2169 if(mTrans_pPointer != null)
2170 mTrans_pPointer.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdRxObject>(typeof(OdRxObject), tmp_pPointer, true));
2171 pPointer = Teigha.Core.Helpers.odCreateObjectInternal<OdRxObject>(typeof(OdRxObject), tmp_pPointer, mTrans_pPointer == null);
2172 /*OUT_PARAM for SMARTPTR*/
2173 }
2174 }
2175 }
2176
2177 public static UInt32 odrxMultiCastFwdXPrior_(OdRxClass pClass, OdRxObject pObject, ref OdRxObject /*OUT_PARAM for SMARTPTR*/ pPointer, OdRxClass pClasses, UInt32 nClasses) {
2178 /*OUT_PARAM for SMARTPTR pre*/ IntPtr tmp_pPointer = pPointer == null ? IntPtr.Zero : OdRxObject.getCPtr(pPointer).Handle;
2179 IntPtr saved_pPointer = tmp_pPointer;
2180 /*OUT_PARAM for SMARTPTR pre*/
2181 try {
2182// test csout
2183 /*SIMPLETYPE*/
2184 UInt32 ret = GlobalsPINVOKE.odrxMultiCastFwdXPrior_(OdRxClass.getCPtr(pClass), OdRxObject.getCPtr(pObject), ref tmp_pPointer /*OUT_PARAM for SMARTPTR*/, OdRxClass.getCPtr(pClasses).Handle, nClasses /*SIMPLETYPE*/);
2186 return ret;
2187 } finally {
2188if(tmp_pPointer == IntPtr.Zero) pPointer = null;
2189 if(tmp_pPointer != IntPtr.Zero && tmp_pPointer != saved_pPointer)
2190 {
2191 MemoryTransaction mTrans_pPointer = MemoryManager.GetMemoryManager().GetCurrentTransaction();
2192 if(mTrans_pPointer != null)
2193 mTrans_pPointer.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdRxObject>(typeof(OdRxObject), tmp_pPointer, true));
2194 pPointer = Teigha.Core.Helpers.odCreateObjectInternal<OdRxObject>(typeof(OdRxObject), tmp_pPointer, mTrans_pPointer == null);
2195 /*OUT_PARAM for SMARTPTR*/
2196 }
2197 }
2198 }
2199
2200 public static UInt32 odrxMultiCastFwdXPrior(OdRxObject pObject, ref OdRxObject /*OUT_PARAM for SMARTPTR*/ pPointer, OdRxClass pClasses, UInt32 nClasses) {
2201 /*OUT_PARAM for SMARTPTR pre*/ IntPtr tmp_pPointer = pPointer == null ? IntPtr.Zero : OdRxObject.getCPtr(pPointer).Handle;
2202 IntPtr saved_pPointer = tmp_pPointer;
2203 /*OUT_PARAM for SMARTPTR pre*/
2204 try {
2205// test csout
2206 /*SIMPLETYPE*/
2207 UInt32 ret = GlobalsPINVOKE.odrxMultiCastFwdXPrior(OdRxObject.getCPtr(pObject), ref tmp_pPointer /*OUT_PARAM for SMARTPTR*/, OdRxClass.getCPtr(pClasses).Handle, nClasses /*SIMPLETYPE*/);
2209 return ret;
2210 } finally {
2211if(tmp_pPointer == IntPtr.Zero) pPointer = null;
2212 if(tmp_pPointer != IntPtr.Zero && tmp_pPointer != saved_pPointer)
2213 {
2214 MemoryTransaction mTrans_pPointer = MemoryManager.GetMemoryManager().GetCurrentTransaction();
2215 if(mTrans_pPointer != null)
2216 mTrans_pPointer.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdRxObject>(typeof(OdRxObject), tmp_pPointer, true));
2217 pPointer = Teigha.Core.Helpers.odCreateObjectInternal<OdRxObject>(typeof(OdRxObject), tmp_pPointer, mTrans_pPointer == null);
2218 /*OUT_PARAM for SMARTPTR*/
2219 }
2220 }
2221 }
2222
2223 public static UInt32 odrxMultiCastFwdObject_(OdRxClass pClass, OdRxObject pObject, OdRxClass pClasses, UInt32 nClasses) {
2224// test csout
2225 /*SIMPLETYPE*/
2226 UInt32 ret = GlobalsPINVOKE.odrxMultiCastFwdObject_(OdRxClass.getCPtr(pClass), OdRxObject.getCPtr(pObject), OdRxClass.getCPtr(pClasses).Handle, nClasses /*SIMPLETYPE*/);
2228 return ret;
2229 }
2230
2231 public static UInt32 odrxMultiCastFwdObject(OdRxObject pObject, OdRxClass pClasses, UInt32 nClasses) {
2232// test csout
2233 /*SIMPLETYPE*/
2234 UInt32 ret = GlobalsPINVOKE.odrxMultiCastFwdObject(OdRxObject.getCPtr(pObject), OdRxClass.getCPtr(pClasses).Handle, nClasses /*SIMPLETYPE*/);
2236 return ret;
2237 }
2238
2239 public static UInt32 odrxMultiCastFwdX_(OdRxClass pClass, OdRxObject pObject, ref OdRxObject /*OUT_PARAM for SMARTPTR*/ pPointer, OdRxClass pClasses, UInt32 nClasses) {
2240 /*OUT_PARAM for SMARTPTR pre*/ IntPtr tmp_pPointer = pPointer == null ? IntPtr.Zero : OdRxObject.getCPtr(pPointer).Handle;
2241 IntPtr saved_pPointer = tmp_pPointer;
2242 /*OUT_PARAM for SMARTPTR pre*/
2243 try {
2244// test csout
2245 /*SIMPLETYPE*/
2246 UInt32 ret = GlobalsPINVOKE.odrxMultiCastFwdX_(OdRxClass.getCPtr(pClass), OdRxObject.getCPtr(pObject), ref tmp_pPointer /*OUT_PARAM for SMARTPTR*/, OdRxClass.getCPtr(pClasses).Handle, nClasses /*SIMPLETYPE*/);
2248 return ret;
2249 } finally {
2250if(tmp_pPointer == IntPtr.Zero) pPointer = null;
2251 if(tmp_pPointer != IntPtr.Zero && tmp_pPointer != saved_pPointer)
2252 {
2253 MemoryTransaction mTrans_pPointer = MemoryManager.GetMemoryManager().GetCurrentTransaction();
2254 if(mTrans_pPointer != null)
2255 mTrans_pPointer.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdRxObject>(typeof(OdRxObject), tmp_pPointer, true));
2256 pPointer = Teigha.Core.Helpers.odCreateObjectInternal<OdRxObject>(typeof(OdRxObject), tmp_pPointer, mTrans_pPointer == null);
2257 /*OUT_PARAM for SMARTPTR*/
2258 }
2259 }
2260 }
2261
2262 public static UInt32 odrxMultiCastFwdX(OdRxObject pObject, ref OdRxObject /*OUT_PARAM for SMARTPTR*/ pPointer, OdRxClass pClasses, UInt32 nClasses) {
2263 /*OUT_PARAM for SMARTPTR pre*/ IntPtr tmp_pPointer = pPointer == null ? IntPtr.Zero : OdRxObject.getCPtr(pPointer).Handle;
2264 IntPtr saved_pPointer = tmp_pPointer;
2265 /*OUT_PARAM for SMARTPTR pre*/
2266 try {
2267// test csout
2268 /*SIMPLETYPE*/
2269 UInt32 ret = GlobalsPINVOKE.odrxMultiCastFwdX(OdRxObject.getCPtr(pObject), ref tmp_pPointer /*OUT_PARAM for SMARTPTR*/, OdRxClass.getCPtr(pClasses).Handle, nClasses /*SIMPLETYPE*/);
2271 return ret;
2272 } finally {
2273if(tmp_pPointer == IntPtr.Zero) pPointer = null;
2274 if(tmp_pPointer != IntPtr.Zero && tmp_pPointer != saved_pPointer)
2275 {
2276 MemoryTransaction mTrans_pPointer = MemoryManager.GetMemoryManager().GetCurrentTransaction();
2277 if(mTrans_pPointer != null)
2278 mTrans_pPointer.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdRxObject>(typeof(OdRxObject), tmp_pPointer, true));
2279 pPointer = Teigha.Core.Helpers.odCreateObjectInternal<OdRxObject>(typeof(OdRxObject), tmp_pPointer, mTrans_pPointer == null);
2280 /*OUT_PARAM for SMARTPTR*/
2281 }
2282 }
2283 }
2284
2285 public static UInt32 odrxMultiCastBk(OdRxObject pObject, ref OdRxObject /*OUT_PARAM for SMARTPTR*/ pPointer, OdRxClass pClasses, UInt32 nClasses) {
2286 /*OUT_PARAM for SMARTPTR pre*/ IntPtr tmp_pPointer = pPointer == null ? IntPtr.Zero : OdRxObject.getCPtr(pPointer).Handle;
2287 IntPtr saved_pPointer = tmp_pPointer;
2288 /*OUT_PARAM for SMARTPTR pre*/
2289 try {
2290// test csout
2291 /*SIMPLETYPE*/
2292 UInt32 ret = GlobalsPINVOKE.odrxMultiCastBk(OdRxObject.getCPtr(pObject), ref tmp_pPointer /*OUT_PARAM for SMARTPTR*/, OdRxClass.getCPtr(pClasses).Handle, nClasses /*SIMPLETYPE*/);
2294 return ret;
2295 } finally {
2296if(tmp_pPointer == IntPtr.Zero) pPointer = null;
2297 if(tmp_pPointer != IntPtr.Zero && tmp_pPointer != saved_pPointer)
2298 {
2299 MemoryTransaction mTrans_pPointer = MemoryManager.GetMemoryManager().GetCurrentTransaction();
2300 if(mTrans_pPointer != null)
2301 mTrans_pPointer.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdRxObject>(typeof(OdRxObject), tmp_pPointer, true));
2302 pPointer = Teigha.Core.Helpers.odCreateObjectInternal<OdRxObject>(typeof(OdRxObject), tmp_pPointer, mTrans_pPointer == null);
2303 /*OUT_PARAM for SMARTPTR*/
2304 }
2305 }
2306 }
2307
2308 public static UInt32 odrxMultiCastBkXPrior(OdRxObject pObject, ref OdRxObject /*OUT_PARAM for SMARTPTR*/ pPointer, OdRxClass pClasses, UInt32 nClasses) {
2309 /*OUT_PARAM for SMARTPTR pre*/ IntPtr tmp_pPointer = pPointer == null ? IntPtr.Zero : OdRxObject.getCPtr(pPointer).Handle;
2310 IntPtr saved_pPointer = tmp_pPointer;
2311 /*OUT_PARAM for SMARTPTR pre*/
2312 try {
2313// test csout
2314 /*SIMPLETYPE*/
2315 UInt32 ret = GlobalsPINVOKE.odrxMultiCastBkXPrior(OdRxObject.getCPtr(pObject), ref tmp_pPointer /*OUT_PARAM for SMARTPTR*/, OdRxClass.getCPtr(pClasses).Handle, nClasses /*SIMPLETYPE*/);
2317 return ret;
2318 } finally {
2319if(tmp_pPointer == IntPtr.Zero) pPointer = null;
2320 if(tmp_pPointer != IntPtr.Zero && tmp_pPointer != saved_pPointer)
2321 {
2322 MemoryTransaction mTrans_pPointer = MemoryManager.GetMemoryManager().GetCurrentTransaction();
2323 if(mTrans_pPointer != null)
2324 mTrans_pPointer.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdRxObject>(typeof(OdRxObject), tmp_pPointer, true));
2325 pPointer = Teigha.Core.Helpers.odCreateObjectInternal<OdRxObject>(typeof(OdRxObject), tmp_pPointer, mTrans_pPointer == null);
2326 /*OUT_PARAM for SMARTPTR*/
2327 }
2328 }
2329 }
2330
2331 public static UInt32 odrxMultiCastBkObject(OdRxObject pObject, OdRxClass pClasses, UInt32 nClasses) {
2332// test csout
2333 /*SIMPLETYPE*/
2334 UInt32 ret = GlobalsPINVOKE.odrxMultiCastBkObject(OdRxObject.getCPtr(pObject), OdRxClass.getCPtr(pClasses).Handle, nClasses /*SIMPLETYPE*/);
2336 return ret;
2337 }
2338
2339 public static UInt32 odrxMultiCastBkX(OdRxObject pObject, ref OdRxObject /*OUT_PARAM for SMARTPTR*/ pPointer, OdRxClass pClasses, UInt32 nClasses) {
2340 /*OUT_PARAM for SMARTPTR pre*/ IntPtr tmp_pPointer = pPointer == null ? IntPtr.Zero : OdRxObject.getCPtr(pPointer).Handle;
2341 IntPtr saved_pPointer = tmp_pPointer;
2342 /*OUT_PARAM for SMARTPTR pre*/
2343 try {
2344// test csout
2345 /*SIMPLETYPE*/
2346 UInt32 ret = GlobalsPINVOKE.odrxMultiCastBkX(OdRxObject.getCPtr(pObject), ref tmp_pPointer /*OUT_PARAM for SMARTPTR*/, OdRxClass.getCPtr(pClasses).Handle, nClasses /*SIMPLETYPE*/);
2348 return ret;
2349 } finally {
2350if(tmp_pPointer == IntPtr.Zero) pPointer = null;
2351 if(tmp_pPointer != IntPtr.Zero && tmp_pPointer != saved_pPointer)
2352 {
2353 MemoryTransaction mTrans_pPointer = MemoryManager.GetMemoryManager().GetCurrentTransaction();
2354 if(mTrans_pPointer != null)
2355 mTrans_pPointer.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdRxObject>(typeof(OdRxObject), tmp_pPointer, true));
2356 pPointer = Teigha.Core.Helpers.odCreateObjectInternal<OdRxObject>(typeof(OdRxObject), tmp_pPointer, mTrans_pPointer == null);
2357 /*OUT_PARAM for SMARTPTR*/
2358 }
2359 }
2360 }
2361
2367
2372
2373 public static void odActivate(String userInfo, String userSignature) {
2374 GlobalsPINVOKE.odActivate(userInfo, userSignature);
2376 }
2377
2382
2383 public static bool odutWcMatch(String string_, String wcPattern) {
2384 bool ret = GlobalsPINVOKE.odutWcMatch__SWIG_0(string_, wcPattern);
2386 return ret;
2387 }
2388
2389 public static bool odutWcMatchNoCase(String string_, String wcPattern) {
2390 bool ret = GlobalsPINVOKE.odutWcMatchNoCase(string_, wcPattern);
2392 return ret;
2393 }
2394
2395 public static bool odutWcMatch(String string_, String wcPattern, String remainString) {
2396 bool ret = GlobalsPINVOKE.odutWcMatch__SWIG_1(string_, wcPattern, remainString);
2398 return ret;
2399 }
2400
2401 public static bool odutWcReplace(String string_, String wcPatternOld, String wcPatternNew, ref string resultString) {
2402IntPtr tmp_resultString = Marshal.StringToCoTaskMemUni(resultString);
2403 IntPtr saved_resultString = tmp_resultString;
2404 try {
2405 bool ret = GlobalsPINVOKE.odutWcReplace(string_, wcPatternOld, wcPatternNew, ref tmp_resultString);
2407 return ret;
2408 } finally {
2409if (tmp_resultString != saved_resultString) resultString = Marshal.PtrToStringUni(tmp_resultString);
2410 }
2411 }
2412
2417
2418 public static int getMIFIndex(OdCodePageId id) {
2419 int ret = GlobalsPINVOKE.getMIFIndex((int)id);
2421 return ret;
2422 }
2423
2424 public static bool isMBCBCodepage(OdCodePageId id) {
2425 bool ret = GlobalsPINVOKE.isMBCBCodepage((int)id);
2427 return ret;
2428 }
2429
2430 public static bool isMIFCodepage(OdCodePageId id) {
2431 bool ret = GlobalsPINVOKE.isMIFCodepage((int)id);
2433 return ret;
2434 }
2435
2441
2442 public static void odrxRegisterAuditInfoDestructorCallback(Globals.ODAUDITINFO_CALLBACKDelegate /*CS_DELEGATE_CONNECT_TYPEMAP_PART_BASE cstype*/ callbackFunc) {
2443/*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN pre csin start*/
2444 Globals.ODAUDITINFO_CALLBACKDelegateNative callbackFunc_inDelegate = null;
2445 if (callbackFunc != null)
2446 {
2447 callbackFunc_inDelegate = (IntPtr info) =>
2448 {
2449 ;
2450 try
2451 {
2452 callbackFunc(OdMarshalHelper.PtrToObject<OdAuditInfo>(info));
2453 }
2454 finally
2455 {
2456 ;
2457 }
2458 };
2459 }
2460 IntPtr callbackFunc_ptr = (callbackFunc == null) ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(callbackFunc_inDelegate);
2461 Teigha.Core.DelegateHolder.Add(callbackFunc_inDelegate);
2462 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN pre csin end*/
2463 try {
2464 GlobalsPINVOKE.odrxRegisterAuditInfoDestructorCallback(callbackFunc_ptr /*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN csin*/ );
2466 } finally {
2467//Empty post /*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN post csin*/
2468 }
2469 }
2470
2475
2476 public static int lineWeightIndex(LineWeight lw) {
2477 int ret = GlobalsPINVOKE.lineWeightIndex((int)lw);
2479 return ret;
2480 }
2481
2487
2489 OdRxObject ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),GlobalsPINVOKE.odgsDbGetDatabase(OdDbStub.getCPtr(pId)),false); /*createInt 3_2*/
2490
2492 return ret;
2493}
2494
2495 public static OdDbStub odgsDbGetOwner(OdDbStub pId) {
2496 global::System.IntPtr cPtr = GlobalsPINVOKE.odgsDbGetOwner(OdDbStub.getCPtr(pId));
2497 OdDbStub ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDbStub(cPtr, false);
2499 return ret;
2500 }
2501
2503 global::System.IntPtr cPtr = GlobalsPINVOKE.odgsDbRedirectID(OdDbStub.getCPtr(pId).Handle);
2504 OdDbStub ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDbStub(cPtr, false);
2506 return ret;
2507 }
2508
2514
2519
2524
2526 OdRxObject ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),GlobalsPINVOKE.odgsDbObjectIDRedirectedDatabase(OdDbStub.getCPtr(pId)),false); /*createInt 3_2*/
2527
2529 return ret;
2530}
2531
2537
2538 public static UInt32 odFNV32HashBuf(IntPtr buf, uint len, UInt32 hval) {
2539// test csout
2540 /*SIMPLETYPE*/
2541 UInt32 ret = GlobalsPINVOKE.odFNV32HashBuf__SWIG_0(buf /*SIMPLETYPE*/, len, hval /*SIMPLETYPE*/);
2543 return ret;
2544 }
2545
2546 public static UInt32 odFNV32HashBuf(IntPtr buf, uint len) {
2547// test csout
2548 /*SIMPLETYPE*/
2549 UInt32 ret = GlobalsPINVOKE.odFNV32HashBuf__SWIG_1(buf /*SIMPLETYPE*/, len);
2551 return ret;
2552 }
2553
2554 public static UInt32 odFNV32HashStr(string str, UInt32 hval) {
2555// test csout
2556 /*SIMPLETYPE*/
2557 UInt32 ret = GlobalsPINVOKE.odFNV32HashStr__SWIG_0(str, hval /*SIMPLETYPE*/);
2559 return ret;
2560 }
2561
2562 public static UInt32 odFNV32HashStr(string str) {
2563// test csout
2564 /*SIMPLETYPE*/
2565 UInt32 ret = GlobalsPINVOKE.odFNV32HashStr__SWIG_1(str);
2567 return ret;
2568 }
2569
2570 public static UInt32 odFNV32aHashBuf(IntPtr buf, uint len, UInt32 hval) {
2571// test csout
2572 /*SIMPLETYPE*/
2573 UInt32 ret = GlobalsPINVOKE.odFNV32aHashBuf__SWIG_0(buf /*SIMPLETYPE*/, len, hval /*SIMPLETYPE*/);
2575 return ret;
2576 }
2577
2578 public static UInt32 odFNV32aHashBuf(IntPtr buf, uint len) {
2579// test csout
2580 /*SIMPLETYPE*/
2581 UInt32 ret = GlobalsPINVOKE.odFNV32aHashBuf__SWIG_1(buf /*SIMPLETYPE*/, len);
2583 return ret;
2584 }
2585
2586 public static UInt32 odFNV32aHashStr(string str, UInt32 hval) {
2587// test csout
2588 /*SIMPLETYPE*/
2589 UInt32 ret = GlobalsPINVOKE.odFNV32aHashStr__SWIG_0(str, hval /*SIMPLETYPE*/);
2591 return ret;
2592 }
2593
2594 public static UInt32 odFNV32aHashStr(string str) {
2595// test csout
2596 /*SIMPLETYPE*/
2597 UInt32 ret = GlobalsPINVOKE.odFNV32aHashStr__SWIG_1(str);
2599 return ret;
2600 }
2601
2602 public static UInt64 odFNV64HashBuf(IntPtr buf, uint len, UInt64 hval) {
2603// test csout
2604 /*SIMPLETYPE*/
2605 UInt64 ret = GlobalsPINVOKE.odFNV64HashBuf__SWIG_0(buf /*SIMPLETYPE*/, len, hval /*SIMPLETYPE*/);
2607 return ret;
2608 }
2609
2610 public static UInt64 odFNV64HashBuf(IntPtr buf, uint len) {
2611// test csout
2612 /*SIMPLETYPE*/
2613 UInt64 ret = GlobalsPINVOKE.odFNV64HashBuf__SWIG_1(buf /*SIMPLETYPE*/, len);
2615 return ret;
2616 }
2617
2618 public static UInt64 odFNV64HashStr(string str, UInt64 hval) {
2619// test csout
2620 /*SIMPLETYPE*/
2621 UInt64 ret = GlobalsPINVOKE.odFNV64HashStr__SWIG_0(str, hval /*SIMPLETYPE*/);
2623 return ret;
2624 }
2625
2626 public static UInt64 odFNV64HashStr(string str) {
2627// test csout
2628 /*SIMPLETYPE*/
2629 UInt64 ret = GlobalsPINVOKE.odFNV64HashStr__SWIG_1(str);
2631 return ret;
2632 }
2633
2634 public static UInt64 odFNV64aHashBuf(IntPtr buf, uint len, UInt64 hval) {
2635// test csout
2636 /*SIMPLETYPE*/
2637 UInt64 ret = GlobalsPINVOKE.odFNV64aHashBuf__SWIG_0(buf /*SIMPLETYPE*/, len, hval /*SIMPLETYPE*/);
2639 return ret;
2640 }
2641
2642 public static UInt64 odFNV64aHashBuf(IntPtr buf, uint len) {
2643// test csout
2644 /*SIMPLETYPE*/
2645 UInt64 ret = GlobalsPINVOKE.odFNV64aHashBuf__SWIG_1(buf /*SIMPLETYPE*/, len);
2647 return ret;
2648 }
2649
2650 public static UInt64 odFNV64aHashStr(string str, UInt64 hval) {
2651// test csout
2652 /*SIMPLETYPE*/
2653 UInt64 ret = GlobalsPINVOKE.odFNV64aHashStr__SWIG_0(str, hval /*SIMPLETYPE*/);
2655 return ret;
2656 }
2657
2658 public static UInt64 odFNV64aHashStr(string str) {
2659// test csout
2660 /*SIMPLETYPE*/
2661 UInt64 ret = GlobalsPINVOKE.odFNV64aHashStr__SWIG_1(str);
2663 return ret;
2664 }
2665
2666 public static bool odgiCalculateTriangleShellLoops(OdUInt32Array triangleIndicies, OdUInt32Array2d loops, OdBoolArray isClosed) {
2667 bool ret = GlobalsPINVOKE.odgiCalculateTriangleShellLoops__SWIG_0(OdUInt32Array.getCPtr(triangleIndicies).Handle, OdUInt32Array2d.getCPtr(loops), OdBoolArray.getCPtr(isClosed).Handle);
2669 return ret;
2670 }
2671
2677
2679 OdGiTransientManager ret = (OdGiTransientManager)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiTransientManager),GlobalsPINVOKE.odgiGetTransientManager(OdRxObject.getCPtr(pObject)),false); /*createInt 3_2*/
2680
2682 return ret;
2683}
2684
2689
2690 public static UInt64 kGiPointCloudNegativeCellId {
2691 get {
2692 /*SIMPLETYPE*/
2695 return ret;
2696 }
2697 }
2698
2704
2710
2716
2717 public static void moveIntoValidInter(double startAngleInV, double endAngleInV, out double v, double period) {
2718 GlobalsPINVOKE.moveIntoValidInter__SWIG_0(startAngleInV, endAngleInV, out v, period);
2720 }
2721
2722 public static void moveIntoValidInter(double startAngleInV, double endAngleInV, out double v) {
2723 GlobalsPINVOKE.moveIntoValidInter__SWIG_1(startAngleInV, endAngleInV, out v);
2725 }
2726
2727 public static void makeInterValid(out double startAngle, out double endAngle, double period) {
2728 GlobalsPINVOKE.makeInterValid__SWIG_0(out startAngle, out endAngle, period);
2730 }
2731
2732 public static void makeInterValid(out double startAngle, out double endAngle) {
2733 GlobalsPINVOKE.makeInterValid__SWIG_1(out startAngle, out endAngle);
2735 }
2736
2737 public static bool triangulateProfile(OdGePoint2dArray vertexSource, IntVectorStd inFaceData, OdLongArray vecTriangles, double tol) {
2738 bool ret = GlobalsPINVOKE.triangulateProfile__SWIG_0(OdGePoint2dArray.getCPtr(vertexSource).Handle, IntVectorStd.getCPtr(inFaceData), OdLongArray.getCPtr(vecTriangles), tol);
2740 return ret;
2741 }
2742
2743 public static bool triangulateProfile(OdGePoint2dArray vertexSource, IntVectorStd inFaceData, OdLongArray vecTriangles) {
2744 bool ret = GlobalsPINVOKE.triangulateProfile__SWIG_1(OdGePoint2dArray.getCPtr(vertexSource).Handle, IntVectorStd.getCPtr(inFaceData), OdLongArray.getCPtr(vecTriangles));
2746 return ret;
2747 }
2748
2749 public static bool compareMeshes(OdGeTrMesh meshTemplate, OdGeTrMesh mesh, double tolCoef, bool bDebugOutput) {
2750 bool ret = GlobalsPINVOKE.compareMeshes(OdGeTrMesh.getCPtr(meshTemplate), OdGeTrMesh.getCPtr(mesh), tolCoef, bDebugOutput);
2752 return ret;
2753 }
2754
2755 public static OdGeNurbCurve3d convertFrom(OdGeCurve3d source, OdGeTol tol, bool sameParametrization) {
2756 global::System.IntPtr cPtr = GlobalsPINVOKE.convertFrom__SWIG_3(OdGeCurve3d.getCPtr(source), OdGeTol.getCPtr(tol), sameParametrization);
2757 OdGeNurbCurve3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeNurbCurve3d(cPtr, false);
2759 return ret;
2760 }
2761
2762 public static OdGeNurbCurve3d convertFrom(OdGeCurve3d source, OdGeTol tol) {
2763 global::System.IntPtr cPtr = GlobalsPINVOKE.convertFrom__SWIG_4(OdGeCurve3d.getCPtr(source), OdGeTol.getCPtr(tol));
2764 OdGeNurbCurve3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeNurbCurve3d(cPtr, false);
2766 return ret;
2767 }
2768
2770 global::System.IntPtr cPtr = GlobalsPINVOKE.convertFrom__SWIG_5(OdGeCurve3d.getCPtr(source));
2771 OdGeNurbCurve3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeNurbCurve3d(cPtr, false);
2773 return ret;
2774 }
2775
2776 public static double calibrateAngle(double val, double input) {
2777 double ret = GlobalsPINVOKE.calibrateAngle(val, input);
2779 return ret;
2780 }
2781
2782 public static double angleFromParam(double param, double radiusRatio) {
2783 double ret = GlobalsPINVOKE.angleFromParam(param, radiusRatio);
2785 return ret;
2786 }
2787
2788 public static double paramFromAngle(double angle, double radiusRatio) {
2789 double ret = GlobalsPINVOKE.paramFromAngle(angle, radiusRatio);
2791 return ret;
2792 }
2793
2794 public static OdError OdErrorByCodeAndMessage(OdResult iResCode, string iMessage) {
2795 OdError ret = new OdError(GlobalsPINVOKE.OdErrorByCodeAndMessage((int)iResCode, iMessage), true);
2797 return ret;
2798 }
2799
2800 public static OdError OdErrorByCodeAndMessageFormat(OdResult iResCode, string iMessageFormat) {
2801 OdError ret = new OdError(GlobalsPINVOKE.OdErrorByCodeAndMessageFormat((int)iResCode, iMessageFormat), true);
2803 return ret;
2804 }
2805
2806 public static OdEdCommandStack odedRegCmds() {// OdEdCommandStackPtr
2807 MemoryManager mMan = MemoryManager.GetMemoryManager();
2808 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
2809 IntPtr ptr = GlobalsPINVOKE.odedRegCmds();
2810
2811 OdEdCommandStack ret = null;
2812 if (null != mTrans)
2813 {
2814 mTrans.AddObject((OdEdCommandStack)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdEdCommandStack),ptr, true));
2815 ret = (OdEdCommandStack)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdEdCommandStack),ptr, false);
2816 }
2817 else
2818 {
2819 ret = (OdEdCommandStack)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdEdCommandStack),ptr, true);
2820 }
2821
2823 return ret;
2824}
2825
2826 public static OdEdCommand odedFireUnknownCommand(OdEdCommandStack pCmdStack, String sCmd, OdEdCommandContext pCmdCtx) {// OdEdCommandPtr
2827 MemoryManager mMan = MemoryManager.GetMemoryManager();
2828 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
2830
2831 OdEdCommand ret = null;
2832 if (null != mTrans)
2833 {
2834 mTrans.AddObject((OdEdCommand)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdEdCommand),ptr, true));
2835 ret = (OdEdCommand)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdEdCommand),ptr, false);
2836 }
2837 else
2838 {
2839 ret = (OdEdCommand)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdEdCommand),ptr, true);
2840 }
2841
2843 return ret;
2844}
2845
2846 public static Globals.OdTraceFuncDelegate odSetTraceFunc(Globals.OdTraceFuncDelegate /*CS_DELEGATE_CONNECT_TYPEMAP_PART_BASE cstype*/ traceFunc) {
2847/*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN pre csin start*/
2848 Globals.OdTraceFuncDelegateNative traceFunc_inDelegate = null;
2849 if (traceFunc != null)
2850 {
2851 traceFunc_inDelegate = (IntPtr debugString) =>
2852 {
2853 ;
2854 try
2855 {
2856 traceFunc(Marshal.PtrToStringUni(debugString));
2857 }
2858 finally
2859 {
2860 ;
2861 }
2862 };
2863 }
2864 IntPtr traceFunc_ptr = (traceFunc == null) ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(traceFunc_inDelegate);
2865 Teigha.Core.DelegateHolder.Add(traceFunc_inDelegate);
2866 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN pre csin end*/
2867 try {
2868 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN csout start*/
2869 IntPtr nativeCallback = GlobalsPINVOKE.odSetTraceFunc(traceFunc_ptr /*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN csin*/ );
2870
2872 Globals.OdTraceFuncDelegate outDelegate = null;
2873 if (nativeCallback != IntPtr.Zero)
2874 {
2875 outDelegate = (string debugString) =>
2876 {
2877 Globals.OdTraceFuncDelegateNative cPtr_NativeDelegate = Marshal.GetDelegateForFunctionPointer(nativeCallback, typeof(Globals.OdTraceFuncDelegateNative)) as Globals.OdTraceFuncDelegateNative;
2878 ;
2879 cPtr_NativeDelegate(Marshal.StringToCoTaskMemUni(debugString));
2880 ;
2881 };
2882 }
2883 return outDelegate;
2884 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN csout end*/
2885 } finally {
2886//Empty post /*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN post csin*/
2887 }
2888 }
2889
2890 public static Globals.OdAssertFuncDelegate odSetAssertFunc(Globals.OdAssertFuncDelegate /*CS_DELEGATE_CONNECT_TYPEMAP_PART_BASE cstype*/ assertFunc) {
2891/*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN pre csin start*/
2892 Globals.OdAssertFuncDelegateNative assertFunc_inDelegate = null;
2893 if (assertFunc != null)
2894 {
2895 assertFunc_inDelegate = (string expresssion,string filename,int nLineNo) =>
2896 {
2897 ;
2898 try
2899 {
2900 assertFunc(expresssion,filename,nLineNo);
2901 }
2902 finally
2903 {
2904 ;
2905 }
2906 };
2907 }
2908 IntPtr assertFunc_ptr = (assertFunc == null) ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(assertFunc_inDelegate);
2909 Teigha.Core.DelegateHolder.Add(assertFunc_inDelegate);
2910 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN pre csin end*/
2911 try {
2912 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN csout start*/
2913 IntPtr nativeCallback = GlobalsPINVOKE.odSetAssertFunc(assertFunc_ptr /*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN csin*/ );
2914
2916 Globals.OdAssertFuncDelegate outDelegate = null;
2917 if (nativeCallback != IntPtr.Zero)
2918 {
2919 outDelegate = (string expresssion,string filename,int nLineNo) =>
2920 {
2921 Globals.OdAssertFuncDelegateNative cPtr_NativeDelegate = Marshal.GetDelegateForFunctionPointer(nativeCallback, typeof(Globals.OdAssertFuncDelegateNative)) as Globals.OdAssertFuncDelegateNative;
2922 ;
2923 cPtr_NativeDelegate(expresssion,filename,nLineNo);
2924 ;
2925 };
2926 }
2927 return outDelegate;
2928 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN csout end*/
2929 } finally {
2930//Empty post /*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN post csin*/
2931 }
2932 }
2933
2934 public static Globals.OdCheckAssertGroupFuncDelegate odSetCheckAssertGroupFunc(Globals.OdCheckAssertGroupFuncDelegate /*CS_DELEGATE_CONNECT_TYPEMAP_PART_BASE cstype*/ checkFunc) {
2935/*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin start*/
2936 Globals.OdCheckAssertGroupFuncDelegateNative checkFunc_inDelegate = null;
2937 if (checkFunc != null)
2938 {
2939 checkFunc_inDelegate = (string group) =>
2940 {
2941 ;
2942 try
2943 {
2944 return (checkFunc(group));
2945 }
2946 finally
2947 {
2948 ;
2949 }
2950 };
2951 }
2952 IntPtr checkFunc_ptr = (checkFunc == null) ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(checkFunc_inDelegate);
2953 Teigha.Core.DelegateHolder.Add(checkFunc_inDelegate);
2954 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin end*/
2955 try {
2956 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN csout start*/
2957 IntPtr nativeCallback = GlobalsPINVOKE.odSetCheckAssertGroupFunc(checkFunc_ptr /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN csin*/ );
2958
2960 Globals.OdCheckAssertGroupFuncDelegate outDelegate = null;
2961 if (nativeCallback != IntPtr.Zero)
2962 {
2963 outDelegate = (string group) =>
2964 {
2965 Globals.OdCheckAssertGroupFuncDelegateNative cPtr_NativeDelegate = Marshal.GetDelegateForFunctionPointer(nativeCallback, typeof(Globals.OdCheckAssertGroupFuncDelegateNative)) as Globals.OdCheckAssertGroupFuncDelegateNative;
2966 ;
2967 try
2968 {
2969 return (cPtr_NativeDelegate(group));
2970 }
2971 finally
2972 {
2973 ;
2974 }
2975 };
2976 }
2977 return outDelegate;
2978 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN csout end*/
2979 } finally {
2980//Empty post /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN post csin*/
2981 }
2982 }
2983
2984 public static void OdAssert(string expresssion, string filename, int nLineNo) {
2985 GlobalsPINVOKE.OdAssert__SWIG_0(expresssion, filename, nLineNo);
2987 }
2988
2989 public static void OdAssert(string group, string expresssion, string fileName, int nLineNo) {
2990 GlobalsPINVOKE.OdAssert__SWIG_1(group, expresssion, fileName, nLineNo);
2992 }
2993
2994 public static void odrxRegisterHyperlinkDestructorCallback(Globals.ODDBHYPERLINK_CALLBACKDelegate /*CS_DELEGATE_CONNECT_TYPEMAP_PART_BASE cstype*/ callbackFunc) {
2995/*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN pre csin start*/
2996 Globals.ODDBHYPERLINK_CALLBACKDelegateNative callbackFunc_inDelegate = null;
2997 if (callbackFunc != null)
2998 {
2999 callbackFunc_inDelegate = (IntPtr obj) =>
3000 {
3001 ;
3002 try
3003 {
3004 callbackFunc(OdMarshalHelper.PtrToObject<OdDbHyperlink>(obj));
3005 }
3006 finally
3007 {
3008 ;
3009 }
3010 };
3011 }
3012 IntPtr callbackFunc_ptr = (callbackFunc == null) ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(callbackFunc_inDelegate);
3013 Teigha.Core.DelegateHolder.Add(callbackFunc_inDelegate);
3014 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN pre csin end*/
3015 try {
3016 GlobalsPINVOKE.odrxRegisterHyperlinkDestructorCallback(callbackFunc_ptr /*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN csin*/ );
3018 } finally {
3019//Empty post /*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN post csin*/
3020 }
3021 }
3022
3027
3028 public static bool odcmIsBackgroundLight(UInt32 backgroung) {
3029 bool ret = GlobalsPINVOKE.odcmIsBackgroundLight(backgroung /*SIMPLETYPE*/);
3031 return ret;
3032 }
3033
3034 public static UInt32[] /*array applied*/ odcmAcadDarkPalette() {
3035 IntPtr ret_ptr = GlobalsPINVOKE.odcmAcadDarkPalette();
3037 if (ret_ptr == IntPtr.Zero)
3038 return null;
3039 int arrayLength = 257;
3040 Int32[] ret_tmp_result = new Int32[arrayLength];
3041 Marshal.Copy(ret_ptr, ret_tmp_result, 0, arrayLength);
3042
3043 UInt32[] result = Array.ConvertAll<Int32,UInt32>(ret_tmp_result, new Converter<Int32, UInt32>((in_value) => { return (UInt32)in_value; }));
3044 return result;
3045}
3046
3047 public static UInt32[] /*array applied*/ odcmAcadLightPalette() {
3048 IntPtr ret_ptr = GlobalsPINVOKE.odcmAcadLightPalette();
3050 if (ret_ptr == IntPtr.Zero)
3051 return null;
3052 int arrayLength = 257;
3053 Int32[] ret_tmp_result = new Int32[arrayLength];
3054 Marshal.Copy(ret_ptr, ret_tmp_result, 0, arrayLength);
3055
3056 UInt32[] result = Array.ConvertAll<Int32,UInt32>(ret_tmp_result, new Converter<Int32, UInt32>((in_value) => { return (UInt32)in_value; }));
3057 return result;
3058}
3059
3060 public static UInt32[] /*array applied*/ odcmAcadPlotPalette() {
3061 IntPtr ret_ptr = GlobalsPINVOKE.odcmAcadPlotPalette();
3063 if (ret_ptr == IntPtr.Zero)
3064 return null;
3065 int arrayLength = 257;
3066 Int32[] ret_tmp_result = new Int32[arrayLength];
3067 Marshal.Copy(ret_ptr, ret_tmp_result, 0, arrayLength);
3068
3069 UInt32[] result = Array.ConvertAll<Int32,UInt32>(ret_tmp_result, new Converter<Int32, UInt32>((in_value) => { return (UInt32)in_value; }));
3070 return result;
3071}
3072
3073 public static UInt32[] /*array applied*/ odcmAcadPalette(UInt32 backgr) {
3074 IntPtr ret_ptr = GlobalsPINVOKE.odcmAcadPalette(backgr /*SIMPLETYPE*/);
3076 if (ret_ptr == IntPtr.Zero)
3077 return null;
3078 int arrayLength = 257;
3079 Int32[] ret_tmp_result = new Int32[arrayLength];
3080 Marshal.Copy(ret_ptr, ret_tmp_result, 0, arrayLength);
3081
3082 UInt32[] result = Array.ConvertAll<Int32,UInt32>(ret_tmp_result, new Converter<Int32, UInt32>((in_value) => { return (UInt32)in_value; }));
3083 return result;
3084}
3085
3086 public static SWIGTYPE_p_ODCOLORREF odcmAcadDynamicPalette(UInt32 background) {
3087 global::System.IntPtr cPtr = GlobalsPINVOKE.odcmAcadDynamicPalette(background /*SIMPLETYPE*/);
3088 SWIGTYPE_p_ODCOLORREF ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_ODCOLORREF(cPtr, false);
3090 return ret;
3091 }
3092
3093 public static UInt32 odcmLookupRGB(int index, UInt32[] /*array applied*/ pPalette) {
3094// test csout
3095 /*SIMPLETYPE*/
3096 UInt32 ret = GlobalsPINVOKE.odcmLookupRGB(index, pPalette);
3098 return ret;
3099 }
3100
3101 public static int odcmLookupACI(UInt32 rgb, UInt32[] /*array applied*/ pPalette) {
3102 int ret = GlobalsPINVOKE.odcmLookupACI(rgb /*SIMPLETYPE*/, pPalette);
3104 return ret;
3105 }
3106
3111
3113 OdAsyncIOService ret = (OdAsyncIOService)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdAsyncIOService),GlobalsPINVOKE.odGetAsyncIOService(),false); /*createInt 3_2*/
3114
3116 return ret;
3117}
3118
3123
3124 public static bool ABBreakToSingleBody(OdStreamBuf pStreamBuf, Int32 typeVer, bool standardSaveFlag, ISATConverterPtrArray entitySet) {
3125 bool ret = GlobalsPINVOKE.ABBreakToSingleBody(OdStreamBuf.getCPtr(pStreamBuf), typeVer /*SIMPLETYPE*/, standardSaveFlag, ISATConverterPtrArray.getCPtr(entitySet));
3127 return ret;
3128 }
3129
3131 global::System.IntPtr cPtr = GlobalsPINVOKE.ABCreateConverter();
3132 ISATConverter ret = (cPtr == global::System.IntPtr.Zero) ? null : new ISATConverter(cPtr, false);
3134 return ret;
3135 }
3136
3141
3142 public static void OdGeDrawSegmentHatch(OdGeLineSeg2dArray segments, OdIntArray loops, OdIntArray loopTypes, OdGeHatchStrokes StrokeParams, OdGeIslandStyle iStyle, bool isSolid, OdGeLineSeg2dArray strokes, OdGeTol tol, OdGeStrokeDataArray pStrokeData, OdGeShellData pShell, bool bIncludeBoundary, SWIGTYPE_p_std__functionT_bool_fF_t fRegenAbort) {
3143 GlobalsPINVOKE.OdGeDrawSegmentHatch__SWIG_0(OdGeLineSeg2dArray.getCPtr(segments), OdIntArray.getCPtr(loops).Handle, OdIntArray.getCPtr(loopTypes).Handle, OdGeHatchStrokes.getCPtr(StrokeParams), (int)iStyle, isSolid, OdGeLineSeg2dArray.getCPtr(strokes), OdGeTol.getCPtr(tol), OdGeStrokeDataArray.getCPtr(pStrokeData), OdGeShellData.getCPtr(pShell), bIncludeBoundary, SWIGTYPE_p_std__functionT_bool_fF_t.getCPtr(fRegenAbort));
3145 }
3146
3147 public static void OdGeDrawSegmentHatch(OdGeLineSeg2dArray segments, OdIntArray loops, OdIntArray loopTypes, OdGeHatchStrokes StrokeParams, OdGeIslandStyle iStyle, bool isSolid, OdGeLineSeg2dArray strokes, OdGeTol tol, OdGeStrokeDataArray pStrokeData, OdGeShellData pShell, bool bIncludeBoundary) {
3148 GlobalsPINVOKE.OdGeDrawSegmentHatch__SWIG_1(OdGeLineSeg2dArray.getCPtr(segments), OdIntArray.getCPtr(loops).Handle, OdIntArray.getCPtr(loopTypes).Handle, OdGeHatchStrokes.getCPtr(StrokeParams), (int)iStyle, isSolid, OdGeLineSeg2dArray.getCPtr(strokes), OdGeTol.getCPtr(tol), OdGeStrokeDataArray.getCPtr(pStrokeData), OdGeShellData.getCPtr(pShell), bIncludeBoundary);
3150 }
3151
3152 public static void OdGeDrawSegmentHatch(OdGeLineSeg2dArray segments, OdIntArray loops, OdIntArray loopTypes, OdGeHatchStrokes StrokeParams, OdGeIslandStyle iStyle, bool isSolid, OdGeLineSeg2dArray strokes, OdGeTol tol, OdGeStrokeDataArray pStrokeData, OdGeShellData pShell) {
3153 GlobalsPINVOKE.OdGeDrawSegmentHatch__SWIG_2(OdGeLineSeg2dArray.getCPtr(segments), OdIntArray.getCPtr(loops).Handle, OdIntArray.getCPtr(loopTypes).Handle, OdGeHatchStrokes.getCPtr(StrokeParams), (int)iStyle, isSolid, OdGeLineSeg2dArray.getCPtr(strokes), OdGeTol.getCPtr(tol), OdGeStrokeDataArray.getCPtr(pStrokeData), OdGeShellData.getCPtr(pShell));
3155 }
3156
3157 public static void OdGeDrawSegmentHatch(OdGeLineSeg2dArray segments, OdIntArray loops, OdIntArray loopTypes, OdGeHatchStrokes StrokeParams, OdGeIslandStyle iStyle, bool isSolid, OdGeLineSeg2dArray strokes, OdGeTol tol, OdGeStrokeDataArray pStrokeData) {
3158 GlobalsPINVOKE.OdGeDrawSegmentHatch__SWIG_3(OdGeLineSeg2dArray.getCPtr(segments), OdIntArray.getCPtr(loops).Handle, OdIntArray.getCPtr(loopTypes).Handle, OdGeHatchStrokes.getCPtr(StrokeParams), (int)iStyle, isSolid, OdGeLineSeg2dArray.getCPtr(strokes), OdGeTol.getCPtr(tol), OdGeStrokeDataArray.getCPtr(pStrokeData));
3160 }
3161
3162 public static void OdGeDrawSegmentHatch(OdGeLineSeg2dArray segments, OdIntArray loops, OdIntArray loopTypes, OdGeHatchStrokes StrokeParams, OdGeIslandStyle iStyle, bool isSolid, OdGeLineSeg2dArray strokes, OdGeTol tol) {
3163 GlobalsPINVOKE.OdGeDrawSegmentHatch__SWIG_4(OdGeLineSeg2dArray.getCPtr(segments), OdIntArray.getCPtr(loops).Handle, OdIntArray.getCPtr(loopTypes).Handle, OdGeHatchStrokes.getCPtr(StrokeParams), (int)iStyle, isSolid, OdGeLineSeg2dArray.getCPtr(strokes), OdGeTol.getCPtr(tol));
3165 }
3166
3167 public static void OdGeDrawSegmentHatch(OdGeLineSeg2dArray segments, OdIntArray loops, OdIntArray loopTypes, OdGeHatchStrokes StrokeParams, OdGeIslandStyle iStyle, bool isSolid, OdGeLineSeg2dArray strokes) {
3168 GlobalsPINVOKE.OdGeDrawSegmentHatch__SWIG_5(OdGeLineSeg2dArray.getCPtr(segments), OdIntArray.getCPtr(loops).Handle, OdIntArray.getCPtr(loopTypes).Handle, OdGeHatchStrokes.getCPtr(StrokeParams), (int)iStyle, isSolid, OdGeLineSeg2dArray.getCPtr(strokes));
3170 }
3171
3172 public static void OdGeDrawSegmentHatchXY(OdGeLineSeg2dArray segments, OdIntArray loops, OdIntArray loopTypes, OdGeHatchStrokes StrokeParams, OdGeIslandStyle iStyle, bool isSolid, OdGeLineSeg2dArray strokes, OdGeTol tol, OdGeStrokeDataArray pStrokeData, OdGeShellData pShell) {
3173 GlobalsPINVOKE.OdGeDrawSegmentHatchXY__SWIG_0(OdGeLineSeg2dArray.getCPtr(segments), OdIntArray.getCPtr(loops).Handle, OdIntArray.getCPtr(loopTypes).Handle, OdGeHatchStrokes.getCPtr(StrokeParams), (int)iStyle, isSolid, OdGeLineSeg2dArray.getCPtr(strokes), OdGeTol.getCPtr(tol), OdGeStrokeDataArray.getCPtr(pStrokeData), OdGeShellData.getCPtr(pShell));
3175 }
3176
3177 public static void OdGeDrawSegmentHatchXY(OdGeLineSeg2dArray segments, OdIntArray loops, OdIntArray loopTypes, OdGeHatchStrokes StrokeParams, OdGeIslandStyle iStyle, bool isSolid, OdGeLineSeg2dArray strokes, OdGeTol tol, OdGeStrokeDataArray pStrokeData) {
3178 GlobalsPINVOKE.OdGeDrawSegmentHatchXY__SWIG_1(OdGeLineSeg2dArray.getCPtr(segments), OdIntArray.getCPtr(loops).Handle, OdIntArray.getCPtr(loopTypes).Handle, OdGeHatchStrokes.getCPtr(StrokeParams), (int)iStyle, isSolid, OdGeLineSeg2dArray.getCPtr(strokes), OdGeTol.getCPtr(tol), OdGeStrokeDataArray.getCPtr(pStrokeData));
3180 }
3181
3182 public static void OdGeDrawSegmentHatchXY(OdGeLineSeg2dArray segments, OdIntArray loops, OdIntArray loopTypes, OdGeHatchStrokes StrokeParams, OdGeIslandStyle iStyle, bool isSolid, OdGeLineSeg2dArray strokes, OdGeTol tol) {
3183 GlobalsPINVOKE.OdGeDrawSegmentHatchXY__SWIG_2(OdGeLineSeg2dArray.getCPtr(segments), OdIntArray.getCPtr(loops).Handle, OdIntArray.getCPtr(loopTypes).Handle, OdGeHatchStrokes.getCPtr(StrokeParams), (int)iStyle, isSolid, OdGeLineSeg2dArray.getCPtr(strokes), OdGeTol.getCPtr(tol));
3185 }
3186
3187 public static void OdGeDrawSegmentHatchXY(OdGeLineSeg2dArray segments, OdIntArray loops, OdIntArray loopTypes, OdGeHatchStrokes StrokeParams, OdGeIslandStyle iStyle, bool isSolid, OdGeLineSeg2dArray strokes) {
3188 GlobalsPINVOKE.OdGeDrawSegmentHatchXY__SWIG_3(OdGeLineSeg2dArray.getCPtr(segments), OdIntArray.getCPtr(loops).Handle, OdIntArray.getCPtr(loopTypes).Handle, OdGeHatchStrokes.getCPtr(StrokeParams), (int)iStyle, isSolid, OdGeLineSeg2dArray.getCPtr(strokes));
3190 }
3191
3192 public static OdResult build2dShell(OdGePoint2dArrayArray contours, Int16 style, OdGePoint2dArray vertixes, OdInt32Array indexes, OdGeTol tol) {
3193 OdResult ret = (OdResult)GlobalsPINVOKE.build2dShell(OdGePoint2dArrayArray.getCPtr(contours), style /*SIMPLETYPE*/, OdGePoint2dArray.getCPtr(vertixes).Handle, OdInt32Array.getCPtr(indexes).Handle, OdGeTol.getCPtr(tol));
3195 return ret;
3196 }
3197
3198 public static OdResult odgeDrawDashedHatch(OdHatchPattern pattern, OdGeLineSeg2dArray segmentArray, OdIntArray loopArray, OdIntArray loopTypes, OdGeTol hatchTolerance, OdGeIslandStyle islandStyle, UInt32 maxHatchDensity, OdGeHatchDashTaker dashTaker, bool bCheckDense, bool bIncludeBoundary, SWIGTYPE_p_std__functionT_bool_fF_t fRegenAbort) {
3199 OdResult ret = (OdResult)GlobalsPINVOKE.odgeDrawDashedHatch__SWIG_0(OdHatchPattern.getCPtr(pattern), OdGeLineSeg2dArray.getCPtr(segmentArray), OdIntArray.getCPtr(loopArray).Handle, OdIntArray.getCPtr(loopTypes).Handle, OdGeTol.getCPtr(hatchTolerance), (int)islandStyle, maxHatchDensity /*SIMPLETYPE*/, OdGeHatchDashTaker.getCPtr(dashTaker), bCheckDense, bIncludeBoundary, SWIGTYPE_p_std__functionT_bool_fF_t.getCPtr(fRegenAbort));
3201 return ret;
3202 }
3203
3204 public static OdResult odgeDrawDashedHatch(OdHatchPattern pattern, OdGeLineSeg2dArray segmentArray, OdIntArray loopArray, OdIntArray loopTypes, OdGeTol hatchTolerance, OdGeIslandStyle islandStyle, UInt32 maxHatchDensity, OdGeHatchDashTaker dashTaker, bool bCheckDense, bool bIncludeBoundary) {
3205 OdResult ret = (OdResult)GlobalsPINVOKE.odgeDrawDashedHatch__SWIG_1(OdHatchPattern.getCPtr(pattern), OdGeLineSeg2dArray.getCPtr(segmentArray), OdIntArray.getCPtr(loopArray).Handle, OdIntArray.getCPtr(loopTypes).Handle, OdGeTol.getCPtr(hatchTolerance), (int)islandStyle, maxHatchDensity /*SIMPLETYPE*/, OdGeHatchDashTaker.getCPtr(dashTaker), bCheckDense, bIncludeBoundary);
3207 return ret;
3208 }
3209
3210 public static OdResult odgeDrawDashedHatch(OdHatchPattern pattern, OdGeLineSeg2dArray segmentArray, OdIntArray loopArray, OdIntArray loopTypes, OdGeTol hatchTolerance, OdGeIslandStyle islandStyle, UInt32 maxHatchDensity, OdGeHatchDashTaker dashTaker, bool bCheckDense) {
3211 OdResult ret = (OdResult)GlobalsPINVOKE.odgeDrawDashedHatch__SWIG_2(OdHatchPattern.getCPtr(pattern), OdGeLineSeg2dArray.getCPtr(segmentArray), OdIntArray.getCPtr(loopArray).Handle, OdIntArray.getCPtr(loopTypes).Handle, OdGeTol.getCPtr(hatchTolerance), (int)islandStyle, maxHatchDensity /*SIMPLETYPE*/, OdGeHatchDashTaker.getCPtr(dashTaker), bCheckDense);
3213 return ret;
3214 }
3215
3216 public static OdResult odgeDrawDashedHatch(OdHatchPattern pattern, OdGeLineSeg2dArray segmentArray, OdIntArray loopArray, OdIntArray loopTypes, OdGeTol hatchTolerance, OdGeIslandStyle islandStyle, UInt32 maxHatchDensity, OdGeHatchDashTaker dashTaker) {
3217 OdResult ret = (OdResult)GlobalsPINVOKE.odgeDrawDashedHatch__SWIG_3(OdHatchPattern.getCPtr(pattern), OdGeLineSeg2dArray.getCPtr(segmentArray), OdIntArray.getCPtr(loopArray).Handle, OdIntArray.getCPtr(loopTypes).Handle, OdGeTol.getCPtr(hatchTolerance), (int)islandStyle, maxHatchDensity /*SIMPLETYPE*/, OdGeHatchDashTaker.getCPtr(dashTaker));
3219 return ret;
3220 }
3221
3222 public static void fillSegmentLoopLtArrays(OdGeLineSeg2dArray segmentArray, OdIntArray loopArray, OdIntArray loopTypes, GiLoopListCustom loopListCustom, OdGeVector2d vOffset, double dDeviation, UInt32 pointLimit, Int16 nHPSmooth, bool bGradientFill, bool bSolid, bool isEvaluateHatchArea, bool isRegionCreate) {
3223 GlobalsPINVOKE.fillSegmentLoopLtArrays__SWIG_0(OdGeLineSeg2dArray.getCPtr(segmentArray), OdIntArray.getCPtr(loopArray).Handle, OdIntArray.getCPtr(loopTypes).Handle, GiLoopListCustom.getCPtr(loopListCustom), OdGeVector2d.getCPtr(vOffset), dDeviation, pointLimit /*SIMPLETYPE*/, nHPSmooth /*SIMPLETYPE*/, bGradientFill, bSolid, isEvaluateHatchArea, isRegionCreate);
3225 }
3226
3227 public static void fillSegmentLoopLtArrays(OdGeLineSeg2dArray segmentArray, OdIntArray loopArray, OdIntArray loopTypes, GiLoopListCustom loopListCustom, OdGeVector2d vOffset, double dDeviation, UInt32 pointLimit, Int16 nHPSmooth, bool bGradientFill, bool bSolid, bool isEvaluateHatchArea) {
3228 GlobalsPINVOKE.fillSegmentLoopLtArrays__SWIG_1(OdGeLineSeg2dArray.getCPtr(segmentArray), OdIntArray.getCPtr(loopArray).Handle, OdIntArray.getCPtr(loopTypes).Handle, GiLoopListCustom.getCPtr(loopListCustom), OdGeVector2d.getCPtr(vOffset), dDeviation, pointLimit /*SIMPLETYPE*/, nHPSmooth /*SIMPLETYPE*/, bGradientFill, bSolid, isEvaluateHatchArea);
3230 }
3231
3232 public static void fillSegmentLoopLtArrays(OdGeLineSeg2dArray segmentArray, OdIntArray loopArray, OdIntArray loopTypes, GiLoopListCustom loopListCustom, OdGeVector2d vOffset, double dDeviation, UInt32 pointLimit, Int16 nHPSmooth, bool bGradientFill, bool bSolid) {
3233 GlobalsPINVOKE.fillSegmentLoopLtArrays__SWIG_2(OdGeLineSeg2dArray.getCPtr(segmentArray), OdIntArray.getCPtr(loopArray).Handle, OdIntArray.getCPtr(loopTypes).Handle, GiLoopListCustom.getCPtr(loopListCustom), OdGeVector2d.getCPtr(vOffset), dDeviation, pointLimit /*SIMPLETYPE*/, nHPSmooth /*SIMPLETYPE*/, bGradientFill, bSolid);
3235 }
3236
3237 public static bool processGradientHatch(ref OdGeShellData pShell, String gradName, double dShift, double dAngle, int r1, int g1, int b1, int r2, int g2, int b2) {
3238IntPtr p_pShell = OdGeShellData.getCPtr(pShell).Handle; /*SHAREDPTR& PRE*/
3239 try {
3240 bool ret = GlobalsPINVOKE.processGradientHatch(ref p_pShell, gradName, dShift, dAngle, r1, g1, b1, r2, g2, b2);
3242 return ret;
3243 } finally {
3244MemoryTransaction mTrans_pShell = MemoryManager.GetMemoryManager().GetCurrentTransaction();
3245 if(mTrans_pShell != null)
3246 mTrans_pShell.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdGeShellData>(typeof(OdGeShellData), p_pShell, true));
3247 pShell = Teigha.Core.Helpers.odCreateObjectInternal<OdGeShellData>(typeof(OdGeShellData), p_pShell, mTrans_pShell == null);
3248 /*SHAREDPTR& POST*/
3249 }
3250 }
3251
3257
3258 public static double calculateDashTakerDeviation(OdGeExtents2d ext, double deviation) {
3261 return ret;
3262 }
3263
3264 public static bool checkDenstiy(OdGeLineSeg2dArray segmentArray, OdIntArray loopArray, OdHatchPattern hp, OdGeExtents2d ext, UInt32 loopAmount, UInt32 maxHatchDensity, bool isMPolygon, out bool bHatchTooDense) {
3265 bool ret = GlobalsPINVOKE.checkDenstiy(OdGeLineSeg2dArray.getCPtr(segmentArray), OdIntArray.getCPtr(loopArray).Handle, OdHatchPattern.getCPtr(hp), OdGeExtents2d.getCPtr(ext), loopAmount /*SIMPLETYPE*/, maxHatchDensity /*SIMPLETYPE*/, isMPolygon, out bHatchTooDense);
3267 return ret;
3268 }
3269
3270 public static OdResult evaluateDashedHatch(GiLoopListCustom giLoopList, OdHatchPattern hatchPattern, OdGeIslandStyle eHatchStyle, double dViewRotation, double dDeviation, UInt32 loopAmount, UInt32 pointLimit, UInt32 maxHatchDensity, UInt32 maxPointsToDraw, Int16 nHPSmooth, bool bSolidFill, bool bGradientFill, bool isEvaluateHatchArea, bool isMPolygon, bool isDBRO, out bool bHatchTooDense, OdGeHatchDashTaker dashTaker, OdGeLineSeg2dArray segmentArrayOut, OdIntArray loopArrayOut, OdIntArray loopTypesOut, OdGeExtents2d ext2dOut, OdGeTol tol, SWIGTYPE_p_std__functionT_bool_fF_t fRegenAbort) {
3271 OdResult ret = (OdResult)GlobalsPINVOKE.evaluateDashedHatch__SWIG_0(GiLoopListCustom.getCPtr(giLoopList), OdHatchPattern.getCPtr(hatchPattern), (int)eHatchStyle, dViewRotation, dDeviation, loopAmount /*SIMPLETYPE*/, pointLimit /*SIMPLETYPE*/, maxHatchDensity /*SIMPLETYPE*/, maxPointsToDraw /*SIMPLETYPE*/, nHPSmooth /*SIMPLETYPE*/, bSolidFill, bGradientFill, isEvaluateHatchArea, isMPolygon, isDBRO, out bHatchTooDense, OdGeHatchDashTaker.getCPtr(dashTaker), OdGeLineSeg2dArray.getCPtr(segmentArrayOut), OdIntArray.getCPtr(loopArrayOut).Handle, OdIntArray.getCPtr(loopTypesOut).Handle, OdGeExtents2d.getCPtr(ext2dOut), OdGeTol.getCPtr(tol), SWIGTYPE_p_std__functionT_bool_fF_t.getCPtr(fRegenAbort));
3273 return ret;
3274 }
3275
3276 public static OdResult evaluateDashedHatch(GiLoopListCustom giLoopList, OdHatchPattern hatchPattern, OdGeIslandStyle eHatchStyle, double dViewRotation, double dDeviation, UInt32 loopAmount, UInt32 pointLimit, UInt32 maxHatchDensity, UInt32 maxPointsToDraw, Int16 nHPSmooth, bool bSolidFill, bool bGradientFill, bool isEvaluateHatchArea, bool isMPolygon, bool isDBRO, out bool bHatchTooDense, OdGeHatchDashTaker dashTaker, OdGeLineSeg2dArray segmentArrayOut, OdIntArray loopArrayOut, OdIntArray loopTypesOut, OdGeExtents2d ext2dOut, OdGeTol tol) {
3277 OdResult ret = (OdResult)GlobalsPINVOKE.evaluateDashedHatch__SWIG_1(GiLoopListCustom.getCPtr(giLoopList), OdHatchPattern.getCPtr(hatchPattern), (int)eHatchStyle, dViewRotation, dDeviation, loopAmount /*SIMPLETYPE*/, pointLimit /*SIMPLETYPE*/, maxHatchDensity /*SIMPLETYPE*/, maxPointsToDraw /*SIMPLETYPE*/, nHPSmooth /*SIMPLETYPE*/, bSolidFill, bGradientFill, isEvaluateHatchArea, isMPolygon, isDBRO, out bHatchTooDense, OdGeHatchDashTaker.getCPtr(dashTaker), OdGeLineSeg2dArray.getCPtr(segmentArrayOut), OdIntArray.getCPtr(loopArrayOut).Handle, OdIntArray.getCPtr(loopTypesOut).Handle, OdGeExtents2d.getCPtr(ext2dOut), OdGeTol.getCPtr(tol));
3279 return ret;
3280 }
3281
3283 string ret = GlobalsPINVOKE.convertTextToCodePage(source, (int)arg1, (int)arg2);
3285 return ret;
3286}
3287
3288 public static OdCodePageId mapCodepage(Int16 cp) {
3289 OdCodePageId ret = (OdCodePageId)GlobalsPINVOKE.mapCodepage(cp /*SIMPLETYPE*/);
3291 return ret;
3292 }
3293
3294 public static Int16 reMapCodepage(OdCodePageId id) {
3295// test csout
3296 /*SIMPLETYPE*/
3297 Int16 ret = GlobalsPINVOKE.reMapCodepage((int)id);
3299 return ret;
3300 }
3301
3302 public static bool isAsianCodepage(OdCodePageId codePage) {
3303 bool ret = GlobalsPINVOKE.isAsianCodepage((int)codePage);
3305 return ret;
3306 }
3307
3313
3314 public static String getCodePageStr(int index) {
3315 string ret = GlobalsPINVOKE.getCodePageStr(index);
3317 return ret;
3318}
3319
3320 public static bool IsMultiByteCodePage(OdCodePageId id) {
3321 bool ret = GlobalsPINVOKE.IsMultiByteCodePage((int)id);
3323 return ret;
3324 }
3325
3326 public static String oddbConvertTextToCodePage(String source, OdCodePageId sourceId, OdCodePageId destId) {
3327 string ret = GlobalsPINVOKE.oddbConvertTextToCodePage(source, (int)sourceId, (int)destId);
3329 return ret;
3330}
3331
3332 public static char checkSpecialSymbol(OdFont pFont, char sym, out bool isSpecSym) {
3333// test csout
3334 /*SIMPLETYPE*/
3335 char ret = GlobalsPINVOKE.checkSpecialSymbol(OdFont.getCPtr(pFont), sym /*SIMPLETYPE*/, out isSpecSym);
3337 return ret;
3338 }
3339
3340 public static UInt32 lMaxDwfResolution {
3341 get {
3342 /*SIMPLETYPE*/
3345 return ret;
3346 }
3347 }
3348
3354
3355 public static bool OdGiRasterImage_isColorPresent(OdGiRasterImage pImage, UInt32 color, bool bDoAlphaStrongOnly) {
3356 bool ret = GlobalsPINVOKE.OdGiRasterImage_isColorPresent__SWIG_0(OdGiRasterImage.getCPtr(pImage), color /*SIMPLETYPE*/, bDoAlphaStrongOnly);
3358 return ret;
3359 }
3360
3361 public static bool OdGiRasterImage_isColorPresent(OdGiRasterImage pImage, UInt32 color) {
3362 bool ret = GlobalsPINVOKE.OdGiRasterImage_isColorPresent__SWIG_1(OdGiRasterImage.getCPtr(pImage), color /*SIMPLETYPE*/);
3364 return ret;
3365 }
3366
3372
3373 public static void process(ref OdStreamBuf /*OUT_PARAM for SMARTPTR*/ inStream, ref OdStreamBuf /*OUT_PARAM for SMARTPTR*/ outStream, bool linearize, String user_password, String owner_password, PDFAccessPermissionsParams access_permission_params, PDFVersion version) {
3374 /*OUT_PARAM for SMARTPTR pre*/ IntPtr tmp_inStream = inStream == null ? IntPtr.Zero : OdStreamBuf.getCPtr(inStream).Handle;
3375 IntPtr saved_inStream = tmp_inStream;
3376 /*OUT_PARAM for SMARTPTR pre*/
3377 /*OUT_PARAM for SMARTPTR pre*/ IntPtr tmp_outStream = outStream == null ? IntPtr.Zero : OdStreamBuf.getCPtr(outStream).Handle;
3378 IntPtr saved_outStream = tmp_outStream;
3379 /*OUT_PARAM for SMARTPTR pre*/
3380 try {
3381 GlobalsPINVOKE.process(ref tmp_inStream /*OUT_PARAM for SMARTPTR*/, ref tmp_outStream /*OUT_PARAM for SMARTPTR*/, linearize, user_password, owner_password, PDFAccessPermissionsParams.getCPtr(access_permission_params), PDFVersion.getCPtr(version));
3383 } finally {
3384if(tmp_inStream == IntPtr.Zero) inStream = null;
3385 if(tmp_inStream != IntPtr.Zero && tmp_inStream != saved_inStream)
3386 {
3387 MemoryTransaction mTrans_inStream = MemoryManager.GetMemoryManager().GetCurrentTransaction();
3388 if(mTrans_inStream != null)
3389 mTrans_inStream.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdStreamBuf>(typeof(OdStreamBuf), tmp_inStream, true));
3390 inStream = Teigha.Core.Helpers.odCreateObjectInternal<OdStreamBuf>(typeof(OdStreamBuf), tmp_inStream, mTrans_inStream == null);
3391 /*OUT_PARAM for SMARTPTR*/
3392 }
3393if(tmp_outStream == IntPtr.Zero) outStream = null;
3394 if(tmp_outStream != IntPtr.Zero && tmp_outStream != saved_outStream)
3395 {
3396 MemoryTransaction mTrans_outStream = MemoryManager.GetMemoryManager().GetCurrentTransaction();
3397 if(mTrans_outStream != null)
3398 mTrans_outStream.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdStreamBuf>(typeof(OdStreamBuf), tmp_outStream, true));
3399 outStream = Teigha.Core.Helpers.odCreateObjectInternal<OdStreamBuf>(typeof(OdStreamBuf), tmp_outStream, mTrans_outStream == null);
3400 /*OUT_PARAM for SMARTPTR*/
3401 }
3402 }
3403 }
3404
3409
3410 public static PDFName CreateOC4Layer(String layer_name, PDFDocument PDFDoc, PDFResourceDictionary resource_dict, bool bVisible, bool bLocked) {
3411 MemoryManager mMan = MemoryManager.GetMemoryManager();
3412 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #25
3413 IntPtr ptr = GlobalsPINVOKE.CreateOC4Layer__SWIG_0(layer_name, PDFDocument.getCPtr(PDFDoc), PDFResourceDictionary.getCPtr(resource_dict), bVisible, bLocked);
3414
3415 PDFName ret = null;
3416 if (null != mTrans)
3417 {
3418 mTrans.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<PDFName>(typeof(PDFName), ptr, true));
3419 ret = Teigha.Core.Helpers.odCreateObjectInternal<PDFName>(typeof(PDFName), ptr, false);
3420 }
3421 else
3422 {
3423 ret = Teigha.Core.Helpers.odCreateObjectInternal<PDFName>(typeof(PDFName), ptr, true);
3424 }
3425
3427 return ret;
3428}
3429
3430 public static PDFName CreateOC4Layer(String layer_name, PDFDocument PDFDoc, PDFResourceDictionary resource_dict, bool bVisible) {
3431 MemoryManager mMan = MemoryManager.GetMemoryManager();
3432 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #25
3433 IntPtr ptr = GlobalsPINVOKE.CreateOC4Layer__SWIG_1(layer_name, PDFDocument.getCPtr(PDFDoc), PDFResourceDictionary.getCPtr(resource_dict), bVisible);
3434
3435 PDFName ret = null;
3436 if (null != mTrans)
3437 {
3438 mTrans.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<PDFName>(typeof(PDFName), ptr, true));
3439 ret = Teigha.Core.Helpers.odCreateObjectInternal<PDFName>(typeof(PDFName), ptr, false);
3440 }
3441 else
3442 {
3443 ret = Teigha.Core.Helpers.odCreateObjectInternal<PDFName>(typeof(PDFName), ptr, true);
3444 }
3445
3447 return ret;
3448}
3449
3450 public static PDFName createOCG(String name, PDFOCConfigurationDictionary pOCC, bool bVisible, bool bLocked, PDFResourceDictionary pResource) {
3451 MemoryManager mMan = MemoryManager.GetMemoryManager();
3452 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #25
3453 IntPtr ptr = GlobalsPINVOKE.createOCG(name, PDFOCConfigurationDictionary.getCPtr(pOCC), bVisible, bLocked, PDFResourceDictionary.getCPtr(pResource));
3454
3455 PDFName ret = null;
3456 if (null != mTrans)
3457 {
3458 mTrans.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<PDFName>(typeof(PDFName), ptr, true));
3459 ret = Teigha.Core.Helpers.odCreateObjectInternal<PDFName>(typeof(PDFName), ptr, false);
3460 }
3461 else
3462 {
3463 ret = Teigha.Core.Helpers.odCreateObjectInternal<PDFName>(typeof(PDFName), ptr, true);
3464 }
3465
3467 return ret;
3468}
3469
3470 public static PDFName getOCGbyName(String name, PDFDocument PDFDoc, PDFResourceDictionary pResource) {
3471 MemoryManager mMan = MemoryManager.GetMemoryManager();
3472 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #25
3473 IntPtr ptr = GlobalsPINVOKE.getOCGbyName(name, PDFDocument.getCPtr(PDFDoc), PDFResourceDictionary.getCPtr(pResource));
3474
3475 PDFName ret = null;
3476 if (null != mTrans)
3477 {
3478 mTrans.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<PDFName>(typeof(PDFName), ptr, true));
3479 ret = Teigha.Core.Helpers.odCreateObjectInternal<PDFName>(typeof(PDFName), ptr, false);
3480 }
3481 else
3482 {
3483 ret = Teigha.Core.Helpers.odCreateObjectInternal<PDFName>(typeof(PDFName), ptr, true);
3484 }
3485
3487 return ret;
3488}
3489
3491 MemoryManager mMan = MemoryManager.GetMemoryManager();
3492 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #25
3493 IntPtr ptr = GlobalsPINVOKE.getOCGNodeByName(name, PDFDocument.getCPtr(PDFDoc));
3494
3495 PDFPageNodeDictionary ret = null;
3496 if (null != mTrans)
3497 {
3498 mTrans.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<PDFPageNodeDictionary>(typeof(PDFPageNodeDictionary), ptr, true));
3499 ret = Teigha.Core.Helpers.odCreateObjectInternal<PDFPageNodeDictionary>(typeof(PDFPageNodeDictionary), ptr, false);
3500 }
3501 else
3502 {
3503 ret = Teigha.Core.Helpers.odCreateObjectInternal<PDFPageNodeDictionary>(typeof(PDFPageNodeDictionary), ptr, true);
3504 }
3505
3507 return ret;
3508}
3509
3510 public static void dcImageToPdfImage(OdGiRasterImage pRaster, PDFImage pImage, bool bTransparency, double brightness, double contrast, double fade, UInt32 entityColor, PDFDocument PDFDoc, UInt32 bgColor, UInt16 quality, PDFResourceDictionary pResDict, bool isHatch) {
3511 GlobalsPINVOKE.dcImageToPdfImage__SWIG_0(OdGiRasterImage.getCPtr(pRaster), PDFImage.getCPtr(pImage), bTransparency, brightness, contrast, fade, entityColor /*SIMPLETYPE*/, PDFDocument.getCPtr(PDFDoc), bgColor /*SIMPLETYPE*/, quality /*SIMPLETYPE*/, PDFResourceDictionary.getCPtr(pResDict), isHatch);
3513 }
3514
3515 public static void dcImageToPdfImage(OdGiRasterImage pRaster, PDFImage pImage, bool bTransparency, double brightness, double contrast, double fade, UInt32 entityColor, PDFDocument PDFDoc, UInt32 bgColor, UInt16 quality, PDFResourceDictionary pResDict) {
3516 GlobalsPINVOKE.dcImageToPdfImage__SWIG_1(OdGiRasterImage.getCPtr(pRaster), PDFImage.getCPtr(pImage), bTransparency, brightness, contrast, fade, entityColor /*SIMPLETYPE*/, PDFDocument.getCPtr(PDFDoc), bgColor /*SIMPLETYPE*/, quality /*SIMPLETYPE*/, PDFResourceDictionary.getCPtr(pResDict));
3518 }
3519
3520 public static PDFImage addNewImage(PDFDocument PDFDoc, PDFResourceDictionary pResDict, bool bMask) {
3521 MemoryManager mMan = MemoryManager.GetMemoryManager();
3522 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #25
3524
3525 PDFImage ret = null;
3526 if (null != mTrans)
3527 {
3528 mTrans.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<PDFImage>(typeof(PDFImage), ptr, true));
3529 ret = Teigha.Core.Helpers.odCreateObjectInternal<PDFImage>(typeof(PDFImage), ptr, false);
3530 }
3531 else
3532 {
3533 ret = Teigha.Core.Helpers.odCreateObjectInternal<PDFImage>(typeof(PDFImage), ptr, true);
3534 }
3535
3537 return ret;
3538}
3539
3540 public static PDFImage addNewImage(PDFDocument PDFDoc, PDFResourceDictionary pResDict) {
3541 MemoryManager mMan = MemoryManager.GetMemoryManager();
3542 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #25
3544
3545 PDFImage ret = null;
3546 if (null != mTrans)
3547 {
3548 mTrans.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<PDFImage>(typeof(PDFImage), ptr, true));
3549 ret = Teigha.Core.Helpers.odCreateObjectInternal<PDFImage>(typeof(PDFImage), ptr, false);
3550 }
3551 else
3552 {
3553 ret = Teigha.Core.Helpers.odCreateObjectInternal<PDFImage>(typeof(PDFImage), ptr, true);
3554 }
3555
3557 return ret;
3558}
3559
3560 public static void addNewImageAsXobject(PDFDocument PDFDoc, ref OdGiRasterImage /*OUT_PARAM for SMARTPTR*/ pRasterImage, PDFName pImageFormName, PDFResourceDictionary pResDict) {
3561 /*OUT_PARAM for SMARTPTR pre*/ IntPtr tmp_pRasterImage = pRasterImage == null ? IntPtr.Zero : OdGiRasterImage.getCPtr(pRasterImage).Handle;
3562 IntPtr saved_pRasterImage = tmp_pRasterImage;
3563 /*OUT_PARAM for SMARTPTR pre*/
3564 try {
3565 GlobalsPINVOKE.addNewImageAsXobject(PDFDocument.getCPtr(PDFDoc), ref tmp_pRasterImage /*OUT_PARAM for SMARTPTR*/, /*tptr csin*/ PDFName.getCPtr(pImageFormName), /*tptr csin*/ PDFResourceDictionary.getCPtr(pResDict));
3567 } finally {
3568if(tmp_pRasterImage == IntPtr.Zero) pRasterImage = null;
3569 if(tmp_pRasterImage != IntPtr.Zero && tmp_pRasterImage != saved_pRasterImage)
3570 {
3571 MemoryTransaction mTrans_pRasterImage = MemoryManager.GetMemoryManager().GetCurrentTransaction();
3572 if(mTrans_pRasterImage != null)
3573 mTrans_pRasterImage.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdGiRasterImage>(typeof(OdGiRasterImage), tmp_pRasterImage, true));
3574 pRasterImage = Teigha.Core.Helpers.odCreateObjectInternal<OdGiRasterImage>(typeof(OdGiRasterImage), tmp_pRasterImage, mTrans_pRasterImage == null);
3575 /*OUT_PARAM for SMARTPTR*/
3576 }
3577 }
3578 }
3579
3580 public static PDFObject CreateBookmark(PDFDocument PDFDoc, PDFPageDictionary currentPage, String sTitle, BookmarkTypes type, OdDoubleValuesArray values, PDFObject pParentItem) {
3581 MemoryManager mMan = MemoryManager.GetMemoryManager();
3582 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #25
3583 IntPtr ptr = GlobalsPINVOKE.CreateBookmark__SWIG_0(PDFDocument.getCPtr(PDFDoc), PDFPageDictionary.getCPtr(currentPage), sTitle, (int)type, OdDoubleValuesArray.getCPtr(values), PDFObject.getCPtr(pParentItem));
3584
3585 PDFObject ret = null;
3586 if (null != mTrans)
3587 {
3588 mTrans.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<PDFObject>(typeof(PDFObject), ptr, true));
3589 ret = Teigha.Core.Helpers.odCreateObjectInternal<PDFObject>(typeof(PDFObject), ptr, false);
3590 }
3591 else
3592 {
3593 ret = Teigha.Core.Helpers.odCreateObjectInternal<PDFObject>(typeof(PDFObject), ptr, true);
3594 }
3595
3597 return ret;
3598}
3599
3600 public static PDFObject CreateBookmark(PDFDocument PDFDoc, PDFPageDictionary currentPage, String sTitle, BookmarkTypes type, OdDoubleValuesArray values) {
3601 MemoryManager mMan = MemoryManager.GetMemoryManager();
3602 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #25
3603 IntPtr ptr = GlobalsPINVOKE.CreateBookmark__SWIG_1(PDFDocument.getCPtr(PDFDoc), PDFPageDictionary.getCPtr(currentPage), sTitle, (int)type, OdDoubleValuesArray.getCPtr(values));
3604
3605 PDFObject ret = null;
3606 if (null != mTrans)
3607 {
3608 mTrans.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<PDFObject>(typeof(PDFObject), ptr, true));
3609 ret = Teigha.Core.Helpers.odCreateObjectInternal<PDFObject>(typeof(PDFObject), ptr, false);
3610 }
3611 else
3612 {
3613 ret = Teigha.Core.Helpers.odCreateObjectInternal<PDFObject>(typeof(PDFObject), ptr, true);
3614 }
3615
3617 return ret;
3618}
3619
3624
3629
3634
3639
3644
3645 public static OdRxObject odCreatePrcAllInSingleViewContextBase() {// OdRxObjectPtr
3646 MemoryManager mMan = MemoryManager.GetMemoryManager();
3647 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
3649
3650 OdRxObject ret = null;
3651 if (null != mTrans)
3652 {
3653 mTrans.AddObject((OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, true));
3654 ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, false);
3655 }
3656 else
3657 {
3658 ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, true);
3659 }
3660
3662 return ret;
3663}
3664
3665 public static OdRxObject odCreatePrcAllInSingleViewContextForTD() {// OdRxObjectPtr
3666 MemoryManager mMan = MemoryManager.GetMemoryManager();
3667 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
3669
3670 OdRxObject ret = null;
3671 if (null != mTrans)
3672 {
3673 mTrans.AddObject((OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, true));
3674 ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, false);
3675 }
3676 else
3677 {
3678 ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, true);
3679 }
3680
3682 return ret;
3683}
3684
3686 MemoryManager mMan = MemoryManager.GetMemoryManager();
3687 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
3689
3690 OdRxObject ret = null;
3691 if (null != mTrans)
3692 {
3693 mTrans.AddObject((OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, true));
3694 ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, false);
3695 }
3696 else
3697 {
3698 ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, true);
3699 }
3700
3702 return ret;
3703}
3704
3706 MemoryManager mMan = MemoryManager.GetMemoryManager();
3707 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
3709
3710 OdRxObject ret = null;
3711 if (null != mTrans)
3712 {
3713 mTrans.AddObject((OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, true));
3714 ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, false);
3715 }
3716 else
3717 {
3718 ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, true);
3719 }
3720
3722 return ret;
3723}
3724
3725 public static OdRxObject odCreatePrcDefaultContextForTD() {// OdRxObjectPtr
3726 MemoryManager mMan = MemoryManager.GetMemoryManager();
3727 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
3729
3730 OdRxObject ret = null;
3731 if (null != mTrans)
3732 {
3733 mTrans.AddObject((OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, true));
3734 ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, false);
3735 }
3736 else
3737 {
3738 ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, true);
3739 }
3740
3742 return ret;
3743}
3744
3745 public static OdRxObject odCreatePrcAllInSingleViewContextForDGN() {// OdRxObjectPtr
3746 MemoryManager mMan = MemoryManager.GetMemoryManager();
3747 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
3749
3750 OdRxObject ret = null;
3751 if (null != mTrans)
3752 {
3753 mTrans.AddObject((OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, true));
3754 ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, false);
3755 }
3756 else
3757 {
3758 ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, true);
3759 }
3760
3762 return ret;
3763}
3764
3765 public static OdRxObject odCreatePrcAllInSingleViewContextForBIM() {// OdRxObjectPtr
3766 MemoryManager mMan = MemoryManager.GetMemoryManager();
3767 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
3769
3770 OdRxObject ret = null;
3771 if (null != mTrans)
3772 {
3773 mTrans.AddObject((OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, true));
3774 ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, false);
3775 }
3776 else
3777 {
3778 ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, true);
3779 }
3780
3782 return ret;
3783}
3784
3785 public static PdfExportServiceInterface getPdfExportService() {// PdfExportServiceInterfacePtr
3786 MemoryManager mMan = MemoryManager.GetMemoryManager();
3787 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
3788 IntPtr ptr = GlobalsPINVOKE.getPdfExportService();
3789
3790 PdfExportServiceInterface ret = null;
3791 if (null != mTrans)
3792 {
3793 mTrans.AddObject((PdfExportServiceInterface)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(PdfExportServiceInterface),ptr, true));
3794 ret = (PdfExportServiceInterface)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(PdfExportServiceInterface),ptr, false);
3795 }
3796 else
3797 {
3798 ret = (PdfExportServiceInterface)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(PdfExportServiceInterface),ptr, true);
3799 }
3800
3802 return ret;
3803}
3804
3805 public static readonly uint UINT_MAX = GlobalsPINVOKE.UINT_MAX_get();
3806 public static readonly uint ULONG_MAX = GlobalsPINVOKE.ULONG_MAX_get();
3807 public static readonly int _MSC_VER = GlobalsPINVOKE._MSC_VER_get();
3809 public static readonly int OD_SIZEOF_INT = GlobalsPINVOKE.OD_SIZEOF_INT_get();
3810 public static readonly int OD_SIZEOF_LONG = GlobalsPINVOKE.OD_SIZEOF_LONG_get();
3811 public static readonly string PERCENT18LONG = GlobalsPINVOKE.PERCENT18LONG_get();
3812 public static readonly string HANDLEFORMAT = GlobalsPINVOKE.HANDLEFORMAT_get();
3813 public static readonly string PRId64 = GlobalsPINVOKE.PRId64_get();
3814 public static readonly string PRIu64 = GlobalsPINVOKE.PRIu64_get();
3815 public static readonly string PRIx64 = GlobalsPINVOKE.PRIx64_get();
3816 public static readonly string PRIX64 = GlobalsPINVOKE.PRIX64_get();
3817 public static readonly int OD_SIZEOF_PTR = GlobalsPINVOKE.OD_SIZEOF_PTR_get();
3818 public const int SEEK_SET = 0;
3819 public const int SEEK_CUR = 1;
3820 public const int SEEK_END = 2;
3821 public const int _WIN32_WINNT = 0x0501;
3822 public const double OdaPI = 3.14159265358979323846;
3823 public const double OdaPI2 = (3.14159265358979323846/2.0);
3824 public const double OdaPI4 = (3.14159265358979323846/4.0);
3825 public const double Oda2PI = (3.14159265358979323846+3.14159265358979323846);
3826 public const int ODPDF_DEFAULT_FONT_WIDTH = 1000;
3827 public const int IMAGE_MAJOR_VER = 2;
3828 public const int IMAGE_MINOR_VER = 0;
3829 public const int IMAGE_CORRECTIVE_VER = 0;
3830 public const int IMAGE_INTERNAL_VER = 0;
3831 public const int kOdGiIncludeScores = 2;
3832 public const int kOdGiRawText = 4;
3833 public const int kOdGiIncludePenups = 8;
3834 public const int kOdGiDrawShape = 16;
3835 public const int kOdGiIgnoreMIF = 32;
3836 public const int kOdGiLastPosOnly = 64;
3837 public const int kForMTextExtents = 128;
3838 public const int kOdGiTextExtents = 0x10000000;
3839
3840 public const double INVALIDEXTENTS = 1.0e20;
3841 public const int SCALAR_MIN = (-2147483647-1);
3842 public const int SCALAR_MAX = 2147483647;
3843 public const int kNothing = 0;
3844 public const int kIsolines = 1;
3845 public const int kEdges = 2;
3846 public const int kShells = 4;
3847 public const int kOrderedEdges = 8;
3848 public const int kSurfIsolines = 16;
3849 public const int kShellsWithoutWires = 32;
3851 public const int kVertices = 128;
3852 public const int kOptimizedShells = 256;
3853
3854 public const uint kOdDbIdAllBits = 0xFFFFFFFF;
3855 public const string ABSTREAM_BINARY = "ACIS BinaryFile";
3856 public const string ABSTREAM_BINARY_ASM = "ASM BinaryFile4";
3857 public const int AB_TYPE_LENGTH = 15;
3858 public const int kOdDbIdModified = 0x00000001;
3859 public const int kOdDbIdErased = 0x00000002;
3860 public const int kOdDbIdProcessed = 0x00000004;
3861 public const int kOdDbIdLoading = 0x00000008;
3862 public const int kOdDbIdTruncXref = 0x00000010;
3863 public const int kOdDbIdOwned = 0x00000020;
3864 public const int kOdDbIdReferenced = 0x00000040;
3865 public const int kOdDbIdJustAppended = 0x00000080;
3866 public const int kOdDbIdUserMask = 0x000000FF;
3867 public const int kErasedPermanently = 0x10000000;
3868 public const int kObjectLeftOnDisk = 0x20000000;
3869 public const int kObjectSameOnDisk = 0x40000000;
3870 public const uint kObjectPageOnDisk = 0x80000000;
3871 public const int kOdDbIdMapping = 0x01000000;
3872 public const int kOdDbIdMapFlag = 0x02000000;
3873 public const int kOdDbIdMapOwnerXlated = 0x04000000;
3874 public const int kOdDbIdMapCloned = 0x08000000;
3875 public const int kOdDbIdMapPrimary = 0x00001000;
3876 public const int kOdDbIdMapMask = 0x0E001000;
3877 public const int kOdDbIdMappingMask = 0x0F001000;
3878 public const int kOdDbIdRedirected = 0x00000100;
3879 public const int kOdDbIdNoAutoLock = 0x00000200;
3880 public const int kOdDbObjectLocked = 0x00000400;
3881 public const int kComposeForLoadCalled = 0x00000800;
3882 public const int kOdDatabaseFlag = 0x00100000;
3883 public const int kOdDbIdBlkChgIterFlag = 0x00200000;
3884 public const int kOdDbIdNdxUpdtDataFlag = 0x00400000;
3885 public const int kOdDbIdSingleAuxData = 0x00800000;
3886 public const int kOdDbIdIndexData = 0x00010000;
3887 public const int kOdDbIdMappingData = 0x00020000;
3888 public const int kOdDbIdPaging = 0x00040000;
3889 public const int kOdDbNullTransResident = 0x00080000;
3890 public const int lit_ = 0x20;
3891 public const int lit_0 = 0x30;
3892 public const int lit_1 = 0x31;
3893 public const int lit_2 = 0x32;
3894 public const int lit_3 = 0x33;
3895 public const int lit_4 = 0x34;
3896 public const int lit_5 = 0x35;
3897 public const int lit_6 = 0x36;
3898 public const int lit_7 = 0x37;
3899 public const int lit_8 = 0x38;
3900 public const int lit_9 = 0x39;
3901 public const int lit_A = 0x41;
3902 public const int lit_B = 0x42;
3903 public const int lit_C = 0x43;
3904 public const int lit_D = 0x44;
3905 public const int lit_E = 0x45;
3906 public const int lit_F = 0x46;
3907 public const int lit_G = 0x47;
3908 public const int lit_H = 0x48;
3909 public const int lit_I = 0x49;
3910 public const int lit_J = 0x4A;
3911 public const int lit_K = 0x4B;
3912 public const int lit_L = 0x4C;
3913 public const int lit_M = 0x4D;
3914 public const int lit_N = 0x4E;
3915 public const int lit_O = 0x4F;
3916 public const int lit_P = 0x50;
3917 public const int lit_Q = 0x51;
3918 public const int lit_R = 0x52;
3919 public const int lit_S = 0x53;
3920 public const int lit_T = 0x54;
3921 public const int lit_U = 0x55;
3922 public const int lit_V = 0x56;
3923 public const int lit_W = 0x57;
3924 public const int lit_X = 0x58;
3925 public const int lit_Y = 0x59;
3926 public const int lit_Z = 0X5A;
3927 public const int lit_a = 0x61;
3928 public const int lit_b = 0x62;
3929 public const int lit_c = 0x63;
3930 public const int lit_d = 0x64;
3931 public const int lit_e = 0x65;
3932 public const int lit_f = 0x66;
3933 public const int lit_g = 0x67;
3934 public const int lit_h = 0x68;
3935 public const int lit_i = 0x69;
3936 public const int lit_j = 0x6A;
3937 public const int lit_k = 0x6B;
3938 public const int lit_l = 0x6C;
3939 public const int lit_m = 0x6D;
3940 public const int lit_n = 0x6E;
3941 public const int lit_o = 0x6F;
3942 public const int lit_p = 0x70;
3943 public const int lit_q = 0x71;
3944 public const int lit_r = 0x72;
3945 public const int lit_s = 0x73;
3946 public const int lit_t = 0x74;
3947 public const int lit_u = 0x75;
3948 public const int lit_v = 0x76;
3949 public const int lit_w = 0x77;
3950 public const int lit_x = 0x78;
3951 public const int lit_y = 0x79;
3952 public const int lit_z = 0x7A;
3953 public const string ODRX_STATIC_MODULE_PATH = "";
3954 public const string APPNAME_ODAMFC = "ODA Drawings Debug";
3955 public const string APPNAME_ODADGN = "ODA Dgn Debug";
3956 public const string APPNAME_ODAPRC = "ODA PRC Debug";
3957 public const string APPNAME_ODABIM = "ODA BIM Debug";
3958 public const int WRITING_BUFFER_LENGTH = 1024*8;
3959 public const double SKIP_RATIO = 0.00035;
3960 public const int POINTS_LIMIT = 7500;
3961 public const int CROP_ZEROES_FOR_ALL = 6;
3962 public const int CROP_ZEROES_FOR_RGB = 6;
3963 public const int FORMAT_BUF_LEN = 512;
3965}
3966
3967}
static HandleRef getCPtr(GiLoopListCustom obj)
static bool OdEqual(double x, double y, double tol)
Definition Globals.cs:73
delegate void SetPtrFuncDelegate(IntPtr pPlace_, IntPtr pValue_)
static String odDToStr(double val, char fmt, int prec, int cropzeros)
Definition Globals.cs:867
static OdGe.ErrorCondition geCalculatePlane(OdGeCurve3d[] curves, bool reverseFlags, UInt32 numCurves, OdGePlane plane, OdGeTol tol, bool validateCoplanar)
Definition Globals.cs:693
delegate void ContextMenuItemIndexPtrDelegate(UInt32 itemIndex)
delegate OdResult GripOperationPtrDelegate(OdDbGripData pThis, OdDbStub entId, int iContextFlags)
static OdGe.ErrorCondition geCalculatePlane(OdGeCurve3d[] curves, UInt32 numCurves, OdGePlane plane)
Definition Globals.cs:687
static double calibrateAngle(double val, double input)
Definition Globals.cs:2776
delegate OdResult OdTfPropertySetterTypeDelegateNative(IntPtr arg1, IntPtr arg2)
static OdCodePageId mapCodepage(Int16 cp)
Definition Globals.cs:3288
static int OdCmpDouble(double x, double y)
Definition Globals.cs:151
static PDFName createOCG(String name, PDFOCConfigurationDictionary pOCC, bool bVisible, bool bLocked, PDFResourceDictionary pResource)
Definition Globals.cs:3450
static readonly int OD_SIZEOF_LONG
Definition Globals.cs:3810
static bool OdNonZero(double x)
Definition Globals.cs:67
static void getUnicodeTextString(String pStr, PDFTextString pUnicodeStr)
Definition Globals.cs:468
static OdResult definitionToWkt(OdCoordinateReferenceSystemDefinition pCRSD, WktFlavor eWktFlavor, ref string sWkt)
Definition Globals.cs:1990
static void odgiSetTextExtentsCacheCapacity(uint size)
Definition Globals.cs:1155
delegate void ODDBHYPERLINK_CALLBACKDelegateNative(IntPtr obj)
static OdGeNurbSurface convertFrom(OdGeSurface source)
Definition Globals.cs:1436
static bool isAsianCodepage(OdCodePageId codePage)
Definition Globals.cs:3302
static void odrxUninitialize()
Definition Globals.cs:2368
static OdGeVector2d Mul(OdGeMatrix2d xfm, OdGeVector2d vect)
Definition Globals.cs:764
static bool triangulateProfile(OdGePoint2dArray vertexSource, IntVectorStd inFaceData, OdLongArray vecTriangles, double tol)
Definition Globals.cs:2737
static IntPtr kNullSubentIndex
Definition Globals.cs:919
static UInt32 odrxMultiCastBkObject(OdRxObject pObject, OdRxClass pClasses, UInt32 nClasses)
Definition Globals.cs:2331
static OdGeNurbCurve3d convertFrom(OdGeCurve3d source)
Definition Globals.cs:2769
delegate void GripOpStatusPtrDelegate(OdDbGripData pThis, OdDbStub entId, GripStatus status)
static OdResult getProjectionCode(String sName, out ProjectionCode eProjectionCode)
Definition Globals.cs:1930
static bool odgsDbObjectIDRedirected(OdDbStub pId)
Definition Globals.cs:2509
static OdTfProperty newOdTfProperty(String name, OdTfClass pOwner, OdTfVariant.Type type, Globals.OdTfAttributesConstructorTypeDelegate pAttrsConstr, Globals.OdTfVariantConstructorTypeDelegate pDefaultValueConstructor, Globals.OdTfPropertyGetterTypeDelegate pGetter, Globals.OdTfPropertySetterTypeDelegate pSetter)
Definition Globals.cs:1666
static int OdRoundToLong(double a)
Definition Globals.cs:845
static int OdSign(int x)
Definition Globals.cs:139
static void addLocalHeaps(uint nThreadId, UInt32 aThreadId)
Definition Globals.cs:1091
static OdTfClass newOdTfClass(String name, OdRxClass pBaseClass, Globals.OdTfAttributesConstructorTypeDelegate pAttrsConstr, Globals.OdTfPropertiesConstructorTypeDelegate pPropsConstr, Globals.OdPseudoConstructorTypeDelegate pConstr)
Definition Globals.cs:1524
static double paramFromAngle(double angle, double radiusRatio)
Definition Globals.cs:2788
static UInt64 odFNV64aHashBuf(IntPtr buf, uint len)
Definition Globals.cs:2642
const int ENABLE_GENERATION_TYPEMAP_MODULE_DICTIONARY
Definition Globals.cs:3964
const int kObjectLeftOnDisk
Definition Globals.cs:3868
const double OdaPI
Definition Globals.cs:3822
static void OdGeDrawSegmentHatch(OdGeLineSeg2dArray segments, OdIntArray loops, OdIntArray loopTypes, OdGeHatchStrokes StrokeParams, OdGeIslandStyle iStyle, bool isSolid, OdGeLineSeg2dArray strokes, OdGeTol tol)
Definition Globals.cs:3162
static IntPtr odrxRealloc(IntPtr pMemBlock, uint newSize, uint oldSize)
Definition Globals.cs:481
static void odDbRootUninitialize()
Definition Globals.cs:443
static UInt32 odrxMultiCastFwdXPrior(OdRxObject pObject, ref OdRxObject pPointer, OdRxClass pClasses, UInt32 nClasses)
Definition Globals.cs:2200
static void odDbRootInitialize()
Definition Globals.cs:438
static void odgsInitialize()
Definition Globals.cs:458
const int kOdDbIdErased
Definition Globals.cs:3859
const int IMAGE_CORRECTIVE_VER
Definition Globals.cs:3829
static PdfExportServiceInterface getPdfExportService()
Definition Globals.cs:3785
delegate OdTfAttributePtrArray OdTfAttributesConstructorTypeDelegate(OdRxObject arg)
static UInt32[] odcmAcadPlotPalette()
Definition Globals.cs:3060
static void odrxRegisterDestructorCallback(Globals.ODRXOBJECT_CALLBACKDelegate callbackFunc)
Definition Globals.cs:538
static UInt64 odFNV64HashStr(string str, UInt64 hval)
Definition Globals.cs:2618
static String odDToStr(double val, char fmt, int prec)
Definition Globals.cs:873
const int kOdDbIdUserMask
Definition Globals.cs:3866
static void UpdateBookmarksTree(PDFDocument PDFDoc, PDFPageDictionary currentPage, String sParent, OdStringArray childs, OdGePoint3dArray childExt)
Definition Globals.cs:3625
static void UpdateBookmarksTree(PDFDocument PDFDoc, PDFPageDictionary currentPage, String sParent)
Definition Globals.cs:3635
static bool checkDenstiy(OdGeLineSeg2dArray segmentArray, OdIntArray loopArray, OdHatchPattern hp, OdGeExtents2d ext, UInt32 loopAmount, UInt32 maxHatchDensity, bool isMPolygon, out bool bHatchTooDense)
Definition Globals.cs:3264
static LineWeight lineWeightByIndex(int lw)
Definition Globals.cs:2482
static OdGe.ErrorCondition geCalculatePlane(OdGeCurve3d[] curves, UInt32 numCurves, OdGePlane plane, OdGeTol tol)
Definition Globals.cs:681
const int kOdDbIdRedirected
Definition Globals.cs:3878
static bool extendExtents(out double minValue, out double maxValue, double value)
Definition Globals.cs:1237
static double calculateDashTakerDeviation(OdGeExtents2d ext, double deviation)
Definition Globals.cs:3258
const int kComposeForLoadCalled
Definition Globals.cs:3881
const int kVertices
Definition Globals.cs:3851
static UInt32[] odcmAcadDarkPalette()
Definition Globals.cs:3034
static UInt32 odrxMultiCastX(OdRxObject pObject, out OdRxObject pPointers, OdRxClass pClasses, UInt32 nClasses)
Definition Globals.cs:2123
const int SEEK_SET
Definition Globals.cs:3818
static void dcImageToPdfImage(OdGiRasterImage pRaster, PDFImage pImage, bool bTransparency, double brightness, double contrast, double fade, UInt32 entityColor, PDFDocument PDFDoc, UInt32 bgColor, UInt16 quality, PDFResourceDictionary pResDict)
Definition Globals.cs:3515
static UInt32[] odcmAcadLightPalette()
Definition Globals.cs:3047
const int kShellsWithoutWiresWithEdgeColors
Definition Globals.cs:3850
static OdRxDictionary odrxServiceDictionary()
Definition Globals.cs:1362
static OdRxObject odCreatePrcDefaultContextForTD()
Definition Globals.cs:3725
static void odgiImageViewport(OdGiViewportGeometry pGeom, OdGiRasterImage pImage, OdGePoint3d pBoundary, bool bFilter, double brightness, double contrast)
Definition Globals.cs:819
const int FORMAT_BUF_LEN
Definition Globals.cs:3963
static bool isInvalid(ViewPropsArray props)
Definition Globals.cs:1033
static String convertTextToCodePage(String source, OdCodePageId arg1, OdCodePageId arg2)
Definition Globals.cs:3282
delegate void ODDBHYPERLINK_CALLBACKDelegate(OdDbHyperlink obj)
const int kOdDbIdMappingData
Definition Globals.cs:3887
delegate IntPtr StaticModuleEntryPointDelegateNative(IntPtr szModuleName)
delegate OdRxPropertyBase FindPropertyCallbackDelegate(OdRxObject pObject, string pszPropName)
delegate IntPtr OdTfPropertiesConstructorTypeDelegateNative(IntPtr arg)
static OdGiColorRGB Sub(double s, OdGiColorRGB c)
Definition Globals.cs:1190
const string ABSTREAM_BINARY_ASM
Definition Globals.cs:3856
static OdRxObject odgsDbGetDatabase(OdDbStub pId)
Definition Globals.cs:2488
static OdGeVector3d Mul(OdGeMatrix3d matrix, OdGeVector3d vect)
Definition Globals.cs:776
const int kOdDbIdBlkChgIterFlag
Definition Globals.cs:3883
static bool OdGiRasterImage_isColorPresent(OdGiRasterImage pImage, UInt32 color, bool bDoAlphaStrongOnly)
Definition Globals.cs:3355
delegate void ODRXOBJECT_CALLBACKDelegate(OdRxObject obj)
delegate bool OdCheckAssertGroupFuncDelegateNative(string group)
delegate void ODRXOBJECT_CALLBACKDelegateNative(IntPtr obj)
static int nOdVariantDataSize
Definition Globals.cs:794
static void odUninitAsyncIOService()
Definition Globals.cs:3119
static OdGeDoubleArray getArray(OdGeKnotVector p)
Definition Globals.cs:1281
static void odDToStr(string dst, double val, char fmt, int prec, int cropzeros)
Definition Globals.cs:857
delegate void OdApcEntryPointRxObjParamDelegateNative(IntPtr parameter_)
const int kOdGiLastPosOnly
Definition Globals.cs:3836
static UInt32 odrxMultiCast(OdRxObject pObject, out OdRxObject pPointers, OdRxClass pClasses, UInt32 nClasses)
Definition Globals.cs:2107
const int kOdGiDrawShape
Definition Globals.cs:3834
const int kOdDbNullTransResident
Definition Globals.cs:3889
const string APPNAME_ODAPRC
Definition Globals.cs:3956
const int kOdDbIdTruncXref
Definition Globals.cs:3862
static int OdRxPropertyVariantDataSize
Definition Globals.cs:1289
delegate void OdEdCommandFunctionDelegate(OdEdCommandContext pCmdCtx)
const int CROP_ZEROES_FOR_ALL
Definition Globals.cs:3961
const int kOdDbIdIndexData
Definition Globals.cs:3886
static int getHexValue(int hexDigit)
Definition Globals.cs:913
delegate void ExecuteMainThreadFuncDelegate(Globals.MainThreadFuncDelegate _func, IntPtr _arg)
delegate OdResult OdTfPropertyGetterTypeDelegate(OdTfObject arg1, OdTfVariant arg2)
delegate OdRxModule StaticModuleEntryPointDelegate(string szModuleName)
static UInt32 odrxMultiCastFwdX_(OdRxClass pClass, OdRxObject pObject, ref OdRxObject pPointer, OdRxClass pClasses, UInt32 nClasses)
Definition Globals.cs:2239
static void odgiCalculateTextBasis(OdGeVector3d u, OdGeVector3d v, OdGeVector3d normal, OdGeVector3d direction, double height, double width, double oblique, bool bMirrorX)
Definition Globals.cs:1132
delegate void ContextMenuItemIndexPtrDelegateNative(UInt32 itemIndex)
static PDFImage addNewImage(PDFDocument PDFDoc, PDFResourceDictionary pResDict, bool bMask)
Definition Globals.cs:3520
static readonly uint UINT_MAX
Definition Globals.cs:3805
delegate void GripViewportDrawPtrDelegate(OdDbGripData pThis, OdGiViewportDraw pWd, OdDbStub entId, DrawType type, OdGePoint3d imageGripPoint, int gripSize)
const int kOdDbIdNoAutoLock
Definition Globals.cs:3879
static OdGiPsLinetypes odgiGetPsLinetypesManager(UInt32 nDefs)
Definition Globals.cs:2699
delegate void GripViewportDrawPtrDelegateNative(IntPtr pThis, IntPtr pWd, IntPtr entId, DrawType type, IntPtr imageGripPoint, int gripSize)
static bool IsNotEqual(OdVariant.Type lhs, OdTfVariant.Type rhs)
Definition Globals.cs:1315
static OdGe.ErrorCondition geCalculatePlane(OdGePoint3d[] points, OdGePlane plane, OdGeTol tol, bool validateCoplanar)
Definition Globals.cs:642
static OdGe.ErrorCondition geCalculateNormal(OdGePoint3d[] points, OdGeVector3d pNormal, OdGeTol tol)
Definition Globals.cs:602
delegate void UpdateManagerProcessCallbackDelegateNative(OdGsUpdateManager.Action action, UInt32 viewportId, IntPtr drawableId, IntPtr pNode, IntPtr pElement)
static void odgsDbObjectIDSetRedirected(OdDbStub pId, bool bSet)
Definition Globals.cs:2515
delegate void OdAssertFuncDelegateNative(string expresssion, string filename, int nLineNo)
const int kOdDbIdProcessed
Definition Globals.cs:3860
delegate void AppNameChangeFuncPtrDelegate(OdRxClass classObj, ref String newAppName, int saveVer)
static void odgiCalculateTextBasis(OdGeVector3d u, OdGeVector3d v, OdGeVector3d normal, OdGeVector3d direction, double height, double width, double oblique)
Definition Globals.cs:1137
static OdResult odgeDrawDashedHatch(OdHatchPattern pattern, OdGeLineSeg2dArray segmentArray, OdIntArray loopArray, OdIntArray loopTypes, OdGeTol hatchTolerance, OdGeIslandStyle islandStyle, UInt32 maxHatchDensity, OdGeHatchDashTaker dashTaker, bool bCheckDense, bool bIncludeBoundary)
Definition Globals.cs:3204
static OdRxDictionary odrxCreateRxDictionary()
Definition Globals.cs:1382
static OdGiDrawable fxOpenDrawable(OdGsBaseModel arg0, OdDbStub arg1)
Definition Globals.cs:1101
static OdTfProperty createOdTfProperty()
Definition Globals.cs:1760
delegate OdResult GripOperationPtrDelegateNative(IntPtr pThis, IntPtr entId, int iContextFlags)
static void moveIntoValidInter(double startAngleInV, double endAngleInV, out double v)
Definition Globals.cs:2722
const int kOdDbIdJustAppended
Definition Globals.cs:3865
static bool odgiCalculateTriangleShellLoops(OdUInt32Array triangleIndicies, OdUInt32Array2d loops)
Definition Globals.cs:2672
static OdRxDynamicLinker odrxDynamicLinker()
Definition Globals.cs:1847
static OdGePoint3d Mul(double scale, OdGePoint3d point)
Definition Globals.cs:808
delegate void SetPtrFuncDelegateNative(IntPtr pPlace_, IntPtr pValue_)
const int kOdDbIdMapOwnerXlated
Definition Globals.cs:3873
const int kOdDbObjectLocked
Definition Globals.cs:3880
static void odgiInitialize()
Definition Globals.cs:448
delegate void GripOpStatusPtrDelegateNative(IntPtr pThis, IntPtr entId, GripStatus status)
static PDFName getOCGbyName(String name, PDFDocument PDFDoc, PDFResourceDictionary pResource)
Definition Globals.cs:3470
static OdGiTransientManager odgiGetTransientManager(OdRxObject pObject)
Definition Globals.cs:2678
delegate void OdApcEntryPointVoidParamDelegateNative(IntPtr _parameter)
static OdGiPsLinetypes odgiGetPsLinetypesManager()
Definition Globals.cs:2705
static int lineWeightIndex(LineWeight lw)
Definition Globals.cs:2476
static readonly int _MSC_VER
Definition Globals.cs:3807
const int kOdDbIdOwned
Definition Globals.cs:3863
delegate void AppNameChangeFuncPtrDelegateNative(IntPtr classObj, IntPtr newAppName, int saveVer)
static bool ABBreakToSingleBody(OdStreamBuf pStreamBuf, Int32 typeVer, bool standardSaveFlag, ISATConverterPtrArray entitySet)
Definition Globals.cs:3124
const string ODRX_STATIC_MODULE_PATH
Definition Globals.cs:3953
static UInt32 odcmLookupRGB(int index, UInt32[] pPalette)
Definition Globals.cs:3093
delegate IntPtr GripToolTipPtrDelegateNative(IntPtr pThis)
static UInt32 odFNV32HashStr(string str, UInt32 hval)
Definition Globals.cs:2554
static void odrxUnregisterAuditInfoDestructorCallback()
Definition Globals.cs:2471
static void process(ref OdStreamBuf inStream, ref OdStreamBuf outStream, bool linearize, String user_password, String owner_password, PDFAccessPermissionsParams access_permission_params, PDFVersion version)
Definition Globals.cs:3373
static OdGiColorRGB Mul(double s, OdGiColorRGB c)
Definition Globals.cs:1208
static UInt32 odFNV32aHashStr(string str, UInt32 hval)
Definition Globals.cs:2586
static OdGeNurbCurve3d convertFrom(OdGeCurve3d source, OdGeTol tol)
Definition Globals.cs:2762
const int IMAGE_MAJOR_VER
Definition Globals.cs:3827
static OdResult wktToId(WktFlavor eWktFlavorSource, String sWkt, CodeFormatType eCodeFormatType, ref string sId)
Definition Globals.cs:2002
static OdResult parseXml(String sXml, SWIGTYPE_p_OdArrayT_OdSmartPtrT_OdSpatialReference__OdDefinitionBase_t_t arrDefinitionBase)
Definition Globals.cs:2080
static double safeDivide(double a, double b)
Definition Globals.cs:157
const double Oda2PI
Definition Globals.cs:3825
static bool OdGreaterOrEqual(double x, double y)
Definition Globals.cs:127
static readonly string HANDLEFORMAT
Definition Globals.cs:3812
static UInt32 odFNV32HashBuf(IntPtr buf, uint len)
Definition Globals.cs:2546
delegate bool GripWorldDrawPtrDelegate(OdDbGripData pThis, OdGiWorldDraw pWd, OdDbStub entId, DrawType type, OdGePoint3d imageGripPoint, double dGripSize)
static void moveIntoValidInter(double startAngleInV, double endAngleInV, out double v, double period)
Definition Globals.cs:2717
delegate OdResult GripRtClkHandlerDelegate(OdDbGripDataArray hotGrips, OdDbStubPtrArray ents, ref String menuName, ref IntPtr menu, ref Globals.ContextMenuItemIndexPtrDelegate cb)
static UInt32 odrxMultiCastFwdObject_(OdRxClass pClass, OdRxObject pObject, OdRxClass pClasses, UInt32 nClasses)
Definition Globals.cs:2223
static OdGe.ErrorCondition geCalculatePlane(OdGePoint3d[] points, OdGePlane plane)
Definition Globals.cs:664
delegate OdResult GripRtClkHandlerDelegateNative(IntPtr hotGrips, IntPtr ents, IntPtr menuName, ref IntPtr menu, ref Globals.ContextMenuItemIndexPtrDelegateNative cb)
static OdError OdErrorByCodeAndMessageFormat(OdResult iResCode, string iMessageFormat)
Definition Globals.cs:2800
static UInt32 odFNV32HashBuf(IntPtr buf, uint len, UInt32 hval)
Definition Globals.cs:2538
static OdRxObject odCreatePrcAllInSingleViewContextForDGN()
Definition Globals.cs:3745
static uint odgiGetTextExtentsCacheCapacity()
Definition Globals.cs:1149
static OdResult evaluateDashedHatch(GiLoopListCustom giLoopList, OdHatchPattern hatchPattern, OdGeIslandStyle eHatchStyle, double dViewRotation, double dDeviation, UInt32 loopAmount, UInt32 pointLimit, UInt32 maxHatchDensity, UInt32 maxPointsToDraw, Int16 nHPSmooth, bool bSolidFill, bool bGradientFill, bool isEvaluateHatchArea, bool isMPolygon, bool isDBRO, out bool bHatchTooDense, OdGeHatchDashTaker dashTaker, OdGeLineSeg2dArray segmentArrayOut, OdIntArray loopArrayOut, OdIntArray loopTypesOut, OdGeExtents2d ext2dOut, OdGeTol tol, SWIGTYPE_p_std__functionT_bool_fF_t fRegenAbort)
Definition Globals.cs:3270
static void OdGeDrawSegmentHatchXY(OdGeLineSeg2dArray segments, OdIntArray loops, OdIntArray loopTypes, OdGeHatchStrokes StrokeParams, OdGeIslandStyle iStyle, bool isSolid, OdGeLineSeg2dArray strokes)
Definition Globals.cs:3187
const int kShellsWithoutWires
Definition Globals.cs:3849
static String getParameterDescription(UInt32 ePrmCode)
Definition Globals.cs:1960
static void odgiSetTransientManager(OdGiTransientManager pManager, OdRxObject pObject)
Definition Globals.cs:2685
static bool OdNonZero(double x, double tol)
Definition Globals.cs:61
static bool triangulateProfile(OdGePoint2dArray vertexSource, IntVectorStd inFaceData, OdLongArray vecTriangles)
Definition Globals.cs:2743
static ParameterType getParameterCode(ProjectionCode eProjectionCode, UInt32 uIndex)
Definition Globals.cs:1948
static CoordinateReferenceSystemType getCoordinateSystemType(ProjectionCode eProjectionCode)
Definition Globals.cs:1942
static void odCleanUpStaticData()
Definition Globals.cs:2378
static OdGe.ErrorCondition geSolidSignedVolume(OdGePoint3dArray points, out double volume, OdGePoint3d basePoint)
Definition Globals.cs:584
static readonly string PERCENT18LONG
Definition Globals.cs:3811
static bool odgsDbObjectIDErased(OdDbStub pId)
Definition Globals.cs:2532
delegate void OdApcEntryPointVoidParamDelegate(IntPtr _parameter)
static bool OdPositive(double x, double tol)
Definition Globals.cs:25
static double kMmPerInch
Definition Globals.cs:17
static void odgsUninitialize()
Definition Globals.cs:463
static OdGiColorRGB Mul(OdGiColorRGB c, double s)
Definition Globals.cs:1202
static void makeInterValid(out double startAngle, out double endAngle)
Definition Globals.cs:2732
delegate IntPtr FindPropertyCallbackDelegateNative(IntPtr pObject, IntPtr pszPropName)
delegate OdRxObject OdPseudoConstructorTypeDelegate()
static void OdGeDrawSegmentHatchXY(OdGeLineSeg2dArray segments, OdIntArray loops, OdIntArray loopTypes, OdGeHatchStrokes StrokeParams, OdGeIslandStyle iStyle, bool isSolid, OdGeLineSeg2dArray strokes, OdGeTol tol, OdGeStrokeDataArray pStrokeData)
Definition Globals.cs:3177
static readonly string PRIx64
Definition Globals.cs:3815
static bool OdLessOrEqual(double x, double y, double tol)
Definition Globals.cs:97
static void OdAssert(string group, string expresssion, string fileName, int nLineNo)
Definition Globals.cs:2989
static OdResult odgeDrawDashedHatch(OdHatchPattern pattern, OdGeLineSeg2dArray segmentArray, OdIntArray loopArray, OdIntArray loopTypes, OdGeTol hatchTolerance, OdGeIslandStyle islandStyle, UInt32 maxHatchDensity, OdGeHatchDashTaker dashTaker)
Definition Globals.cs:3216
static UInt64 odFNV64HashBuf(IntPtr buf, uint len)
Definition Globals.cs:2610
static void UpdateBookmarksTree(PDFDocument PDFDoc, PDFPageDictionary currentPage, String sParent, OdStringArray childs, OdGePoint3dArray childExt, PDFObject pParentItem)
Definition Globals.cs:3620
delegate IntPtr OdTfAttributesConstructorTypeDelegateNative(IntPtr arg)
static bool odgiIsClipped(OdGiModelToViewProc pThis)
Definition Globals.cs:1085
const int kOdDbIdModified
Definition Globals.cs:3858
delegate OdTfVariant OdTfVariantConstructorTypeDelegate()
static UInt32 odrxMultiCastFwd(OdRxObject pObject, ref OdRxObject pPointer, OdRxClass pClasses, UInt32 nClasses)
Definition Globals.cs:2154
static void odgiImageViewport(OdGiViewportGeometry pGeom, OdGiRasterImage pImage, OdGePoint3d pBoundary, bool bFilter, double brightness, double contrast, double fade)
Definition Globals.cs:814
static UInt32 odrxMultiCastFwd_(OdRxClass pClass, OdRxObject pObject, ref OdRxObject pPointer, OdRxClass pClasses, UInt32 nClasses)
Definition Globals.cs:2131
static UInt32 odrxMultiCastFwdObject(OdRxObject pObject, OdRxClass pClasses, UInt32 nClasses)
Definition Globals.cs:2231
static SWIGTYPE_p_ODCOLORREF odcmAcadDynamicPalette(UInt32 background)
Definition Globals.cs:3086
static OdGiColorRGB Add(double s, OdGiColorRGB c)
Definition Globals.cs:1172
static bool OdLess(double x, double y)
Definition Globals.cs:91
static Int16 reMapCodepage(OdCodePageId id)
Definition Globals.cs:3294
static void OdGeDrawSegmentHatch(OdGeLineSeg2dArray segments, OdIntArray loops, OdIntArray loopTypes, OdGeHatchStrokes StrokeParams, OdGeIslandStyle iStyle, bool isSolid, OdGeLineSeg2dArray strokes, OdGeTol tol, OdGeStrokeDataArray pStrokeData)
Definition Globals.cs:3157
static void OdClearFontTable()
Definition Globals.cs:2413
static UInt32 odrxMultiCastFwdX(OdRxObject pObject, ref OdRxObject pPointer, OdRxClass pClasses, UInt32 nClasses)
Definition Globals.cs:2262
static double OdSign(double x)
Definition Globals.cs:133
static OdResult evaluateDashedHatch(GiLoopListCustom giLoopList, OdHatchPattern hatchPattern, OdGeIslandStyle eHatchStyle, double dViewRotation, double dDeviation, UInt32 loopAmount, UInt32 pointLimit, UInt32 maxHatchDensity, UInt32 maxPointsToDraw, Int16 nHPSmooth, bool bSolidFill, bool bGradientFill, bool isEvaluateHatchArea, bool isMPolygon, bool isDBRO, out bool bHatchTooDense, OdGeHatchDashTaker dashTaker, OdGeLineSeg2dArray segmentArrayOut, OdIntArray loopArrayOut, OdIntArray loopTypesOut, OdGeExtents2d ext2dOut, OdGeTol tol)
Definition Globals.cs:3276
static readonly string PRIX64
Definition Globals.cs:3816
static OdGe.ErrorCondition geValidSolid(OdGePoint3dArray points, out bool isValid, OdGeTol tol)
Definition Globals.cs:572
static OdResult getCoordinateReferenceSystemDefinition(String sIdOrWkt, ref OdCoordinateReferenceSystemDefinition pCRSD)
Definition Globals.cs:2035
static int getMIFIndex(OdCodePageId id)
Definition Globals.cs:2418
static OdResult idToId(CodeFormatType eCodeFormatTypeSource, String sIdSource, CodeFormatType eCodeFormatType, ref string sId)
Definition Globals.cs:1966
static void odrxUnregisterDestructorCallback()
Definition Globals.cs:567
static bool geNurb3dTo2d(OdGeNurbCurve3d nurb3d, OdGePlane plane, OdGeNurbCurve2d nurb2d)
Definition Globals.cs:717
static bool odrxInitialize(OdRxSystemServices pSysSvcs)
Definition Globals.cs:2362
const int CROP_ZEROES_FOR_RGB
Definition Globals.cs:3962
static UInt64 odFNV64HashBuf(IntPtr buf, uint len, UInt64 hval)
Definition Globals.cs:2602
static OdGiColorRGB Sub(OdGiColorRGB c1, OdGiColorRGB c2)
Definition Globals.cs:1178
static readonly int OD_SIZEOF_INT
Definition Globals.cs:3809
static void dcImageToPdfImage(OdGiRasterImage pRaster, PDFImage pImage, bool bTransparency, double brightness, double contrast, double fade, UInt32 entityColor, PDFDocument PDFDoc, UInt32 bgColor, UInt16 quality, PDFResourceDictionary pResDict, bool isHatch)
Definition Globals.cs:3510
static OdGe.ErrorCondition geCalculatePlane(OdGePoint3dArray points, OdGePlane plane, OdGeTol tol)
Definition Globals.cs:630
static char checkSpecialSymbol(OdFont pFont, char sym, out bool isSpecSym)
Definition Globals.cs:3332
static OdGe.ErrorCondition geCalculatePlane(OdGePoint3d[] points, OdGePlane plane, OdGeTol tol)
Definition Globals.cs:653
static OdGeNurbCurve3d convertFrom(OdGeCurve3d source, OdGeTol tol, bool sameParametrization)
Definition Globals.cs:2755
static OdRxObject odCreatePrcOnlySolidsMultiViewContextForTD()
Definition Globals.cs:3685
static OdTfProperty initOdTfProperty(OdTfProperty pProp, String name, OdTfClass pOwner, OdTfVariant.Type type, OdTfAttributePtrArray attributes, Globals.OdTfVariantConstructorTypeDelegate pDefaultValueConstructor, Globals.OdTfPropertyGetterTypeDelegate pGetter, Globals.OdTfPropertySetterTypeDelegate pSetter)
Definition Globals.cs:1767
const int kOrderedEdges
Definition Globals.cs:3847
const int kOdDbIdMapPrimary
Definition Globals.cs:3875
static OdResult getUnitCode(String sName, out UnitCode eUnitCode)
Definition Globals.cs:1906
static bool OdZero(double x)
Definition Globals.cs:55
static void odgiEmptyClipBoundary(OdGiClipBoundary clipBoundary)
Definition Globals.cs:1011
delegate void MainThreadFuncDelegate(IntPtr arg1)
const int WRITING_BUFFER_LENGTH
Definition Globals.cs:3958
static void fillSegmentLoopLtArrays(OdGeLineSeg2dArray segmentArray, OdIntArray loopArray, OdIntArray loopTypes, GiLoopListCustom loopListCustom, OdGeVector2d vOffset, double dDeviation, UInt32 pointLimit, Int16 nHPSmooth, bool bGradientFill, bool bSolid, bool isEvaluateHatchArea)
Definition Globals.cs:3227
static OdResult getUnitCodeInformation(UnitCode eUnitCode, out UnitType eUnitType, out double dScale)
Definition Globals.cs:1912
delegate void OdTraceFuncDelegateNative(IntPtr debugString)
static void odInitAsyncIOService(OdAsyncIORequestHandler pRequestHandler)
Definition Globals.cs:3107
static OdGe.ErrorCondition geCalculateNormal(OdGePoint3dArray points, OdGeVector3d pNormal)
Definition Globals.cs:596
static double odStrToD(String arg0)
Definition Globals.cs:891
static void addNewImageAsXobject(PDFDocument PDFDoc, ref OdGiRasterImage pRasterImage, PDFName pImageFormName, PDFResourceDictionary pResDict)
Definition Globals.cs:3560
const int kIsolines
Definition Globals.cs:3844
static OdEdCommandStack odedRegCmds()
Definition Globals.cs:2806
static readonly string PRId64
Definition Globals.cs:3813
static OdTfClass newOdTfClass(String name, OdRxClass pBaseClass, Globals.OdTfAttributesConstructorTypeDelegate pAttrsConstr, Globals.OdTfPropertiesConstructorTypeDelegate pPropsConstr, Globals.OdPseudoConstructorTypeDelegate pConstr, bool bRegister)
Definition Globals.cs:1451
static UInt32 odrxMultiCastObject(OdRxObject pObject, bool pCasts, OdRxClass pClasses, UInt32 nClasses)
Definition Globals.cs:2115
static OdError OdErrorByCodeAndMessage(OdResult iResCode, string iMessage)
Definition Globals.cs:2794
static OdResult odgeDrawDashedHatch(OdHatchPattern pattern, OdGeLineSeg2dArray segmentArray, OdIntArray loopArray, OdIntArray loopTypes, OdGeTol hatchTolerance, OdGeIslandStyle islandStyle, UInt32 maxHatchDensity, OdGeHatchDashTaker dashTaker, bool bCheckDense)
Definition Globals.cs:3210
static PDFPageNodeDictionary getOCGNodeByName(String name, PDFDocument PDFDoc)
Definition Globals.cs:3490
delegate string GripToolTipPtrDelegate(OdDbGripData pThis)
static String oddbConvertTextToCodePage(String source, OdCodePageId sourceId, OdCodePageId destId)
Definition Globals.cs:3326
static bool odcmIsBackgroundLight(UInt32 backgroung)
Definition Globals.cs:3028
const int kShells
Definition Globals.cs:3846
static OdGePoint2d Mul(OdGeMatrix2d matrix, OdGePoint2d point)
Definition Globals.cs:788
static OdRxObject odCreatePrcAllInSingleViewContextBase()
Definition Globals.cs:3645
const int SCALAR_MIN
Definition Globals.cs:3841
static OdRxObject odrxCreateObject(String sClassName)
Definition Globals.cs:518
const int kOdDbIdPaging
Definition Globals.cs:3888
const int kErasedPermanently
Definition Globals.cs:3867
static OdResult parseXml(String sXml, ref OdCoordinateReferenceSystemDefinition pCoordinateReferenceSystemDefinition)
Definition Globals.cs:2086
static bool IsEqual(OdVariant.Type lhs, OdTfVariant.Type rhs)
Definition Globals.cs:1309
static OdGiColorRGB Div(OdGiColorRGB c, double s)
Definition Globals.cs:1220
static OdEdCommand odedFireUnknownCommand(OdEdCommandStack pCmdStack, String sCmd, OdEdCommandContext pCmdCtx)
Definition Globals.cs:2826
static void removeBaseDatabaseByResolver(OdBaseDatabaseByResolver pResolver)
Definition Globals.cs:1028
static OdGe.ErrorCondition geCalculatePlane(OdGeCurve3d[] curves, bool reverseFlags, UInt32 numCurves, OdGePlane plane, OdGeTol tol)
Definition Globals.cs:699
static double getSignedArea(OdGePoint2dArray arrPoints)
Definition Globals.cs:747
static void odgiImageViewport(OdGiViewportGeometry pGeom, OdGiRasterImage pImage, OdGePoint3d pBoundary, bool bFilter)
Definition Globals.cs:829
static bool IsGeProtectionEnabled()
Definition Globals.cs:502
static bool odExecuteMainThreadAction(Globals.MainThreadFuncDelegate mtFunc, IntPtr pArg)
Definition Globals.cs:964
static OdResult build2dShell(OdGePoint2dArrayArray contours, Int16 style, OdGePoint2dArray vertixes, OdInt32Array indexes, OdGeTol tol)
Definition Globals.cs:3192
static OdResult geIsDir2dOnSurfCoincide3d(OdGeSurface pSurf, OdGeCurve3d pCurve, OdGeCurve2d pParamCurve, out bool isCoincide)
Definition Globals.cs:741
const int kOdGiIncludePenups
Definition Globals.cs:3833
delegate void ODAUDITINFO_CALLBACKDelegateNative(IntPtr info)
const int kOdGiRawText
Definition Globals.cs:3832
const int kOptimizedShells
Definition Globals.cs:3852
static OdResult getProjectionFlags(ProjectionCode eProjectionCode, out UInt32 uFlags)
Definition Globals.cs:1936
static void odgiImageViewport(OdGiViewportGeometry pGeom, OdGiRasterImage pImage, OdGePoint3d pBoundary)
Definition Globals.cs:834
const int kOdDbIdMapMask
Definition Globals.cs:3876
static bool isBoxContainsPoint(OdGePoint2d minPt, OdGePoint2d maxPt, OdGePoint2d pt)
Definition Globals.cs:1255
static bool IsNotEqual(OdTfVariant.Type lhs, OdVariant.Type rhs)
Definition Globals.cs:1303
static bool OdLess(double x, double y, double tol)
Definition Globals.cs:85
static OdResult odgeDrawDashedHatch(OdHatchPattern pattern, OdGeLineSeg2dArray segmentArray, OdIntArray loopArray, OdIntArray loopTypes, OdGeTol hatchTolerance, OdGeIslandStyle islandStyle, UInt32 maxHatchDensity, OdGeHatchDashTaker dashTaker, bool bCheckDense, bool bIncludeBoundary, SWIGTYPE_p_std__functionT_bool_fF_t fRegenAbort)
Definition Globals.cs:3198
delegate void UpdateManagerProcessCallbackDelegate(OdGsUpdateManager.Action action, UInt32 viewportId, OdDbStub drawableId, OdGsEntityNode pNode, OdGsUpdateManager.OdGsUpdateManagerElement pElement)
delegate void OdEdCommandFunctionDelegateNative(IntPtr pCmdCtx)
static PDFName CreateOC4Layer(String layer_name, PDFDocument PDFDoc, PDFResourceDictionary resource_dict, bool bVisible, bool bLocked)
Definition Globals.cs:3410
static UInt64 odFNV64aHashBuf(IntPtr buf, uint len, UInt64 hval)
Definition Globals.cs:2634
static OdGe.ErrorCondition geCalculateNormal(OdGePoint3d[] points, OdGeVector3d pNormal)
Definition Globals.cs:613
const int kOdDbIdMappingMask
Definition Globals.cs:3877
static bool odutWcReplace(String string_, String wcPatternOld, String wcPatternNew, ref string resultString)
Definition Globals.cs:2401
static void pointsExtents(OdGePoint2d minPt, OdGePoint2d maxPt, OdGePoint2d pt1, OdGePoint2d pt2)
Definition Globals.cs:1232
const int _WIN32_WINNT
Definition Globals.cs:3821
static OdCodePageId GetCPageIdByName(String CodePage)
Definition Globals.cs:3308
static OdGeVector3d Mul(double scale, OdGeVector3d vect)
Definition Globals.cs:782
static OdRxModule odrxSafeLoadApp(String applicationName)
Definition Globals.cs:1874
static OdGe.ErrorCondition geCalculatePlane(OdGeCurve3d[] curves, bool reverseFlags, UInt32 numCurves, OdGePlane plane)
Definition Globals.cs:705
static double angleFromParam(double param, double radiusRatio)
Definition Globals.cs:2782
static UInt64 odFNV64aHashStr(string str, UInt64 hval)
Definition Globals.cs:2650
static uint odGetCurrentThreadId()
Definition Globals.cs:994
const int kOdGiTextExtents
Definition Globals.cs:3838
static UInt32 odFNV32HashStr(string str)
Definition Globals.cs:2562
static OdGe.ErrorCondition geCalculatePlane(OdGeCurve3d[] curves, UInt32 numCurves, OdGePlane plane, OdGeTol tol, bool validateCoplanar)
Definition Globals.cs:675
const double INVALIDEXTENTS
Definition Globals.cs:3840
static bool isPolygonOutOfRect2d(UInt32 numPt, OdGePoint2d pPoints, OdGePoint2d minPt, OdGePoint2d maxPt)
Definition Globals.cs:753
static Globals.OdTraceFuncDelegate odSetTraceFunc(Globals.OdTraceFuncDelegate traceFunc)
Definition Globals.cs:2846
static OdRxDictionary odrxCreateSyncRxDictionary()
Definition Globals.cs:1402
const int POINTS_LIMIT
Definition Globals.cs:3960
delegate void MainThreadFuncDelegateNative(IntPtr arg1)
delegate bool OdCheckAssertGroupFuncDelegate(string group)
static OdTfClass initOdTfClass(OdTfClass pClass, String name, OdRxClass pBaseClass, OdTfAttributePtrArray attributes, OdTfPropertyPtrArray properties, Globals.OdPseudoConstructorTypeDelegate pConstr)
Definition Globals.cs:1635
static void OdGeDrawSegmentHatchXY(OdGeLineSeg2dArray segments, OdIntArray loops, OdIntArray loopTypes, OdGeHatchStrokes StrokeParams, OdGeIslandStyle iStyle, bool isSolid, OdGeLineSeg2dArray strokes, OdGeTol tol, OdGeStrokeDataArray pStrokeData, OdGeShellData pShell)
Definition Globals.cs:3172
static bool odutWcMatch(String string_, String wcPattern)
Definition Globals.cs:2383
static Globals.OdAssertFuncDelegate odSetAssertFunc(Globals.OdAssertFuncDelegate assertFunc)
Definition Globals.cs:2890
static int OdCmpDouble(double x, double y, double tol)
Definition Globals.cs:145
delegate OdResult OdTfPropertyGetterTypeDelegateNative(IntPtr arg1, IntPtr arg2)
static OdRxObject odgsDbObjectIDRedirectedDatabase(OdDbStub pId)
Definition Globals.cs:2525
static UInt32 odrxMultiCastBkXPrior(OdRxObject pObject, ref OdRxObject pPointer, OdRxClass pClasses, UInt32 nClasses)
Definition Globals.cs:2308
static readonly int ODCHAR_IS_INT16LE
Definition Globals.cs:3808
static OdCodePageId checkTheSameCP(OdCodePageId cp)
Definition Globals.cs:2436
const string APPNAME_ODABIM
Definition Globals.cs:3957
static int odcmLookupACI(UInt32 rgb, UInt32[] pPalette)
Definition Globals.cs:3101
static OdRxClass odrxSafeGetClassDesc(String className)
Definition Globals.cs:1355
static bool OdNegative(double x, double tol)
Definition Globals.cs:37
static OdGeDoubleArray odgiGetAllDeviations(OdGiDeviation deviationObj)
Definition Globals.cs:905
static OdGiTextStyle odgiPrepareTextStyle(OdGiTextStyle pStyle, OdGiTextStyle res)
Definition Globals.cs:1142
static bool OdNegative(double x)
Definition Globals.cs:43
static bool isBoxContainsPoint(OdGePoint2d minPt, OdGePoint2d maxPt, OdGePoint2d pt, OdGeTol tol)
Definition Globals.cs:1249
static UInt64 GetMemoryUsageInternalInfo(UInt32 target)
Definition Globals.cs:494
static int OdGiRasterImage_adjustTransparentColor(OdGiRasterImage pImage)
Definition Globals.cs:3367
static bool odgiCalculateTriangleShellLoops(OdUInt32Array triangleIndicies, OdUInt32Array2d loops, OdBoolArray isClosed)
Definition Globals.cs:2666
static void odrxRegisterAuditInfoDestructorCallback(Globals.ODAUDITINFO_CALLBACKDelegate callbackFunc)
Definition Globals.cs:2442
static void makeInterValid(out double startAngle, out double endAngle, double period)
Definition Globals.cs:2727
const string APPNAME_ODAMFC
Definition Globals.cs:3954
static OdGiColorRGB Add(OdGiColorRGB c1, OdGiColorRGB c2)
Definition Globals.cs:1160
static double calcFocalLength(double lensLength, double fieldWidth, double fieldHeight)
Definition Globals.cs:1121
static void UpdateChildrenBookmarksTree(PDFDocument PDFDoc, PDFPageDictionary currentPage, OdStringArray childs, OdGePoint3dArray childExt, PDFObject pParentItem)
Definition Globals.cs:3640
static bool OdPositive(double x)
Definition Globals.cs:31
delegate IntPtr OdPseudoConstructorTypeDelegateNative()
const int ODPDF_DEFAULT_FONT_WIDTH
Definition Globals.cs:3826
static void clearLayersData()
Definition Globals.cs:3405
static OdGiColorRGB Mul(OdGiColorRGB c1, OdGiColorRGB c2)
Definition Globals.cs:1196
const int kOdDbIdLoading
Definition Globals.cs:3861
const int kNothing
Definition Globals.cs:3843
delegate void OdApcEntryPointRxObjParamDelegate(OdRxObject parameter_)
static double odStrToD(SWIGTYPE_p___wchar_t p, char[] ppend)
Definition Globals.cs:879
static Globals.PgetLocalTimeDelegate g_pLocalTimeFunc
Definition Globals.cs:390
const uint kObjectPageOnDisk
Definition Globals.cs:3870
delegate bool GripWorldDrawPtrDelegateNative(IntPtr pThis, IntPtr pWd, IntPtr entId, DrawType type, IntPtr imageGripPoint, double dGripSize)
static OdDbStub odgsDbRedirectID(OdDbStub pId)
Definition Globals.cs:2502
static bool geNurb3dTo2d(OdGeNurbCurve3d nurb3d, OdGePlane plane, OdGeNurbCurve2d nurb2d, OdGeTol tol)
Definition Globals.cs:711
static void odThreadYield()
Definition Globals.cs:1000
const int kOdDbIdNdxUpdtDataFlag
Definition Globals.cs:3884
const int kOdDbIdSingleAuxData
Definition Globals.cs:3885
delegate void PgetLocalTimeDelegate(OdTimeStamp _parameter)
delegate void ExecuteMainThreadFuncDelegateNative(Globals.MainThreadFuncDelegateNative _func, IntPtr _arg)
const int IMAGE_MINOR_VER
Definition Globals.cs:3828
static OdGe.ErrorCondition geCalculateNormal(OdGePoint3dArray points, OdGeVector3d pNormal, OdGeTol tol)
Definition Globals.cs:590
static UInt32 odrxMultiCastBk(OdRxObject pObject, ref OdRxObject pPointer, OdRxClass pClasses, UInt32 nClasses)
Definition Globals.cs:2285
static bool isMIFCodepage(OdCodePageId id)
Definition Globals.cs:2430
static OdRxObject odCreatePrcAllInSingleViewContextForTD()
Definition Globals.cs:3665
static OdAsyncIOService odGetAsyncIOService()
Definition Globals.cs:3112
static void OdGeDrawSegmentHatchXY(OdGeLineSeg2dArray segments, OdIntArray loops, OdIntArray loopTypes, OdGeHatchStrokes StrokeParams, OdGeIslandStyle iStyle, bool isSolid, OdGeLineSeg2dArray strokes, OdGeTol tol)
Definition Globals.cs:3182
const int kOdGiIncludeScores
Definition Globals.cs:3831
delegate OdResult OdTfPropertySetterTypeDelegate(OdTfObject arg1, OdTfVariant arg2)
static bool IsEqual(OdTfVariant.Type lhs, OdVariant.Type rhs)
Definition Globals.cs:1297
static void OdGeDrawSegmentHatch(OdGeLineSeg2dArray segments, OdIntArray loops, OdIntArray loopTypes, OdGeHatchStrokes StrokeParams, OdGeIslandStyle iStyle, bool isSolid, OdGeLineSeg2dArray strokes, OdGeTol tol, OdGeStrokeDataArray pStrokeData, OdGeShellData pShell, bool bIncludeBoundary, SWIGTYPE_p_std__functionT_bool_fF_t fRegenAbort)
Definition Globals.cs:3142
delegate IntPtr OdTfVariantConstructorTypeDelegateNative()
static UInt32[] odcmAcadPalette(UInt32 backgr)
Definition Globals.cs:3073
static bool OdLessOrEqual(double x, double y)
Definition Globals.cs:103
const uint kOdDbIdAllBits
Definition Globals.cs:3854
static ISATConverter ABCreateConverter()
Definition Globals.cs:3130
static OdRxObject baseDatabaseBy(OdDbStub id)
Definition Globals.cs:1016
static UInt32 odFNV32aHashBuf(IntPtr buf, uint len)
Definition Globals.cs:2578
const int kOdGiIgnoreMIF
Definition Globals.cs:3835
static OdResult wktToDefinition(WktFlavor eWktFlavor, String sWkt, ref OdCoordinateReferenceSystemDefinition pCRSD)
Definition Globals.cs:2014
static bool sameSortedArrays(OdDbStubPtrArray ar1, OdDbStubPtrArray ar2)
Definition Globals.cs:1039
static bool OdGreaterOrEqual(double x, double y, double tol)
Definition Globals.cs:121
static OdResult geIsDir2dOnSurfCoincide3d(OdGeSurface pSurf, OdGeCurve3d pCurve, OdGeCurve2d pParamCurve, out bool isCoincide, OdGeTol tol)
Definition Globals.cs:735
static OdTfAttribute newOdTfAttribute(String name, OdRxObject pOwner, OdTfVariant value)
Definition Globals.cs:1840
static bool OdZero(double x, double tol)
Definition Globals.cs:49
static OdGeTol calculateEffectiveTolerance(OdGeLineSeg2dArray segments, double absTol, OdGeExtents2d ext)
Definition Globals.cs:3252
static UInt32 odFNV32aHashStr(string str)
Definition Globals.cs:2594
static void OdAssert(string expresssion, string filename, int nLineNo)
Definition Globals.cs:2984
static PDFObject CreateBookmark(PDFDocument PDFDoc, PDFPageDictionary currentPage, String sTitle, BookmarkTypes type, OdDoubleValuesArray values)
Definition Globals.cs:3600
static void odrxFree(IntPtr pMemBlock)
Definition Globals.cs:489
static OdRxClass odrxGetClassDesc(String className)
Definition Globals.cs:1348
static void odDToStr(string dst, double val, char fmt, int prec)
Definition Globals.cs:862
static IntPtr odrxAlloc(uint nBytes)
Definition Globals.cs:473
static double OdRound(double a)
Definition Globals.cs:839
const double OdaPI4
Definition Globals.cs:3824
static bool compareMeshes(OdGeTrMesh meshTemplate, OdGeTrMesh mesh, double tolCoef, bool bDebugOutput)
Definition Globals.cs:2749
static String getCodePageStr(int index)
Definition Globals.cs:3314
static bool odutWcMatchNoCase(String string_, String wcPattern)
Definition Globals.cs:2389
static bool OdGreater(double x, double y)
Definition Globals.cs:115
static OdResult createXml(OdCoordinateReferenceSystemDefinition pCoordinateReferenceSystemDefinition, ref string sResultXml)
Definition Globals.cs:2068
const double SKIP_RATIO
Definition Globals.cs:3959
static OdRxDictionary odrxSysRegistry()
Definition Globals.cs:1321
const string APPNAME_ODADGN
Definition Globals.cs:3955
static void fillSegmentLoopLtArrays(OdGeLineSeg2dArray segmentArray, OdIntArray loopArray, OdIntArray loopTypes, GiLoopListCustom loopListCustom, OdGeVector2d vOffset, double dDeviation, UInt32 pointLimit, Int16 nHPSmooth, bool bGradientFill, bool bSolid)
Definition Globals.cs:3232
static OdGe.ErrorCondition geCalculatePlane(OdGePoint3dArray points, OdGePlane plane)
Definition Globals.cs:636
static UInt32 lMaxDwfResolution
Definition Globals.cs:3340
static void GE_ERROR(OdResult res)
Definition Globals.cs:759
static PDFImage addNewImage(PDFDocument PDFDoc, PDFResourceDictionary pResDict)
Definition Globals.cs:3540
static bool OdEqual(double x, double y)
Definition Globals.cs:79
static void odActivate(String userInfo, String userSignature)
Definition Globals.cs:2373
static OdTfClass initOdTfClass(OdTfClass pClass, String name, OdRxClass pBaseClass, OdTfAttributePtrArray attributes, OdTfPropertyPtrArray properties, Globals.OdPseudoConstructorTypeDelegate pConstr, bool bRegister)
Definition Globals.cs:1604
delegate void ODAUDITINFO_CALLBACKDelegate(OdAuditInfo info)
static UInt64 kGiPointCloudNegativeCellId
Definition Globals.cs:2690
static void odgsDbObjectIDSetLockingFlag(OdDbStub pId, bool bSet)
Definition Globals.cs:2520
const int kObjectSameOnDisk
Definition Globals.cs:3869
static bool extendExtents(OdGePoint2d minPt, OdGePoint2d maxPt, OdGePoint2d pt)
Definition Globals.cs:1243
const int AB_TYPE_LENGTH
Definition Globals.cs:3857
static bool odgiIsValidClipBoundary(OdGePoint2dArray points)
Definition Globals.cs:1005
static readonly string PRIu64
Definition Globals.cs:3814
const int kOdDatabaseFlag
Definition Globals.cs:3882
static void odgiUninitialize()
Definition Globals.cs:453
static bool geSurfaceProp(OdGeSurface pS, out OdGe.NurbSurfaceProperties propU, out OdGe.NurbSurfaceProperties propV, OdGeTol tol)
Definition Globals.cs:723
static void odgeHeapCleanup()
Definition Globals.cs:513
static OdGe.ErrorCondition geCalculatePlane(OdGePoint3dArray points, OdGePlane plane, OdGeTol tol, bool validateCoplanar)
Definition Globals.cs:624
static double odStrToD(SWIGTYPE_p___wchar_t p)
Definition Globals.cs:885
static void addBaseDatabaseByResolver(OdBaseDatabaseByResolver pResolver)
Definition Globals.cs:1023
delegate OdTfPropertyPtrArray OdTfPropertiesConstructorTypeDelegate(OdTfClass arg)
static void OdGeDrawSegmentHatch(OdGeLineSeg2dArray segments, OdIntArray loops, OdIntArray loopTypes, OdGeHatchStrokes StrokeParams, OdGeIslandStyle iStyle, bool isSolid, OdGeLineSeg2dArray strokes)
Definition Globals.cs:3167
static OdGiColorRGB Div(double s, OdGiColorRGB c)
Definition Globals.cs:1226
const int kOdDbIdMapCloned
Definition Globals.cs:3874
const int kForMTextExtents
Definition Globals.cs:3837
static OdRxSystemServices odrxSystemServices()
Definition Globals.cs:1443
static void odrxUnregisterHyperlinkDestructorCallback()
Definition Globals.cs:3023
static ThreadsCounter odThreadsCounter()
Definition Globals.cs:928
static OdGiDrawable fxUnderlyingDrawable(OdGsNode arg0)
Definition Globals.cs:1261
static void UpdateBookmarksTree(PDFDocument PDFDoc, PDFPageDictionary currentPage, String sParent, OdStringArray childs)
Definition Globals.cs:3630
static PDFName CreateOC4Layer(String layer_name, PDFDocument PDFDoc, PDFResourceDictionary resource_dict, bool bVisible)
Definition Globals.cs:3430
static String geToString(OdGe.EntityId val)
Definition Globals.cs:729
static OdGiXform odgiGetModelToEyeXform(OdGiModelToViewProc pThis)
Definition Globals.cs:1045
const int kOdDbIdMapping
Definition Globals.cs:3871
static OdDbStub odgsDbGetOwner(OdDbStub pId)
Definition Globals.cs:2495
static OdGiColorRGB Sub(OdGiColorRGB c, double s)
Definition Globals.cs:1184
static UInt32 odrxMultiCastFwdXPrior_(OdRxClass pClass, OdRxObject pObject, ref OdRxObject pPointer, OdRxClass pClasses, UInt32 nClasses)
Definition Globals.cs:2177
static OdResult getProjectionCodeName(ProjectionCode eProjectionCode, ref string sName)
Definition Globals.cs:1918
delegate bool ConvertValueCallbackDelegateNative(IntPtr pProperty, IntPtr value)
static OdGeVector2d Mul(double scale, OdGeVector2d vector)
Definition Globals.cs:770
const double OdaPI2
Definition Globals.cs:3823
static void releaseLocalHeaps(uint nThreadId, UInt32 aThreadId)
Definition Globals.cs:1096
static Globals.OdCheckAssertGroupFuncDelegate odSetCheckAssertGroupFunc(Globals.OdCheckAssertGroupFuncDelegate checkFunc)
Definition Globals.cs:2934
static void ABDeleteConverter(ISATConverter pIC)
Definition Globals.cs:3137
const string ABSTREAM_BINARY
Definition Globals.cs:3855
static OdResult getUnitCodeName(UnitCode eUnitCode, ref string sName)
Definition Globals.cs:1894
delegate void PgetLocalTimeDelegateNative(IntPtr _parameter)
static bool odutWcMatch(String string_, String wcPattern, String remainString)
Definition Globals.cs:2395
static bool IsMultiByteCodePage(OdCodePageId id)
Definition Globals.cs:3320
const int SEEK_CUR
Definition Globals.cs:3819
static void EnableGeProtection(bool bVal)
Definition Globals.cs:508
static OdRxObject odCreatePrcAllInSingleViewContextForBIM()
Definition Globals.cs:3765
const int kSurfIsolines
Definition Globals.cs:3848
static void odgiCalculateTextBasis(OdGeVector3d u, OdGeVector3d v, OdGeVector3d normal, OdGeVector3d direction, double height, double width, double oblique, bool bMirrorX, bool bMirrorY)
Definition Globals.cs:1127
static OdGiColorRGB Add(OdGiColorRGB c, double s)
Definition Globals.cs:1166
const int SEEK_END
Definition Globals.cs:3820
static UInt64 odFNV64HashStr(string str)
Definition Globals.cs:2626
static bool processGradientHatch(ref OdGeShellData pShell, String gradName, double dShift, double dAngle, int r1, int g1, int b1, int r2, int g2, int b2)
Definition Globals.cs:3237
static OdRxDictionary odrxClassDictionary()
Definition Globals.cs:1328
static UInt32 odrxMultiCastBkX(OdRxObject pObject, ref OdRxObject pPointer, OdRxClass pClasses, UInt32 nClasses)
Definition Globals.cs:2339
static OdRxModule odrxLoadApp(String applicationName)
Definition Globals.cs:1854
static PDFObject CreateBookmark(PDFDocument PDFDoc, PDFPageDictionary currentPage, String sTitle, BookmarkTypes type, OdDoubleValuesArray values, PDFObject pParentItem)
Definition Globals.cs:3580
static OdGeNurbSurface convertFrom(OdGeSurface source, OdGeTol tol, bool sameParametrization)
Definition Globals.cs:1422
static int OdTruncateToLong(double a)
Definition Globals.cs:851
static OdResult idToWkt(CodeFormatType eCodeFormatTypeSource, String sIdSource, WktFlavor eWktFlavor, ref string sWkt)
Definition Globals.cs:1978
static void fillSegmentLoopLtArrays(OdGeLineSeg2dArray segmentArray, OdIntArray loopArray, OdIntArray loopTypes, GiLoopListCustom loopListCustom, OdGeVector2d vOffset, double dDeviation, UInt32 pointLimit, Int16 nHPSmooth, bool bGradientFill, bool bSolid, bool isEvaluateHatchArea, bool isRegionCreate)
Definition Globals.cs:3222
static void OdGeDrawSegmentHatch(OdGeLineSeg2dArray segments, OdIntArray loops, OdIntArray loopTypes, OdGeHatchStrokes StrokeParams, OdGeIslandStyle iStyle, bool isSolid, OdGeLineSeg2dArray strokes, OdGeTol tol, OdGeStrokeDataArray pStrokeData, OdGeShellData pShell)
Definition Globals.cs:3152
static UInt64 odFNV64aHashStr(string str)
Definition Globals.cs:2658
static void odrxRegisterHyperlinkDestructorCallback(Globals.ODDBHYPERLINK_CALLBACKDelegate callbackFunc)
Definition Globals.cs:2994
static OdGeNurbSurface convertFrom(OdGeSurface source, OdGeTol tol)
Definition Globals.cs:1429
static UInt32 odFNV32aHashBuf(IntPtr buf, uint len, UInt32 hval)
Definition Globals.cs:2570
static bool OdGiRasterImage_isGreyscale(OdGiRasterImage pImage)
Definition Globals.cs:3349
static bool OdGiRasterImage_isColorPresent(OdGiRasterImage pImage, UInt32 color)
Definition Globals.cs:3361
static bool odExecuteMainThreadAction(Globals.MainThreadFuncDelegate mtFunc, IntPtr pArg, bool bExecST)
Definition Globals.cs:934
static OdGiXform odgiGetEyeToModelXform(OdGiModelToViewProc pThis)
Definition Globals.cs:1065
static void OdGeDrawSegmentHatch(OdGeLineSeg2dArray segments, OdIntArray loops, OdIntArray loopTypes, OdGeHatchStrokes StrokeParams, OdGeIslandStyle iStyle, bool isSolid, OdGeLineSeg2dArray strokes, OdGeTol tol, OdGeStrokeDataArray pStrokeData, OdGeShellData pShell, bool bIncludeBoundary)
Definition Globals.cs:3147
const int IMAGE_INTERNAL_VER
Definition Globals.cs:3830
static void odgiImageViewport(OdGiViewportGeometry pGeom, OdGiRasterImage pImage, OdGePoint3d pBoundary, bool bFilter, double brightness)
Definition Globals.cs:824
static readonly uint ULONG_MAX
Definition Globals.cs:3806
static String getParameterDescription(UInt32 ePrmCode, UInt32 uIndex)
Definition Globals.cs:1954
static OdTfClass createOdTfClass()
Definition Globals.cs:1597
const int kOdDbIdMapFlag
Definition Globals.cs:3872
static OdRxObject odCreatePrcOnlySolidsSingleViewContextForTD()
Definition Globals.cs:3705
delegate void OdAssertFuncDelegate(string expresssion, string filename, int nLineNo)
delegate bool ConvertValueCallbackDelegate(OdRxPropertyBase pProperty, OdRxValue value)
const int kOdDbIdReferenced
Definition Globals.cs:3864
delegate void OdTraceFuncDelegate(string debugString)
static bool OdGreater(double x, double y, double tol)
Definition Globals.cs:109
static readonly int OD_SIZEOF_PTR
Definition Globals.cs:3817
static OdGeDoubleArray odgiGetAllDeviations(OdGiDeviation deviationObj, OdGePoint3d pointOnCurve)
Definition Globals.cs:897
static bool isMBCBCodepage(OdCodePageId id)
Definition Globals.cs:2424
const int SCALAR_MAX
Definition Globals.cs:3842
static OdGe.ErrorCondition geValidSolid(OdGePoint3dArray points, out bool isValid)
Definition Globals.cs:578
static OdGiColorRGB Div(OdGiColorRGB c1, OdGiColorRGB c2)
Definition Globals.cs:1214
static OdGePoint3d Mul(OdGeMatrix3d matrix, OdGePoint3d point)
Definition Globals.cs:802
static OdGiPsFillstyles odgiGetPsFillstylesManager()
Definition Globals.cs:2711
static OdResult createXml(SWIGTYPE_p_OdArrayT_OdSmartPtrT_OdSpatialReference__OdDefinitionBase_t_t arrDefinitionBase, ref string sResultXml)
Definition Globals.cs:2056
static global::System.Exception Retrieve()
static String getParameterDescription__SWIG_1(UInt32 jarg1)
static UInt64 GetMemoryUsageInternalInfo(UInt32 jarg1)
static void odgiImageViewport__SWIG_3(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, bool jarg4)
static global::System.IntPtr Div__SWIG_2(double jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static double paramFromAngle(double jarg1, double jarg2)
static void removeBaseDatabaseByResolver(HandleRef jarg1)
static UInt64 odFNV64HashStr__SWIG_1(string jarg1)
static void odrxUnregisterAuditInfoDestructorCallback()
static IntPtr addNewImage__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, bool jarg3)
static global::System.IntPtr Mul__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2)
static void addBaseDatabaseByResolver(HandleRef jarg1)
static IntPtr odCreatePrcAllInSingleViewContextForDGN()
static int geCalculatePlane__SWIG_6([In, MarshalAs(UnmanagedType.LPArray)]OdGeCurve3d[] jarg1, UInt32 jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, bool jarg5)
static int geSolidSignedVolume(global::System.Runtime.InteropServices.HandleRef jarg1, out double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int geCalculateNormal__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr odrxDynamicLinker()
static int OD_SIZEOF_INT_get()
static double OdRound(double jarg1)
static int idToWkt(int jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2, int jarg3, ref IntPtr jarg4)
static global::System.IntPtr Mul__SWIG_8(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdGeDrawSegmentHatch__SWIG_5(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2, IntPtr jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, bool jarg6, global::System.Runtime.InteropServices.HandleRef jarg7)
static UInt32 odFNV32aHashBuf__SWIG_1(IntPtr jarg1, uint jarg2)
static void odgiEmptyClipBoundary(global::System.Runtime.InteropServices.HandleRef jarg1)
static int geCalculatePlane__SWIG_4(IntPtr jarg1, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static void odrxUnregisterHyperlinkDestructorCallback()
static void OdAssert__SWIG_1(string jarg1, string jarg2, string jarg3, int jarg4)
static global::System.IntPtr calculateEffectiveTolerance(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int geCalculatePlane__SWIG_5(IntPtr jarg1, global::System.Runtime.InteropServices.HandleRef jarg3)
static int getUnitCode([MarshalAs(UnmanagedType.LPWStr)]String jarg1, out UnitCode jarg2)
static bool OdGiRasterImage_isColorPresent__SWIG_0(HandleRef jarg1, UInt32 jarg2, bool jarg3)
static int definitionToWkt(HandleRef jarg1, int jarg2, ref IntPtr jarg3)
static int geCalculatePlane__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdEqual__SWIG_1(double jarg1, double jarg2)
static UInt32 odrxMultiCastX(HandleRef jarg1, out OdRxObject jarg2, IntPtr jarg3, UInt32 jarg4)
static IntPtr odrxAlloc(uint jarg1)
static void OdClearFontTable()
static IntPtr g_pLocalTimeFunc_get()
static IntPtr odSetTraceFunc(IntPtr jarg1)
static global::System.IntPtr Div__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static int getProjectionCodeName(int jarg1, ref IntPtr jarg2)
static uint UINT_MAX_get()
static string PRIu64_get()
static bool OdNonZero__SWIG_1(double jarg1)
static IntPtr getOCGNodeByName([MarshalAs(UnmanagedType.LPWStr)]String jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr odSetAssertFunc(IntPtr jarg1)
static bool ABBreakToSingleBody(HandleRef jarg1, Int32 jarg2, bool jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static uint ULONG_MAX_get()
static void odgiCalculateTextBasis__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, double jarg5, double jarg6, double jarg7)
static global::System.IntPtr odgiGetPsLinetypesManager__SWIG_1()
static UInt32 odFNV32HashStr__SWIG_1(string jarg1)
static void odgsInitialize()
static void odgiCalculateTextBasis__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, double jarg5, double jarg6, double jarg7, bool jarg8, bool jarg9)
static bool OdLess__SWIG_1(double jarg1, double jarg2)
static int OdRoundToLong(double jarg1)
static global::System.IntPtr convertFrom__SWIG_2(HandleRef jarg1)
static void addNewImageAsXobject(global::System.Runtime.InteropServices.HandleRef jarg1, ref IntPtr jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static UInt64 odFNV64aHashStr__SWIG_0(string jarg1, UInt64 jarg2)
static int getUnitCodeInformation(int jarg1, out UnitType jarg2, out double jarg3)
static UInt64 odFNV64aHashBuf__SWIG_1(IntPtr jarg1, uint jarg2)
static int OdCmpDouble__SWIG_0(double jarg1, double jarg2, double jarg3)
static void odgiImageViewport__SWIG_1(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, bool jarg4, double jarg5, double jarg6)
static int parseXml__SWIG_1([MarshalAs(UnmanagedType.LPWStr)]String jarg1, ref IntPtr jarg2)
static bool IsEqual__SWIG_2(int jarg1, int jarg2)
static bool odgiCalculateTriangleShellLoops__SWIG_1(IntPtr jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static UInt32 odrxMultiCastObject(HandleRef jarg1, bool jarg2, IntPtr jarg3, UInt32 jarg4)
static IntPtr odrxCreateObject([MarshalAs(UnmanagedType.LPWStr)]String jarg1)
static bool OdPositive__SWIG_1(double jarg1)
static void odrxRegisterDestructorCallback(IntPtr jarg1)
static IntPtr CreateOC4Layer__SWIG_0([MarshalAs(UnmanagedType.LPWStr)]String jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, HandleRef jarg3, bool jarg4, bool jarg5)
static int geCalculatePlane__SWIG_11([In, MarshalAs(UnmanagedType.LPArray)]OdGeCurve3d[] jarg1, bool jarg2, UInt32 jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static void odDToStr__SWIG_0(string jarg1, double jarg2, char jarg3, int jarg4, int jarg5)
static void odrxRegisterHyperlinkDestructorCallback(IntPtr jarg1)
static void odgiInitialize()
static bool geNurb3dTo2d__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static bool IsGeProtectionEnabled()
static void GE_ERROR(int jarg1)
static void odrxUninitialize()
static bool sameSortedArrays(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int geCalculateNormal__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdNegative__SWIG_0(double jarg1, double jarg2)
static IntPtr odrxSafeLoadApp([MarshalAs(UnmanagedType.LPWStr)]String jarg1)
static IntPtr createOdTfProperty()
static void g_pLocalTimeFunc_set(IntPtr jarg1)
static bool odgiCalculateTriangleShellLoops__SWIG_0(IntPtr jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, IntPtr jarg3)
static double safeDivide(double jarg1, double jarg2)
static global::System.IntPtr convertFrom__SWIG_3(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3)
static void ABDeleteConverter(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGreaterOrEqual__SWIG_1(double jarg1, double jarg2)
static int createXml__SWIG_1(HandleRef jarg1, ref IntPtr jarg2)
static int getUnitCodeName(int jarg1, ref IntPtr jarg2)
static void releaseLocalHeaps(uint jarg1, UInt32 jarg2)
static bool compareMeshes(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, double jarg3, bool jarg4)
static UInt32 odrxMultiCastFwdObject_(HandleRef jarg1, HandleRef jarg2, IntPtr jarg3, UInt32 jarg4)
static bool odgsDbObjectIDRedirected(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdNonZero__SWIG_0(double jarg1, double jarg2)
static int geValidSolid__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, out bool jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool isInvalid(global::System.Runtime.InteropServices.HandleRef jarg1)
static int geCalculateNormal__SWIG_3(IntPtr jarg1, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr Mul__SWIG_3(double jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int odcmLookupACI(UInt32 jarg1, [In, MarshalAs(UnmanagedType.LPArray)]UInt32[] jarg2)
static IntPtr odCreatePrcAllInSingleViewContextForTD()
static global::System.IntPtr Mul__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool extendExtents__SWIG_0(out double jarg1, out double jarg2, double jarg3)
static void UpdateChildrenBookmarksTree(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static UInt32 odFNV32HashBuf__SWIG_0(IntPtr jarg1, uint jarg2, UInt32 jarg3)
static UInt32 odrxMultiCastFwdX_(HandleRef jarg1, HandleRef jarg2, ref IntPtr jarg3, IntPtr jarg4, UInt32 jarg5)
static int odgeDrawDashedHatch__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, IntPtr jarg3, IntPtr jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, int jarg6, UInt32 jarg7, global::System.Runtime.InteropServices.HandleRef jarg8, bool jarg9, bool jarg10)
static int odgeDrawDashedHatch__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, IntPtr jarg3, IntPtr jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, int jarg6, UInt32 jarg7, global::System.Runtime.InteropServices.HandleRef jarg8, bool jarg9)
static UInt32 odrxMultiCastFwdX(HandleRef jarg1, ref IntPtr jarg2, IntPtr jarg3, UInt32 jarg4)
static void OdGeDrawSegmentHatchXY__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2, IntPtr jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, bool jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8)
static IntPtr createOdTfClass()
static int geCalculatePlane__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static UInt32 lMaxDwfResolution_get()
static UInt32 odrxMultiCastFwd_(HandleRef jarg1, HandleRef jarg2, ref IntPtr jarg3, IntPtr jarg4, UInt32 jarg5)
static void odgsDbObjectIDSetRedirected(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static global::System.IntPtr Add__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr getOCGbyName([MarshalAs(UnmanagedType.LPWStr)]String jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, HandleRef jarg3)
static IntPtr odCreatePrcOnlySolidsMultiViewContextForTD()
static bool odutWcMatch__SWIG_1([MarshalAs(UnmanagedType.LPWStr)]String jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2, [MarshalAs(UnmanagedType.LPWStr)]String jarg3)
static UInt32 odrxMultiCastBkXPrior(HandleRef jarg1, ref IntPtr jarg2, IntPtr jarg3, UInt32 jarg4)
static IntPtr odGetAsyncIOService()
static void pointsExtents(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static IntPtr odrxLoadApp([MarshalAs(UnmanagedType.LPWStr)]String jarg1)
static void addLocalHeaps(uint jarg1, UInt32 jarg2)
static bool triangulateProfile__SWIG_1(IntPtr jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool odgiIsValidClipBoundary(IntPtr jarg1)
static int getProjectionCode([MarshalAs(UnmanagedType.LPWStr)]String jarg1, out ProjectionCode jarg2)
static double calculateDashTakerDeviation(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static bool geSurfaceProp(HandleRef jarg1, out OdGe.NurbSurfaceProperties jarg2, out OdGe.NurbSurfaceProperties jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static void odActivate([MarshalAs(UnmanagedType.LPWStr)]String jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static bool isMIFCodepage(int jarg1)
static IntPtr odCreatePrcAllInSingleViewContextForBIM()
static void odgsDbObjectIDSetLockingFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void dcImageToPdfImage__SWIG_0(HandleRef jarg1, HandleRef jarg2, bool jarg3, double jarg4, double jarg5, double jarg6, UInt32 jarg7, global::System.Runtime.InteropServices.HandleRef jarg8, UInt32 jarg9, UInt16 jarg10, HandleRef jarg11, bool jarg12)
static UInt32 odrxMultiCastFwdObject(HandleRef jarg1, IntPtr jarg2, UInt32 jarg3)
static int nOdVariantDataSize_get()
static void odThreadYield()
static int geCalculatePlane__SWIG_7([In, MarshalAs(UnmanagedType.LPArray)]OdGeCurve3d[] jarg1, UInt32 jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static void fillSegmentLoopLtArrays__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2, IntPtr jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, double jarg6, UInt32 jarg7, Int16 jarg8, bool jarg9, bool jarg10)
static bool OdGreater__SWIG_1(double jarg1, double jarg2)
static string PRId64_get()
static void OdGeDrawSegmentHatchXY__SWIG_3(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2, IntPtr jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, bool jarg6, global::System.Runtime.InteropServices.HandleRef jarg7)
static bool OdGiRasterImage_isGreyscale(HandleRef jarg1)
static bool OdNegative__SWIG_1(double jarg1)
static global::System.IntPtr odgiGetAllDeviations__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1)
static int createXml__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, ref IntPtr jarg2)
static void OdGeDrawSegmentHatchXY__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2, IntPtr jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, bool jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8, global::System.Runtime.InteropServices.HandleRef jarg9)
static IntPtr odgiGetEyeToModelXform(HandleRef jarg1)
static global::System.IntPtr Mul__SWIG_1(double jarg1, IntPtr jarg2)
static IntPtr newOdTfAttribute([MarshalAs(UnmanagedType.LPWStr)]String jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool odutWcMatch__SWIG_0([MarshalAs(UnmanagedType.LPWStr)]String jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static int geIsDir2dOnSurfCoincide3d__SWIG_1(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, out bool jarg4)
static IntPtr initOdTfProperty(HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2, HandleRef jarg3, int jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, IntPtr jarg6, IntPtr jarg7, IntPtr jarg8)
static void fillSegmentLoopLtArrays__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2, IntPtr jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, double jarg6, UInt32 jarg7, Int16 jarg8, bool jarg9, bool jarg10, bool jarg11, bool jarg12)
static void UpdateBookmarksTree__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [MarshalAs(UnmanagedType.LPWStr)]String jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6)
static UInt64 odFNV64HashStr__SWIG_0(string jarg1, UInt64 jarg2)
static void OdGeDrawSegmentHatch__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2, IntPtr jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, bool jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8, global::System.Runtime.InteropServices.HandleRef jarg9, HandleRef jarg10, bool jarg11)
static void odgsUninitialize()
static global::System.IntPtr Sub__SWIG_2(double jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr Mul__SWIG_4(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int evaluateDashedHatch__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, double jarg4, double jarg5, UInt32 jarg6, UInt32 jarg7, UInt32 jarg8, UInt32 jarg9, Int16 jarg10, bool jarg11, bool jarg12, bool jarg13, bool jarg14, bool jarg15, out bool jarg16, global::System.Runtime.InteropServices.HandleRef jarg17, global::System.Runtime.InteropServices.HandleRef jarg18, IntPtr jarg19, IntPtr jarg20, global::System.Runtime.InteropServices.HandleRef jarg21, global::System.Runtime.InteropServices.HandleRef jarg22)
static uint odgiGetTextExtentsCacheCapacity()
static global::System.IntPtr odcmAcadDynamicPalette(UInt32 jarg1)
static global::System.IntPtr ABCreateConverter()
static int OdSign__SWIG_1(int jarg1)
static IntPtr odgiGetModelToEyeXform(HandleRef jarg1)
static double getSignedArea(IntPtr jarg1)
static double calibrateAngle(double jarg1, double jarg2)
static int getProjectionFlags(int jarg1, out UInt32 jarg2)
static double odStrToD__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, [In, MarshalAs(UnmanagedType.LPArray)]char[] jarg2)
static String getParameterDescription__SWIG_0(UInt32 jarg1, UInt32 jarg2)
static bool extendExtents__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static UInt32 odrxMultiCastBkObject(HandleRef jarg1, IntPtr jarg2, UInt32 jarg3)
static IntPtr odrxSystemServices()
static UInt32 odrxMultiCastBk(HandleRef jarg1, ref IntPtr jarg2, IntPtr jarg3, UInt32 jarg4)
static int geCalculatePlane__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, bool jarg4)
static bool OdGreater__SWIG_0(double jarg1, double jarg2, double jarg3)
static char checkSpecialSymbol(HandleRef jarg1, char jarg2, out bool jarg3)
static int idToId(int jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2, int jarg3, ref IntPtr jarg4)
static IntPtr CreateBookmark__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [MarshalAs(UnmanagedType.LPWStr)]String jarg3, int jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6)
static IntPtr CreateBookmark__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [MarshalAs(UnmanagedType.LPWStr)]String jarg3, int jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static void moveIntoValidInter__SWIG_0(double jarg1, double jarg2, out double jarg3, double jarg4)
static UInt32 odrxMultiCastFwdXPrior_(HandleRef jarg1, HandleRef jarg2, ref IntPtr jarg3, IntPtr jarg4, UInt32 jarg5)
static void odgiCalculateTextBasis__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, double jarg5, double jarg6, double jarg7, bool jarg8)
static IntPtr addNewImage__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static int OdTruncateToLong(double jarg1)
static UInt32 odFNV32aHashBuf__SWIG_0(IntPtr jarg1, uint jarg2, UInt32 jarg3)
static int getCoordinateReferenceSystemDefinition([MarshalAs(UnmanagedType.LPWStr)]String jarg1, ref IntPtr jarg2)
static void clearLayersData()
static int parseXml__SWIG_0([MarshalAs(UnmanagedType.LPWStr)]String jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdAssert__SWIG_0(string jarg1, string jarg2, int jarg3)
static void makeInterValid__SWIG_0(out double jarg1, out double jarg2, double jarg3)
static global::System.IntPtr odThreadsCounter()
static void UpdateBookmarksTree__SWIG_3(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [MarshalAs(UnmanagedType.LPWStr)]String jarg3)
static void OdGeDrawSegmentHatch__SWIG_4(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2, IntPtr jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, bool jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8)
static UInt64 odFNV64HashBuf__SWIG_1(IntPtr jarg1, uint jarg2)
static global::System.IntPtr OdErrorByCodeAndMessage(int jarg1, string jarg2)
static void odgiImageViewport__SWIG_4(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static UInt32 odrxMultiCastBkX(HandleRef jarg1, ref IntPtr jarg2, IntPtr jarg3, UInt32 jarg4)
static void odUninitAsyncIOService()
static int OdRxPropertyVariantDataSize_get()
static UInt64 kGiPointCloudNegativeCellId_get()
static string PERCENT18LONG_get()
static global::System.IntPtr odgiGetPsLinetypesManager__SWIG_0(UInt32 jarg1)
static bool checkDenstiy(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, UInt32 jarg5, UInt32 jarg6, bool jarg7, out bool jarg8)
static IntPtr newOdTfClass__SWIG_0([MarshalAs(UnmanagedType.LPWStr)]String jarg1, HandleRef jarg2, IntPtr jarg3, IntPtr jarg4, IntPtr jarg5, bool jarg6)
static IntPtr baseDatabaseBy(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr Mul__SWIG_7(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int geCalculateNormal__SWIG_2(IntPtr jarg1, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static global::System.IntPtr Sub__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static global::System.IntPtr getArray__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr odgsDbGetDatabase(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool odcmIsBackgroundLight(UInt32 jarg1)
static global::System.IntPtr Mul__SWIG_9(double jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static double odStrToD__SWIG_2([MarshalAs(UnmanagedType.LPWStr)]String jarg1)
static bool isMBCBCodepage(int jarg1)
static int ODCHAR_IS_INT16LE_get()
static bool OdGiRasterImage_isColorPresent__SWIG_1(HandleRef jarg1, UInt32 jarg2)
static int lineWeightIndex(int jarg1)
static int geCalculatePlane__SWIG_8([In, MarshalAs(UnmanagedType.LPArray)]OdGeCurve3d[] jarg1, UInt32 jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr odgsDbRedirectID(IntPtr jarg1)
static String getCodePageStr(int jarg1)
static int OD_SIZEOF_LONG_get()
static bool IsMultiByteCodePage(int jarg1)
static bool IsNotEqual__SWIG_2(int jarg1, int jarg2)
static global::System.IntPtr odgiGetAllDeviations__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int geCalculatePlane__SWIG_3(IntPtr jarg1, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, bool jarg5)
static void fillSegmentLoopLtArrays__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2, IntPtr jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, double jarg6, UInt32 jarg7, Int16 jarg8, bool jarg9, bool jarg10, bool jarg11)
static bool odgiIsClipped(HandleRef jarg1)
static int wktToId(int jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2, int jarg3, ref IntPtr jarg4)
static void dcImageToPdfImage__SWIG_1(HandleRef jarg1, HandleRef jarg2, bool jarg3, double jarg4, double jarg5, double jarg6, UInt32 jarg7, global::System.Runtime.InteropServices.HandleRef jarg8, UInt32 jarg9, UInt16 jarg10, HandleRef jarg11)
static int odgeDrawDashedHatch__SWIG_3(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, IntPtr jarg3, IntPtr jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, int jarg6, UInt32 jarg7, global::System.Runtime.InteropServices.HandleRef jarg8)
static String convertTextToCodePage([MarshalAs(UnmanagedType.LPWStr)]String jarg1, int jarg2, int jarg3)
static UInt32 odFNV32aHashStr__SWIG_1(string jarg1)
static void odrxRegisterAuditInfoDestructorCallback(IntPtr jarg1)
static global::System.IntPtr convertFrom__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3)
static int build2dShell(global::System.Runtime.InteropServices.HandleRef jarg1, Int16 jarg2, IntPtr jarg3, IntPtr jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static int getMIFIndex(int jarg1)
static global::System.IntPtr convertFrom__SWIG_4(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static String odDToStr__SWIG_3(double jarg1, char jarg2, int jarg3)
static bool odrxInitialize(HandleRef jarg1)
static IntPtr odCreatePrcOnlySolidsSingleViewContextForTD()
static int OdCmpDouble__SWIG_1(double jarg1, double jarg2)
static UInt32 odrxMultiCastFwd(HandleRef jarg1, ref IntPtr jarg2, IntPtr jarg3, UInt32 jarg4)
static void moveIntoValidInter__SWIG_1(double jarg1, double jarg2, out double jarg3)
static bool odgsDbObjectIDErased(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr odcmAcadPalette(UInt32 jarg1)
static bool isPolygonOutOfRect2d(UInt32 jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static void odDToStr__SWIG_1(string jarg1, double jarg2, char jarg3, int jarg4)
static int getParameterCode(int jarg1, UInt32 jarg2)
static void odgiSetTransientManager(HandleRef jarg1, HandleRef jarg2)
static UInt32 odFNV32aHashStr__SWIG_0(string jarg1, UInt32 jarg2)
static int OD_SIZEOF_PTR_get()
static bool odutWcMatchNoCase([MarshalAs(UnmanagedType.LPWStr)]String jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static bool OdLessOrEqual__SWIG_1(double jarg1, double jarg2)
static IntPtr odrxClassDictionary()
static void OdGeDrawSegmentHatchXY__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2, IntPtr jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, bool jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8, global::System.Runtime.InteropServices.HandleRef jarg9, HandleRef jarg10)
static IntPtr odrxSafeGetClassDesc([MarshalAs(UnmanagedType.LPWStr)]String jarg1)
static int geIsDir2dOnSurfCoincide3d__SWIG_0(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, out bool jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static int evaluateDashedHatch__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, double jarg4, double jarg5, UInt32 jarg6, UInt32 jarg7, UInt32 jarg8, UInt32 jarg9, Int16 jarg10, bool jarg11, bool jarg12, bool jarg13, bool jarg14, bool jarg15, out bool jarg16, global::System.Runtime.InteropServices.HandleRef jarg17, global::System.Runtime.InteropServices.HandleRef jarg18, IntPtr jarg19, IntPtr jarg20, global::System.Runtime.InteropServices.HandleRef jarg21, global::System.Runtime.InteropServices.HandleRef jarg22, global::System.Runtime.InteropServices.HandleRef jarg23)
static IntPtr odedFireUnknownCommand(HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2, HandleRef jarg3)
static global::System.IntPtr Sub__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int geValidSolid__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, out bool jarg2)
static UInt32 odrxMultiCast(HandleRef jarg1, out OdRxObject jarg2, IntPtr jarg3, UInt32 jarg4)
static void odInitAsyncIOService(HandleRef jarg1)
static void odgeHeapCleanup()
static int GetCPageIdByName([MarshalAs(UnmanagedType.LPWStr)]String jarg1)
static double kMmPerInch_get()
static int mapCodepage(Int16 jarg1)
static void makeInterValid__SWIG_1(out double jarg1, out double jarg2)
static void OdGeDrawSegmentHatch__SWIG_3(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2, IntPtr jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, bool jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8, global::System.Runtime.InteropServices.HandleRef jarg9)
static void process(ref IntPtr jarg1, ref IntPtr jarg2, bool jarg3, [MarshalAs(UnmanagedType.LPWStr)]String jarg4, [MarshalAs(UnmanagedType.LPWStr)]String jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7)
static bool IsNotEqual__SWIG_1(int jarg1, int jarg2)
static void odrxUnregisterDestructorCallback()
static bool odExecuteMainThreadAction__SWIG_1(IntPtr jarg1, IntPtr jarg2)
static IntPtr CreateOC4Layer__SWIG_1([MarshalAs(UnmanagedType.LPWStr)]String jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, HandleRef jarg3, bool jarg4)
static bool isBoxContainsPoint__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdLess__SWIG_0(double jarg1, double jarg2, double jarg3)
static double odStrToD__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr odrxServiceDictionary()
static Int16 reMapCodepage(int jarg1)
static IntPtr getPdfExportService()
static IntPtr odrxCreateSyncRxDictionary()
static global::System.IntPtr Add__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void odDbRootInitialize()
static IntPtr odgsDbObjectIDRedirectedDatabase(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr odcmAcadDarkPalette()
static global::System.IntPtr OdErrorByCodeAndMessageFormat(int jarg1, string jarg2)
static double angleFromParam(double jarg1, double jarg2)
static bool processGradientHatch(ref IntPtr jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2, double jarg3, double jarg4, int jarg5, int jarg6, int jarg7, int jarg8, int jarg9, int jarg10)
static void odgiImageViewport__SWIG_2(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, bool jarg4, double jarg5)
static int OdGiRasterImage_adjustTransparentColor(HandleRef jarg1)
static IntPtr fxOpenDrawable(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdZero__SWIG_1(double jarg1)
static void odDbRootUninitialize()
static IntPtr odcmAcadLightPalette()
static bool isBoxContainsPoint__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static bool odExecuteMainThreadAction__SWIG_0(IntPtr jarg1, IntPtr jarg2, bool jarg3)
static string PRIX64_get()
static global::System.IntPtr Mul__SWIG_6(double jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool triangulateProfile__SWIG_0(IntPtr jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, double jarg4)
static UInt32 odrxMultiCastFwdXPrior(HandleRef jarg1, ref IntPtr jarg2, IntPtr jarg3, UInt32 jarg4)
static IntPtr fxUnderlyingDrawable(HandleRef jarg1)
static UInt32 odcmLookupRGB(int jarg1, [In, MarshalAs(UnmanagedType.LPArray)]UInt32[] jarg2)
static String geToString(int jarg1)
static int checkTheSameCP(int jarg1)
static global::System.IntPtr Add__SWIG_2(double jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr Mul__SWIG_5(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int lineWeightByIndex(int jarg1)
static IntPtr newOdTfClass__SWIG_1([MarshalAs(UnmanagedType.LPWStr)]String jarg1, HandleRef jarg2, IntPtr jarg3, IntPtr jarg4, IntPtr jarg5)
static int odgeDrawDashedHatch__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, IntPtr jarg3, IntPtr jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, int jarg6, UInt32 jarg7, global::System.Runtime.InteropServices.HandleRef jarg8, bool jarg9, bool jarg10, global::System.Runtime.InteropServices.HandleRef jarg11)
static IntPtr odrxRealloc(IntPtr jarg1, uint jarg2, uint jarg3)
static int wktToDefinition(int jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2, ref IntPtr jarg3)
static bool odutWcReplace([MarshalAs(UnmanagedType.LPWStr)]String jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2, [MarshalAs(UnmanagedType.LPWStr)]String jarg3, ref IntPtr jarg4)
static int geCalculatePlane__SWIG_9([In, MarshalAs(UnmanagedType.LPArray)]OdGeCurve3d[] jarg1, bool jarg2, UInt32 jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, bool jarg6)
static void odgiUninitialize()
static UInt64 odFNV64HashBuf__SWIG_0(IntPtr jarg1, uint jarg2, UInt64 jarg3)
static double OdSign__SWIG_0(double jarg1)
static IntPtr odedRegCmds()
static void odgiSetTextExtentsCacheCapacity(uint jarg1)
static String odDToStr__SWIG_2(double jarg1, char jarg2, int jarg3, int jarg4)
static bool OdZero__SWIG_0(double jarg1, double jarg2)
static IntPtr createOCG([MarshalAs(UnmanagedType.LPWStr)]String jarg1, HandleRef jarg2, bool jarg3, bool jarg4, HandleRef jarg5)
static bool geNurb3dTo2d__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static IntPtr odrxSysRegistry()
static void odrxFree(IntPtr jarg1)
static UInt32 odFNV32HashStr__SWIG_0(string jarg1, UInt32 jarg2)
static void EnableGeProtection(bool jarg1)
static global::System.IntPtr convertFrom__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr kNullSubentIndex_get()
static int geCalculatePlane__SWIG_10([In, MarshalAs(UnmanagedType.LPArray)]OdGeCurve3d[] jarg1, bool jarg2, UInt32 jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static int getHexValue(int jarg1)
static bool OdPositive__SWIG_0(double jarg1, double jarg2)
static IntPtr odrxGetClassDesc([MarshalAs(UnmanagedType.LPWStr)]String jarg1)
static int getCoordinateSystemType(int jarg1)
static string PRIx64_get()
static void odCleanUpStaticData()
static String oddbConvertTextToCodePage([MarshalAs(UnmanagedType.LPWStr)]String jarg1, int jarg2, int jarg3)
static IntPtr odCreatePrcDefaultContextForTD()
static IntPtr odSetCheckAssertGroupFunc(IntPtr jarg1)
static void OdGeDrawSegmentHatch__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2, IntPtr jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, bool jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8, global::System.Runtime.InteropServices.HandleRef jarg9, HandleRef jarg10)
static void odgiImageViewport__SWIG_0(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, bool jarg4, double jarg5, double jarg6, double jarg7)
static IntPtr initOdTfClass__SWIG_0(HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2, HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, IntPtr jarg6, bool jarg7)
static UInt32 odFNV32HashBuf__SWIG_1(IntPtr jarg1, uint jarg2)
static bool OdGreaterOrEqual__SWIG_0(double jarg1, double jarg2, double jarg3)
static UInt64 odFNV64aHashStr__SWIG_1(string jarg1)
static global::System.IntPtr odgsDbGetOwner(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr odCreatePrcAllInSingleViewContextBase()
static void UpdateBookmarksTree__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [MarshalAs(UnmanagedType.LPWStr)]String jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static global::System.IntPtr convertFrom__SWIG_5(HandleRef jarg1)
static IntPtr initOdTfClass__SWIG_1(HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2, HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, IntPtr jarg6)
static global::System.IntPtr Div__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGeDrawSegmentHatch__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2, IntPtr jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, bool jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8, global::System.Runtime.InteropServices.HandleRef jarg9, HandleRef jarg10, bool jarg11, global::System.Runtime.InteropServices.HandleRef jarg12)
static void getUnicodeTextString([MarshalAs(UnmanagedType.LPWStr)]String jarg1, HandleRef jarg2)
static IntPtr newOdTfProperty([MarshalAs(UnmanagedType.LPWStr)]String jarg1, HandleRef jarg2, int jarg3, IntPtr jarg4, IntPtr jarg5, IntPtr jarg6, IntPtr jarg7)
static bool isAsianCodepage(int jarg1)
static IntPtr odrxCreateRxDictionary()
static UInt64 odFNV64aHashBuf__SWIG_0(IntPtr jarg1, uint jarg2, UInt64 jarg3)
static string HANDLEFORMAT_get()
static bool IsEqual__SWIG_1(int jarg1, int jarg2)
static IntPtr odcmAcadPlotPalette()
static bool OdEqual__SWIG_0(double jarg1, double jarg2, double jarg3)
static bool OdLessOrEqual__SWIG_0(double jarg1, double jarg2, double jarg3)
static double calcFocalLength(double jarg1, double jarg2, double jarg3)
static global::System.IntPtr odgiGetPsFillstylesManager()
static uint odGetCurrentThreadId()
static IntPtr odgiGetTransientManager(HandleRef jarg1)
static void UpdateBookmarksTree__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [MarshalAs(UnmanagedType.LPWStr)]String jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static global::System.IntPtr odgiPrepareTextStyle(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static HandleRef getCPtr(ISATConverter obj)
static HandleRef getCPtr(ISATConverterPtrArray obj)
static HandleRef getCPtr(IntVectorStd obj)
static HandleRef getCPtr(OdAsyncIORequestHandler obj)
static HandleRef getCPtr(OdBaseDatabaseByResolver obj)
static HandleRef getCPtr(OdBoolArray obj)
static HandleRef getCPtr(OdCoordinateReferenceSystemDefinition obj)
static HandleRef getCPtr(OdDbStub obj)
Definition OdDbStub.cs:26
static HandleRef getCPtr(OdDbStubPtrArray obj)
static HandleRef getCPtr(OdDoubleValuesArray obj)
static HandleRef getCPtr(OdEdCommandContext obj)
static HandleRef getCPtr(OdEdCommandStack obj)
static HandleRef getCPtr(OdFont obj)
Definition OdFont.cs:25
static HandleRef getCPtr(OdGeCurve2d obj)
static HandleRef getCPtr(OdGeCurve3d obj)
static HandleRef getCPtr(OdGeExtents2d obj)
static HandleRef getCPtr(OdGeHatchDashTaker obj)
static HandleRef getCPtr(OdGeHatchStrokes obj)
static HandleRef getCPtr(OdGeKnotVector obj)
static HandleRef getCPtr(OdGeLineSeg2dArray obj)
static HandleRef getCPtr(OdGeMatrix2d obj)
static HandleRef getCPtr(OdGeMatrix3d obj)
static HandleRef getCPtr(OdGeNurbCurve2d obj)
static HandleRef getCPtr(OdGeNurbCurve3d obj)
static HandleRef getCPtr(OdGePlane obj)
Definition OdGePlane.cs:25
static HandleRef getCPtr(OdGePoint2dArrayArray obj)
static HandleRef getCPtr(OdGePoint2dArray obj)
static HandleRef getCPtr(OdGePoint2d obj)
static HandleRef getCPtr(OdGePoint3dArray obj)
static HandleRef getCPtr(OdGePoint3d obj)
static HandleRef getCPtr(OdGeShellData obj)
static HandleRef getCPtr(OdGeStrokeDataArray obj)
static HandleRef getCPtr(OdGeSurface obj)
static HandleRef getCPtr(OdGeTol obj)
Definition OdGeTol.cs:26
static HandleRef getCPtr(OdGeTrMesh obj)
Definition OdGeTrMesh.cs:25
static HandleRef getCPtr(OdGeVector2d obj)
static HandleRef getCPtr(OdGeVector3d obj)
static HandleRef getCPtr(OdGiClipBoundary obj)
static HandleRef getCPtr(OdGiColorRGB obj)
static HandleRef getCPtr(OdGiModelToViewProc obj)
static HandleRef getCPtr(OdGiRasterImage obj)
static HandleRef getCPtr(OdGiTextStyle obj)
static HandleRef getCPtr(OdGiTransientManager obj)
static HandleRef getCPtr(OdGiViewportGeometry obj)
static HandleRef getCPtr(OdGsBaseModel obj)
static HandleRef getCPtr(OdGsNode obj)
Definition OdGsNode.cs:25
static HandleRef getCPtr(OdHatchPattern obj)
static HandleRef getCPtr(OdInt32Array obj)
static HandleRef getCPtr(OdIntArray obj)
Definition OdIntArray.cs:28
static HandleRef getCPtr(OdLongArray obj)
static HandleRef getCPtr(OdRxClass obj)
Definition OdRxClass.cs:25
static HandleRef getCPtr(OdRxObject obj)
Definition OdRxObject.cs:26
static HandleRef getCPtr(OdRxSystemServices obj)
static HandleRef getCPtr(OdStreamBuf obj)
static HandleRef getCPtr(OdStringArray obj)
static HandleRef getCPtr(OdTfAttributePtrArray obj)
static HandleRef getCPtr(OdTfClass obj)
Definition OdTfClass.cs:25
static HandleRef getCPtr(OdTfProperty obj)
static HandleRef getCPtr(OdTfPropertyPtrArray obj)
static HandleRef getCPtr(OdTfVariant obj)
static HandleRef getCPtr(OdUInt32Array2d obj)
static HandleRef getCPtr(OdUInt32Array obj)
static HandleRef getCPtr(PDFAccessPermissionsParams obj)
static HandleRef getCPtr(PDFDocument obj)
static HandleRef getCPtr(PDFImage obj)
Definition PDFImage.cs:25
static HandleRef getCPtr(PDFName obj)
Definition PDFName.cs:25
static HandleRef getCPtr(PDFOCConfigurationDictionary obj)
static HandleRef getCPtr(PDFObject obj)
Definition PDFObject.cs:25
static HandleRef getCPtr(PDFPageDictionary obj)
static HandleRef getCPtr(PDFResourceDictionary obj)
static HandleRef getCPtr(PDFTextString obj)
static HandleRef getCPtr(PDFVersion obj)
Definition PDFVersion.cs:26
static HandleRef getCPtr(ViewPropsArray obj)
global::System.Runtime.InteropServices.HandleRef GetInterfaceCPtr()