Extended .NET SDK Documentation 2024 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
438 public static void odDbRootInitialize() {
441 }
442
443 public static void odDbRootUninitialize() {
446 }
447
448 public static void odgiInitialize() {
451 }
452
453 public static void odgiUninitialize() {
456 }
457
458 public static void odgsInitialize() {
461 }
462
463 public static void odgsUninitialize() {
466 }
467
468 public static void getUnicodeTextString(String pStr, PDFTextString pUnicodeStr) {
471 }
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 /*SIMPLETYPE*/ 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 /*SIMPLETYPE*/ pMemBlock) {
490 GlobalsPINVOKE.odrxFree(pMemBlock /*SIMPLETYPE*/);
492 }
493
494 public static UInt64 GetMemoryUsageInternalInfo(UInt32 /*SIMPLETYPE*/ target) {
495// test csout
496 /*SIMPLETYPE*/
497 UInt64 ret = GlobalsPINVOKE.GetMemoryUsageInternalInfo(target /*SIMPLETYPE*/);
499 return ret;
500 }
501
502 public static bool IsGeProtectionEnabled() {
505 return ret;
506 }
507
508 public static void EnableGeProtection(bool bVal) {
511 }
512
513 public static void odgeHeapCleanup() {
516 }
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
567 public static void odrxUnregisterDestructorCallback() {
570 }
571
572 public static OdGe.ErrorCondition geValidSolid(OdGePoint3dArray points, out bool isValid, OdGeTol tol) {
575 return ret;
576 }
577
578 public static OdGe.ErrorCondition geValidSolid(OdGePoint3dArray points, out bool isValid) {
581 return ret;
582 }
583
584 public static OdGe.ErrorCondition geSolidSignedVolume(OdGePoint3dArray points, out double volume, OdGePoint3d basePoint) {
587 return ret;
588 }
589
593 return ret;
594 }
595
599 return ret;
600 }
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
624 public static OdGe.ErrorCondition geCalculatePlane(OdGePoint3dArray points, OdGePlane plane, OdGeTol tol, bool validateCoplanar) {
627 return ret;
628 }
629
633 return ret;
634 }
635
639 return ret;
640 }
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 /*SIMPLETYPE*/ 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 /*SIMPLETYPE*/ numCurves, OdGePlane plane, OdGeTol tol) {
684 return ret;
685 }
686
687 public static OdGe.ErrorCondition geCalculatePlane(OdGeCurve3d[] /*SIMPLE_REFARRAY*/ curves, UInt32 /*SIMPLETYPE*/ 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 bool geNurb3dTo2d(OdGeNurbCurve3d nurb3d, OdGePlane plane, OdGeNurbCurve2d nurb2d, OdGeTol tol) {
696 return ret;
697 }
698
699 public static bool geNurb3dTo2d(OdGeNurbCurve3d nurb3d, OdGePlane plane, OdGeNurbCurve2d nurb2d) {
702 return ret;
703 }
704
705 public static bool geSurfaceProp(OdGeSurface pS, out OdGe.NurbSurfaceProperties propU, out OdGe.NurbSurfaceProperties propV, OdGeTol tol) {
706 bool ret = GlobalsPINVOKE.geSurfaceProp(OdGeSurface.getCPtr(pS), out propU, out propV, OdGeTol.getCPtr(tol));
708 return ret;
709 }
710
711 public static String geToString(OdGe.EntityId val) {
712 string ret = GlobalsPINVOKE.geToString((int)val);
714 return ret;
715}
716
717 public static OdResult geIsDir2dOnSurfCoincide3d(OdGeSurface pSurf, OdGeCurve3d pCurve, OdGeCurve2d pParamCurve, out bool isCoincide, OdGeTol tol) {
720 return ret;
721 }
722
723 public static OdResult geIsDir2dOnSurfCoincide3d(OdGeSurface pSurf, OdGeCurve3d pCurve, OdGeCurve2d pParamCurve, out bool isCoincide) {
726 return ret;
727 }
728
729 public static double getSignedArea(OdGePoint2dArray arrPoints) {
730 double ret = GlobalsPINVOKE.getSignedArea(OdGePoint2dArray.getCPtr(arrPoints));
732 return ret;
733 }
734
735 public static bool isPolygonOutOfRect2d(UInt32 /*SIMPLETYPE*/ numPt, OdGePoint2d pPoints, OdGePoint2d minPt, OdGePoint2d maxPt) {
736 bool ret = GlobalsPINVOKE.isPolygonOutOfRect2d(numPt /*SIMPLETYPE*/, OdGePoint2d.getCPtr(pPoints), OdGePoint2d.getCPtr(minPt), OdGePoint2d.getCPtr(maxPt));
738 return ret;
739 }
740
741 public static void GE_ERROR(OdResult res) {
742 GlobalsPINVOKE.GE_ERROR((int)res);
744 }
745
746 public static OdGeVector2d Mul(OdGeMatrix2d xfm, OdGeVector2d vect) {
749 return ret;
750 }
751
752 public static OdGeVector2d Mul(double scale, OdGeVector2d vector) {
753 OdGeVector2d ret = new OdGeVector2d(GlobalsPINVOKE.Mul__SWIG_1(scale, OdGeVector2d.getCPtr(vector).Handle), true);
755 return ret;
756 }
757
758 public static OdGeVector3d Mul(OdGeMatrix3d matrix, OdGeVector3d vect) {
761 return ret;
762 }
763
764 public static OdGeVector3d Mul(double scale, OdGeVector3d vect) {
767 return ret;
768 }
769
770 public static OdGePoint2d Mul(OdGeMatrix2d matrix, OdGePoint2d point) {
773 return ret;
774 }
775
776 public static int nOdVariantDataSize {
777 get {
780 return ret;
781 }
782 }
783
784 public static OdGePoint3d Mul(OdGeMatrix3d matrix, OdGePoint3d point) {
787 return ret;
788 }
789
790 public static OdGePoint3d Mul(double scale, OdGePoint3d point) {
793 return ret;
794 }
795
796 public static void odgiImageViewport(OdGiViewportGeometry pGeom, OdGiRasterImage pImage, OdGePoint3d pBoundary, bool bFilter, double brightness, double contrast, double fade) {
797 GlobalsPINVOKE.odgiImageViewport__SWIG_0(OdGiViewportGeometry.getCPtr(pGeom), OdGiRasterImage.getCPtr(pImage), OdGePoint3d.getCPtr(pBoundary), bFilter, brightness, contrast, fade);
799 }
800
801 public static void odgiImageViewport(OdGiViewportGeometry pGeom, OdGiRasterImage pImage, OdGePoint3d pBoundary, bool bFilter, double brightness, double contrast) {
802 GlobalsPINVOKE.odgiImageViewport__SWIG_1(OdGiViewportGeometry.getCPtr(pGeom), OdGiRasterImage.getCPtr(pImage), OdGePoint3d.getCPtr(pBoundary), bFilter, brightness, contrast);
804 }
805
806 public static void odgiImageViewport(OdGiViewportGeometry pGeom, OdGiRasterImage pImage, OdGePoint3d pBoundary, bool bFilter, double brightness) {
809 }
810
811 public static void odgiImageViewport(OdGiViewportGeometry pGeom, OdGiRasterImage pImage, OdGePoint3d pBoundary, bool bFilter) {
814 }
815
816 public static void odgiImageViewport(OdGiViewportGeometry pGeom, OdGiRasterImage pImage, OdGePoint3d pBoundary) {
819 }
820
821 public static double OdRound(double a) {
822 double ret = GlobalsPINVOKE.OdRound(a);
824 return ret;
825 }
826
827 public static int OdRoundToLong(double a) {
828 int ret = GlobalsPINVOKE.OdRoundToLong(a);
830 return ret;
831 }
832
833 public static int OdTruncateToLong(double a) {
834 int ret = GlobalsPINVOKE.OdTruncateToLong(a);
836 return ret;
837 }
838
839 public static void odDToStr(string dst, double val, char fmt, int prec, int cropzeros) {
840 GlobalsPINVOKE.odDToStr__SWIG_0(dst, val, fmt, prec, cropzeros);
842 }
843
844 public static void odDToStr(string dst, double val, char fmt, int prec) {
845 GlobalsPINVOKE.odDToStr__SWIG_1(dst, val, fmt, prec);
847 }
848
849 public static String odDToStr(double val, char fmt, int prec, int cropzeros) {
850 string ret = GlobalsPINVOKE.odDToStr__SWIG_2(val, fmt, prec, cropzeros);
852 return ret;
853}
854
855 public static String odDToStr(double val, char fmt, int prec) {
856 string ret = GlobalsPINVOKE.odDToStr__SWIG_3(val, fmt, prec);
858 return ret;
859}
860
861 public static double odStrToD(SWIGTYPE_p___wchar_t p, char[] /*SIMPLE_REFARRAY*/ ppend) {
862 double ret = GlobalsPINVOKE.odStrToD__SWIG_0(SWIGTYPE_p___wchar_t.getCPtr(p), ppend);
864 return ret;
865 }
866
867 public static double odStrToD(SWIGTYPE_p___wchar_t p) {
870 return ret;
871 }
872
873 public static double odStrToD(String arg0) {
874 double ret = GlobalsPINVOKE.odStrToD__SWIG_2(arg0);
876 return ret;
877 }
878
879 public static OdGeDoubleArray odgiGetAllDeviations(OdGiDeviation deviationObj, OdGePoint3d pointOnCurve) {
880// csout array
882
884 return res;
885}
886
888// csout array
890
892 return res;
893}
894
895 public static int getHexValue(int hexDigit) {
896 int ret = GlobalsPINVOKE.getHexValue(hexDigit);
898 return ret;
899 }
900
901 public static IntPtr kNullSubentIndex {
902 get {
903 /*SIMPLETYPE*/
906 return ret;
907 }
908 }
909
913 return ret;
914 }
915
916 public static bool odExecuteMainThreadAction(Globals.MainThreadFuncDelegate /*CS_DELEGATE_CONNECT_TYPEMAP_PART_BASE cstype*/ mtFunc, IntPtr /*SIMPLETYPE*/ pArg, bool bExecST) {
917/*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN pre csin start*/
918 Globals.MainThreadFuncDelegateNative mtFunc_inDelegate = null;
919 if (mtFunc != null)
920 {
921 mtFunc_inDelegate = (IntPtr arg1) =>
922 {
923 ;
924 try
925 {
926 mtFunc(arg1);
927 }
928 finally
929 {
930 ;
931 }
932 };
933 }
934 IntPtr mtFunc_ptr = (mtFunc == null) ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(mtFunc_inDelegate);
935 Teigha.Core.DelegateHolder.Add(mtFunc_inDelegate);
936 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN pre csin end*/
937 try {
938 bool ret = GlobalsPINVOKE.odExecuteMainThreadAction__SWIG_0(mtFunc_ptr /*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN csin*/ , pArg /*SIMPLETYPE*/, bExecST);
940 return ret;
941 } finally {
942//Empty post /*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN post csin*/
943 }
944 }
945
946 public static bool odExecuteMainThreadAction(Globals.MainThreadFuncDelegate /*CS_DELEGATE_CONNECT_TYPEMAP_PART_BASE cstype*/ mtFunc, IntPtr /*SIMPLETYPE*/ pArg) {
947/*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN pre csin start*/
948 Globals.MainThreadFuncDelegateNative mtFunc_inDelegate = null;
949 if (mtFunc != null)
950 {
951 mtFunc_inDelegate = (IntPtr arg1) =>
952 {
953 ;
954 try
955 {
956 mtFunc(arg1);
957 }
958 finally
959 {
960 ;
961 }
962 };
963 }
964 IntPtr mtFunc_ptr = (mtFunc == null) ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(mtFunc_inDelegate);
965 Teigha.Core.DelegateHolder.Add(mtFunc_inDelegate);
966 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN pre csin end*/
967 try {
968 bool ret = GlobalsPINVOKE.odExecuteMainThreadAction__SWIG_1(mtFunc_ptr /*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN csin*/ , pArg /*SIMPLETYPE*/);
970 return ret;
971 } finally {
972//Empty post /*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN post csin*/
973 }
974 }
975
976 public static uint odGetCurrentThreadId() {
979 return ret;
980 }
981
982 public static void odThreadYield() {
985 }
986
987 public static bool odgiIsValidClipBoundary(OdGePoint2dArray points) {
990 return ret;
991 }
992
993 public static void odgiEmptyClipBoundary(OdGiClipBoundary clipBoundary) {
996 }
997
998 public static OdRxObject baseDatabaseBy(OdDbStub id) {
999 OdRxObject ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),GlobalsPINVOKE.baseDatabaseBy(OdDbStub.getCPtr(id)),false); /*createInt 3_2*/
1000
1002 return ret;
1003}
1004
1008 }
1009
1013 }
1014
1015 public static bool isInvalid(ViewPropsArray props) {
1018 return ret;
1019 }
1020
1024 return ret;
1025 }
1026
1027 public static OdGiXform odgiGetModelToEyeXform(OdGiModelToViewProc pThis) {// OdGiXformPtr
1028 MemoryManager mMan = MemoryManager.GetMemoryManager();
1029 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
1031
1032 OdGiXform ret = null;
1033 if (null != mTrans)
1034 {
1035 mTrans.AddObject((OdGiXform)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiXform),ptr, true));
1036 ret = (OdGiXform)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiXform),ptr, false);
1037 }
1038 else
1039 {
1040 ret = (OdGiXform)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiXform),ptr, true);
1041 }
1042
1044 return ret;
1045}
1046
1047 public static OdGiXform odgiGetEyeToModelXform(OdGiModelToViewProc pThis) {// OdGiXformPtr
1048 MemoryManager mMan = MemoryManager.GetMemoryManager();
1049 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
1051
1052 OdGiXform ret = null;
1053 if (null != mTrans)
1054 {
1055 mTrans.AddObject((OdGiXform)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiXform),ptr, true));
1056 ret = (OdGiXform)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiXform),ptr, false);
1057 }
1058 else
1059 {
1060 ret = (OdGiXform)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiXform),ptr, true);
1061 }
1062
1064 return ret;
1065}
1066
1067 public static bool odgiIsClipped(OdGiModelToViewProc pThis) {
1070 return ret;
1071 }
1072
1073 public static void addLocalHeaps(uint nThreadId, UInt32 aThreadId) {
1074 GlobalsPINVOKE.addLocalHeaps(nThreadId, aThreadId);
1076 }
1077
1078 public static void releaseLocalHeaps(uint nThreadId, UInt32 aThreadId) {
1079 GlobalsPINVOKE.releaseLocalHeaps(nThreadId, aThreadId);
1081 }
1082
1083 public static OdGiDrawable fxOpenDrawable(OdGsBaseModel arg0, OdDbStub arg1) {// OdGiDrawablePtr
1084 MemoryManager mMan = MemoryManager.GetMemoryManager();
1085 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
1087
1088 OdGiDrawable ret = null;
1089 if (null != mTrans)
1090 {
1091 mTrans.AddObject((OdGiDrawable)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiDrawable),ptr, true));
1092 ret = (OdGiDrawable)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiDrawable),ptr, false);
1093 }
1094 else
1095 {
1096 ret = (OdGiDrawable)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiDrawable),ptr, true);
1097 }
1098
1100 return ret;
1101}
1102
1103 public static double calcFocalLength(double lensLength, double fieldWidth, double fieldHeight) {
1104 double ret = GlobalsPINVOKE.calcFocalLength(lensLength, fieldWidth, fieldHeight);
1106 return ret;
1107 }
1108
1109 public static void odgiCalculateTextBasis(OdGeVector3d u, OdGeVector3d v, OdGeVector3d normal, OdGeVector3d direction, double height, double width, double oblique, bool bMirrorX, bool bMirrorY) {
1110 GlobalsPINVOKE.odgiCalculateTextBasis__SWIG_0(OdGeVector3d.getCPtr(u), OdGeVector3d.getCPtr(v), OdGeVector3d.getCPtr(normal), OdGeVector3d.getCPtr(direction), height, width, oblique, bMirrorX, bMirrorY);
1112 }
1113
1114 public static void odgiCalculateTextBasis(OdGeVector3d u, OdGeVector3d v, OdGeVector3d normal, OdGeVector3d direction, double height, double width, double oblique, bool bMirrorX) {
1117 }
1118
1119 public static void odgiCalculateTextBasis(OdGeVector3d u, OdGeVector3d v, OdGeVector3d normal, OdGeVector3d direction, double height, double width, double oblique) {
1122 }
1123
1125 global::System.IntPtr cPtr = GlobalsPINVOKE.odgiPrepareTextStyle(OdGiTextStyle.getCPtr(pStyle), OdGiTextStyle.getCPtr(res));
1126 OdGiTextStyle ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGiTextStyle(cPtr, false);
1128 return ret;
1129 }
1130
1131 public static uint odgiGetTextExtentsCacheCapacity() {
1134 return ret;
1135 }
1136
1137 public static void odgiSetTextExtentsCacheCapacity(uint size) {
1140 }
1141
1145 return ret;
1146 }
1147
1148 public static OdGiColorRGB Add(OdGiColorRGB c, double s) {
1151 return ret;
1152 }
1153
1154 public static OdGiColorRGB Add(double s, OdGiColorRGB c) {
1157 return ret;
1158 }
1159
1163 return ret;
1164 }
1165
1166 public static OdGiColorRGB Sub(OdGiColorRGB c, double s) {
1169 return ret;
1170 }
1171
1172 public static OdGiColorRGB Sub(double s, OdGiColorRGB c) {
1175 return ret;
1176 }
1177
1181 return ret;
1182 }
1183
1184 public static OdGiColorRGB Mul(OdGiColorRGB c, double s) {
1187 return ret;
1188 }
1189
1190 public static OdGiColorRGB Mul(double s, OdGiColorRGB c) {
1193 return ret;
1194 }
1195
1199 return ret;
1200 }
1201
1202 public static OdGiColorRGB Div(OdGiColorRGB c, double s) {
1205 return ret;
1206 }
1207
1208 public static OdGiColorRGB Div(double s, OdGiColorRGB c) {
1211 return ret;
1212 }
1213
1214 public static void pointsExtents(OdGePoint2d minPt, OdGePoint2d maxPt, OdGePoint2d pt1, OdGePoint2d pt2) {
1217 }
1218
1219 public static bool extendExtents(out double minValue, out double maxValue, double value) {
1220 bool ret = GlobalsPINVOKE.extendExtents__SWIG_0(out minValue, out maxValue, value);
1222 return ret;
1223 }
1224
1225 public static bool extendExtents(OdGePoint2d minPt, OdGePoint2d maxPt, OdGePoint2d pt) {
1228 return ret;
1229 }
1230
1231 public static bool isBoxContainsPoint(OdGePoint2d minPt, OdGePoint2d maxPt, OdGePoint2d pt, OdGeTol tol) {
1234 return ret;
1235 }
1236
1237 public static bool isBoxContainsPoint(OdGePoint2d minPt, OdGePoint2d maxPt, OdGePoint2d pt) {
1240 return ret;
1241 }
1242
1243 public static OdGiDrawable fxUnderlyingDrawable(OdGsNode arg0) {// OdGiDrawablePtr
1244 MemoryManager mMan = MemoryManager.GetMemoryManager();
1245 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
1247
1248 OdGiDrawable ret = null;
1249 if (null != mTrans)
1250 {
1251 mTrans.AddObject((OdGiDrawable)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiDrawable),ptr, true));
1252 ret = (OdGiDrawable)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiDrawable),ptr, false);
1253 }
1254 else
1255 {
1256 ret = (OdGiDrawable)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiDrawable),ptr, true);
1257 }
1258
1260 return ret;
1261}
1262
1264// csout array
1266
1268 return res;
1269}
1270
1272 get {
1275 return ret;
1276 }
1277 }
1278
1279 public static bool IsEqual(OdTfVariant.Type lhs, OdVariant.Type rhs) {
1280 bool ret = GlobalsPINVOKE.IsEqual__SWIG_1((int)lhs, (int)rhs);
1282 return ret;
1283 }
1284
1285 public static bool IsNotEqual(OdTfVariant.Type lhs, OdVariant.Type rhs) {
1286 bool ret = GlobalsPINVOKE.IsNotEqual__SWIG_1((int)lhs, (int)rhs);
1288 return ret;
1289 }
1290
1291 public static bool IsEqual(OdVariant.Type lhs, OdTfVariant.Type rhs) {
1292 bool ret = GlobalsPINVOKE.IsEqual__SWIG_2((int)lhs, (int)rhs);
1294 return ret;
1295 }
1296
1297 public static bool IsNotEqual(OdVariant.Type lhs, OdTfVariant.Type rhs) {
1298 bool ret = GlobalsPINVOKE.IsNotEqual__SWIG_2((int)lhs, (int)rhs);
1300 return ret;
1301 }
1302
1304 OdRxDictionary ret = (OdRxDictionary)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxDictionary),GlobalsPINVOKE.odrxSysRegistry(),false); /*createInt 3_2*/
1305
1307 return ret;
1308}
1309
1310 public static OdRxDictionary odrxClassDictionary() {// OdRxDictionaryPtr
1311 MemoryManager mMan = MemoryManager.GetMemoryManager();
1312 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
1313 IntPtr ptr = GlobalsPINVOKE.odrxClassDictionary();
1314
1315 OdRxDictionary ret = null;
1316 if (null != mTrans)
1317 {
1318 mTrans.AddObject((OdRxDictionary)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxDictionary),ptr, true));
1319 ret = (OdRxDictionary)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxDictionary),ptr, false);
1320 }
1321 else
1322 {
1323 ret = (OdRxDictionary)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxDictionary),ptr, true);
1324 }
1325
1327 return ret;
1328}
1329
1330 public static OdRxClass odrxGetClassDesc(String className) {
1331 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),GlobalsPINVOKE.odrxGetClassDesc(className),false); /*createInt 3_2*/
1332
1334 return ret;
1335}
1336
1337 public static OdRxClass odrxSafeGetClassDesc(String className) {
1338 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),GlobalsPINVOKE.odrxSafeGetClassDesc(className),false); /*createInt 3_2*/
1339
1341 return ret;
1342}
1343
1344 public static OdRxDictionary odrxServiceDictionary() {// OdRxDictionaryPtr
1345 MemoryManager mMan = MemoryManager.GetMemoryManager();
1346 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
1348
1349 OdRxDictionary ret = null;
1350 if (null != mTrans)
1351 {
1352 mTrans.AddObject((OdRxDictionary)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxDictionary),ptr, true));
1353 ret = (OdRxDictionary)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxDictionary),ptr, false);
1354 }
1355 else
1356 {
1357 ret = (OdRxDictionary)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxDictionary),ptr, true);
1358 }
1359
1361 return ret;
1362}
1363
1364 public static OdRxDictionary odrxCreateRxDictionary() {// OdRxDictionaryPtr
1365 MemoryManager mMan = MemoryManager.GetMemoryManager();
1366 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
1368
1369 OdRxDictionary ret = null;
1370 if (null != mTrans)
1371 {
1372 mTrans.AddObject((OdRxDictionary)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxDictionary),ptr, true));
1373 ret = (OdRxDictionary)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxDictionary),ptr, false);
1374 }
1375 else
1376 {
1377 ret = (OdRxDictionary)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxDictionary),ptr, true);
1378 }
1379
1381 return ret;
1382}
1383
1384 public static OdRxDictionary odrxCreateSyncRxDictionary() {// OdRxDictionaryPtr
1385 MemoryManager mMan = MemoryManager.GetMemoryManager();
1386 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
1388
1389 OdRxDictionary ret = null;
1390 if (null != mTrans)
1391 {
1392 mTrans.AddObject((OdRxDictionary)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxDictionary),ptr, true));
1393 ret = (OdRxDictionary)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxDictionary),ptr, false);
1394 }
1395 else
1396 {
1397 ret = (OdRxDictionary)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxDictionary),ptr, true);
1398 }
1399
1401 return ret;
1402}
1403
1404 public static OdGeNurbSurface convertFrom(OdGeSurface source, OdGeTol tol, bool sameParametrization) {
1405 global::System.IntPtr cPtr = GlobalsPINVOKE.convertFrom__SWIG_0(OdGeSurface.getCPtr(source), OdGeTol.getCPtr(tol), sameParametrization);
1406 OdGeNurbSurface ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeNurbSurface(cPtr, false);
1408 return ret;
1409 }
1410
1411 public static OdGeNurbSurface convertFrom(OdGeSurface source, OdGeTol tol) {
1412 global::System.IntPtr cPtr = GlobalsPINVOKE.convertFrom__SWIG_1(OdGeSurface.getCPtr(source), OdGeTol.getCPtr(tol));
1413 OdGeNurbSurface ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeNurbSurface(cPtr, false);
1415 return ret;
1416 }
1417
1419 global::System.IntPtr cPtr = GlobalsPINVOKE.convertFrom__SWIG_2(OdGeSurface.getCPtr(source));
1420 OdGeNurbSurface ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeNurbSurface(cPtr, false);
1422 return ret;
1423 }
1424
1425 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) {
1426/*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin start*/
1427 Globals.OdTfAttributesConstructorTypeDelegateNative pAttrsConstr_inDelegate = null;
1428 if (pAttrsConstr != null)
1429 {
1430 pAttrsConstr_inDelegate = (IntPtr arg) =>
1431 {
1432 ;
1433 try
1434 {
1435 return OdMarshalHelper.ObjectToPtr<OdTfAttributePtrArray>(pAttrsConstr(OdMarshalHelper.PtrToObject<OdRxObject>(arg)));
1436 }
1437 finally
1438 {
1439 ;
1440 }
1441 };
1442 }
1443 IntPtr pAttrsConstr_ptr = (pAttrsConstr == null) ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(pAttrsConstr_inDelegate);
1444 Teigha.Core.DelegateHolder.Add(pAttrsConstr_inDelegate);
1445 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin end*/
1446/*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin start*/
1447 Globals.OdTfPropertiesConstructorTypeDelegateNative pPropsConstr_inDelegate = null;
1448 if (pPropsConstr != null)
1449 {
1450 pPropsConstr_inDelegate = (IntPtr arg) =>
1451 {
1452 ;
1453 try
1454 {
1455 return OdMarshalHelper.ObjectToPtr<OdTfPropertyPtrArray>(pPropsConstr(OdMarshalHelper.PtrToObject<OdTfClass>(arg)));
1456 }
1457 finally
1458 {
1459 ;
1460 }
1461 };
1462 }
1463 IntPtr pPropsConstr_ptr = (pPropsConstr == null) ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(pPropsConstr_inDelegate);
1464 Teigha.Core.DelegateHolder.Add(pPropsConstr_inDelegate);
1465 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin end*/
1466/*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin start*/
1467 Globals.OdPseudoConstructorTypeDelegateNative pConstr_inDelegate = null;
1468 if (pConstr != null)
1469 {
1470 pConstr_inDelegate = () =>
1471 {
1472 ;
1473 try
1474 {
1475 return OdMarshalHelper.ObjectToPtr<OdRxObject>(pConstr());
1476 }
1477 finally
1478 {
1479 ;
1480 }
1481 };
1482 }
1483 IntPtr pConstr_ptr = (pConstr == null) ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(pConstr_inDelegate);
1484 Teigha.Core.DelegateHolder.Add(pConstr_inDelegate);
1485 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin end*/
1486 try {
1487 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*/
1488
1490 return ret;
1491} finally {
1492//Empty post /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN post csin*/
1493//Empty post /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN post csin*/
1494//Empty post /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN post csin*/
1495 }
1496 }
1497
1498 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) {
1499/*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin start*/
1500 Globals.OdTfAttributesConstructorTypeDelegateNative pAttrsConstr_inDelegate = null;
1501 if (pAttrsConstr != null)
1502 {
1503 pAttrsConstr_inDelegate = (IntPtr arg) =>
1504 {
1505 ;
1506 try
1507 {
1508 return OdMarshalHelper.ObjectToPtr<OdTfAttributePtrArray>(pAttrsConstr(OdMarshalHelper.PtrToObject<OdRxObject>(arg)));
1509 }
1510 finally
1511 {
1512 ;
1513 }
1514 };
1515 }
1516 IntPtr pAttrsConstr_ptr = (pAttrsConstr == null) ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(pAttrsConstr_inDelegate);
1517 Teigha.Core.DelegateHolder.Add(pAttrsConstr_inDelegate);
1518 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin end*/
1519/*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin start*/
1520 Globals.OdTfPropertiesConstructorTypeDelegateNative pPropsConstr_inDelegate = null;
1521 if (pPropsConstr != null)
1522 {
1523 pPropsConstr_inDelegate = (IntPtr arg) =>
1524 {
1525 ;
1526 try
1527 {
1528 return OdMarshalHelper.ObjectToPtr<OdTfPropertyPtrArray>(pPropsConstr(OdMarshalHelper.PtrToObject<OdTfClass>(arg)));
1529 }
1530 finally
1531 {
1532 ;
1533 }
1534 };
1535 }
1536 IntPtr pPropsConstr_ptr = (pPropsConstr == null) ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(pPropsConstr_inDelegate);
1537 Teigha.Core.DelegateHolder.Add(pPropsConstr_inDelegate);
1538 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin end*/
1539/*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin start*/
1540 Globals.OdPseudoConstructorTypeDelegateNative pConstr_inDelegate = null;
1541 if (pConstr != null)
1542 {
1543 pConstr_inDelegate = () =>
1544 {
1545 ;
1546 try
1547 {
1548 return OdMarshalHelper.ObjectToPtr<OdRxObject>(pConstr());
1549 }
1550 finally
1551 {
1552 ;
1553 }
1554 };
1555 }
1556 IntPtr pConstr_ptr = (pConstr == null) ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(pConstr_inDelegate);
1557 Teigha.Core.DelegateHolder.Add(pConstr_inDelegate);
1558 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin end*/
1559 try {
1560 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*/
1561
1563 return ret;
1564} finally {
1565//Empty post /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN post csin*/
1566//Empty post /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN post csin*/
1567//Empty post /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN post csin*/
1568 }
1569 }
1570
1571 public static OdTfClass createOdTfClass() {
1572 OdTfClass ret = (OdTfClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdTfClass),GlobalsPINVOKE.createOdTfClass(),false); /*createInt 3_2*/
1573
1575 return ret;
1576}
1577
1578 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) {
1579/*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin start*/
1580 Globals.OdPseudoConstructorTypeDelegateNative pConstr_inDelegate = null;
1581 if (pConstr != null)
1582 {
1583 pConstr_inDelegate = () =>
1584 {
1585 ;
1586 try
1587 {
1588 return OdMarshalHelper.ObjectToPtr<OdRxObject>(pConstr());
1589 }
1590 finally
1591 {
1592 ;
1593 }
1594 };
1595 }
1596 IntPtr pConstr_ptr = (pConstr == null) ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(pConstr_inDelegate);
1597 Teigha.Core.DelegateHolder.Add(pConstr_inDelegate);
1598 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin end*/
1599 try {
1600 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*/
1601
1603 return ret;
1604} finally {
1605//Empty post /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN post csin*/
1606 }
1607 }
1608
1609 public static OdTfClass initOdTfClass(OdTfClass pClass, String name, OdRxClass pBaseClass, OdTfAttributePtrArray attributes, OdTfPropertyPtrArray properties, Globals.OdPseudoConstructorTypeDelegate /*CS_DELEGATE_CONNECT_TYPEMAP_PART_BASE cstype*/ pConstr) {
1610/*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin start*/
1611 Globals.OdPseudoConstructorTypeDelegateNative pConstr_inDelegate = null;
1612 if (pConstr != null)
1613 {
1614 pConstr_inDelegate = () =>
1615 {
1616 ;
1617 try
1618 {
1619 return OdMarshalHelper.ObjectToPtr<OdRxObject>(pConstr());
1620 }
1621 finally
1622 {
1623 ;
1624 }
1625 };
1626 }
1627 IntPtr pConstr_ptr = (pConstr == null) ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(pConstr_inDelegate);
1628 Teigha.Core.DelegateHolder.Add(pConstr_inDelegate);
1629 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin end*/
1630 try {
1631 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*/
1632
1634 return ret;
1635} finally {
1636//Empty post /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN post csin*/
1637 }
1638 }
1639
1640 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) {
1641/*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin start*/
1642 Globals.OdTfAttributesConstructorTypeDelegateNative pAttrsConstr_inDelegate = null;
1643 if (pAttrsConstr != null)
1644 {
1645 pAttrsConstr_inDelegate = (IntPtr arg) =>
1646 {
1647 ;
1648 try
1649 {
1650 return OdMarshalHelper.ObjectToPtr<OdTfAttributePtrArray>(pAttrsConstr(OdMarshalHelper.PtrToObject<OdRxObject>(arg)));
1651 }
1652 finally
1653 {
1654 ;
1655 }
1656 };
1657 }
1658 IntPtr pAttrsConstr_ptr = (pAttrsConstr == null) ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(pAttrsConstr_inDelegate);
1659 Teigha.Core.DelegateHolder.Add(pAttrsConstr_inDelegate);
1660 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin end*/
1661/*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin start*/
1662 Globals.OdTfVariantConstructorTypeDelegateNative pDefaultValueConstructor_inDelegate = null;
1663 if (pDefaultValueConstructor != null)
1664 {
1665 pDefaultValueConstructor_inDelegate = () =>
1666 {
1667 ;
1668 try
1669 {
1670 return OdMarshalHelper.ObjectToPtr<OdTfVariant>(pDefaultValueConstructor());
1671 }
1672 finally
1673 {
1674 ;
1675 }
1676 };
1677 }
1678 IntPtr pDefaultValueConstructor_ptr = (pDefaultValueConstructor == null) ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(pDefaultValueConstructor_inDelegate);
1679 Teigha.Core.DelegateHolder.Add(pDefaultValueConstructor_inDelegate);
1680 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin end*/
1681/*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin start*/
1682 Globals.OdTfPropertyGetterTypeDelegateNative pGetter_inDelegate = null;
1683 if (pGetter != null)
1684 {
1685 pGetter_inDelegate = (IntPtr arg1,IntPtr arg2) =>
1686 {
1687 ;
1688 try
1689 {
1690 return (pGetter(OdMarshalHelper.PtrToObject<OdTfObject>(arg1),OdMarshalHelper.PtrToObject<OdTfVariant>(arg2)));
1691 }
1692 finally
1693 {
1694 ;
1695 }
1696 };
1697 }
1698 IntPtr pGetter_ptr = (pGetter == null) ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(pGetter_inDelegate);
1699 Teigha.Core.DelegateHolder.Add(pGetter_inDelegate);
1700 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin end*/
1701/*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin start*/
1702 Globals.OdTfPropertySetterTypeDelegateNative pSetter_inDelegate = null;
1703 if (pSetter != null)
1704 {
1705 pSetter_inDelegate = (IntPtr arg1,IntPtr arg2) =>
1706 {
1707 ;
1708 try
1709 {
1710 return (pSetter(OdMarshalHelper.PtrToObject<OdTfObject>(arg1),OdMarshalHelper.PtrToObject<OdTfVariant>(arg2)));
1711 }
1712 finally
1713 {
1714 ;
1715 }
1716 };
1717 }
1718 IntPtr pSetter_ptr = (pSetter == null) ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(pSetter_inDelegate);
1719 Teigha.Core.DelegateHolder.Add(pSetter_inDelegate);
1720 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin end*/
1721 try {
1722 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*/
1723
1725 return ret;
1726} finally {
1727//Empty post /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN post csin*/
1728//Empty post /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN post csin*/
1729//Empty post /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN post csin*/
1730//Empty post /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN post csin*/
1731 }
1732 }
1733
1735 OdTfProperty ret = (OdTfProperty)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdTfProperty),GlobalsPINVOKE.createOdTfProperty(),false); /*createInt 3_2*/
1736
1738 return ret;
1739}
1740
1741 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) {
1742/*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin start*/
1743 Globals.OdTfVariantConstructorTypeDelegateNative pDefaultValueConstructor_inDelegate = null;
1744 if (pDefaultValueConstructor != null)
1745 {
1746 pDefaultValueConstructor_inDelegate = () =>
1747 {
1748 ;
1749 try
1750 {
1751 return OdMarshalHelper.ObjectToPtr<OdTfVariant>(pDefaultValueConstructor());
1752 }
1753 finally
1754 {
1755 ;
1756 }
1757 };
1758 }
1759 IntPtr pDefaultValueConstructor_ptr = (pDefaultValueConstructor == null) ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(pDefaultValueConstructor_inDelegate);
1760 Teigha.Core.DelegateHolder.Add(pDefaultValueConstructor_inDelegate);
1761 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin end*/
1762/*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin start*/
1763 Globals.OdTfPropertyGetterTypeDelegateNative pGetter_inDelegate = null;
1764 if (pGetter != null)
1765 {
1766 pGetter_inDelegate = (IntPtr arg1,IntPtr arg2) =>
1767 {
1768 ;
1769 try
1770 {
1771 return (pGetter(OdMarshalHelper.PtrToObject<OdTfObject>(arg1),OdMarshalHelper.PtrToObject<OdTfVariant>(arg2)));
1772 }
1773 finally
1774 {
1775 ;
1776 }
1777 };
1778 }
1779 IntPtr pGetter_ptr = (pGetter == null) ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(pGetter_inDelegate);
1780 Teigha.Core.DelegateHolder.Add(pGetter_inDelegate);
1781 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin end*/
1782/*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin start*/
1783 Globals.OdTfPropertySetterTypeDelegateNative pSetter_inDelegate = null;
1784 if (pSetter != null)
1785 {
1786 pSetter_inDelegate = (IntPtr arg1,IntPtr arg2) =>
1787 {
1788 ;
1789 try
1790 {
1791 return (pSetter(OdMarshalHelper.PtrToObject<OdTfObject>(arg1),OdMarshalHelper.PtrToObject<OdTfVariant>(arg2)));
1792 }
1793 finally
1794 {
1795 ;
1796 }
1797 };
1798 }
1799 IntPtr pSetter_ptr = (pSetter == null) ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(pSetter_inDelegate);
1800 Teigha.Core.DelegateHolder.Add(pSetter_inDelegate);
1801 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin end*/
1802 try {
1803 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*/
1804
1806 return ret;
1807} finally {
1808//Empty post /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN post csin*/
1809//Empty post /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN post csin*/
1810//Empty post /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN post csin*/
1811 }
1812 }
1813
1815 OdTfAttribute ret = (OdTfAttribute)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdTfAttribute),GlobalsPINVOKE.newOdTfAttribute(name, OdRxObject.getCPtr(pOwner), OdTfVariant.getCPtr(value)),false); /*createInt 3_2*/
1816
1818 return ret;
1819}
1820
1822 OdRxDynamicLinker ret = (OdRxDynamicLinker)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxDynamicLinker),GlobalsPINVOKE.odrxDynamicLinker(),false); /*createInt 3_2*/
1823
1825 return ret;
1826}
1827
1828 public static OdRxModule odrxLoadApp(String applicationName) {// OdRxModulePtr
1829 MemoryManager mMan = MemoryManager.GetMemoryManager();
1830 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
1831 IntPtr ptr = GlobalsPINVOKE.odrxLoadApp(applicationName);
1832
1833 OdRxModule ret = null;
1834 if (null != mTrans)
1835 {
1836 mTrans.AddObject((OdRxModule)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxModule),ptr, true));
1837 ret = (OdRxModule)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxModule),ptr, false);
1838 }
1839 else
1840 {
1841 ret = (OdRxModule)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxModule),ptr, true);
1842 }
1843
1845 return ret;
1846}
1847
1848 public static OdRxModule odrxSafeLoadApp(String applicationName) {// OdRxModulePtr
1849 MemoryManager mMan = MemoryManager.GetMemoryManager();
1850 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
1851 IntPtr ptr = GlobalsPINVOKE.odrxSafeLoadApp(applicationName);
1852
1853 OdRxModule ret = null;
1854 if (null != mTrans)
1855 {
1856 mTrans.AddObject((OdRxModule)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxModule),ptr, true));
1857 ret = (OdRxModule)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxModule),ptr, false);
1858 }
1859 else
1860 {
1861 ret = (OdRxModule)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxModule),ptr, true);
1862 }
1863
1865 return ret;
1866}
1867
1869 {
1872 return ret;
1873 }
1874
1875
1877 global::System.IntPtr cPtr = GlobalsPINVOKE.odgsGetGsCacheRedirectionManager();
1878 SWIGTYPE_p_OdGsCacheRedirectionManager ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_OdGsCacheRedirectionManager(cPtr, false);
1880 return ret;
1881 }
1882
1883 public static UInt32 odrxMultiCast(OdRxObject pObject, out OdRxObject pPointers, OdRxClass pClasses, UInt32 /*SIMPLETYPE*/ nClasses) {
1884// test csout
1885 /*SIMPLETYPE*/
1886 UInt32 ret = GlobalsPINVOKE.odrxMultiCast(OdRxObject.getCPtr(pObject), out pPointers, OdRxClass.getCPtr(pClasses).Handle, nClasses /*SIMPLETYPE*/);
1888 return ret;
1889 }
1890
1891 public static UInt32 odrxMultiCastObject(OdRxObject pObject, bool /*SIMPLETYPE*/ pCasts, OdRxClass pClasses, UInt32 /*SIMPLETYPE*/ nClasses) {
1892// test csout
1893 /*SIMPLETYPE*/
1894 UInt32 ret = GlobalsPINVOKE.odrxMultiCastObject(OdRxObject.getCPtr(pObject), pCasts /*SIMPLETYPE*/, OdRxClass.getCPtr(pClasses).Handle, nClasses /*SIMPLETYPE*/);
1896 return ret;
1897 }
1898
1899 public static UInt32 odrxMultiCastX(OdRxObject pObject, out OdRxObject pPointers, OdRxClass pClasses, UInt32 /*SIMPLETYPE*/ nClasses) {
1900// test csout
1901 /*SIMPLETYPE*/
1902 UInt32 ret = GlobalsPINVOKE.odrxMultiCastX(OdRxObject.getCPtr(pObject), out pPointers, OdRxClass.getCPtr(pClasses).Handle, nClasses /*SIMPLETYPE*/);
1904 return ret;
1905 }
1906
1907 public static UInt32 odrxMultiCastFwd_(OdRxClass pClass, OdRxObject pObject, ref OdRxObject /*OUT_PARAM for SMARTPTR*/ pPointer, OdRxClass pClasses, UInt32 /*SIMPLETYPE*/ nClasses) {
1908 /*OUT_PARAM for SMARTPTR pre*/ IntPtr tmp_pPointer = pPointer == null ? IntPtr.Zero : OdRxObject.getCPtr(pPointer).Handle;
1909 IntPtr saved_pPointer = tmp_pPointer;
1910 /*OUT_PARAM for SMARTPTR pre*/
1911 try {
1912// test csout
1913 /*SIMPLETYPE*/
1914 UInt32 ret = GlobalsPINVOKE.odrxMultiCastFwd_(OdRxClass.getCPtr(pClass), OdRxObject.getCPtr(pObject), ref tmp_pPointer /*OUT_PARAM for SMARTPTR*/, OdRxClass.getCPtr(pClasses).Handle, nClasses /*SIMPLETYPE*/);
1916 return ret;
1917 } finally {
1918if(tmp_pPointer == IntPtr.Zero) pPointer = null;
1919 if(tmp_pPointer != IntPtr.Zero && tmp_pPointer != saved_pPointer)
1920 {
1921 MemoryTransaction mTrans_pPointer = MemoryManager.GetMemoryManager().GetCurrentTransaction();
1922 if(mTrans_pPointer != null)
1923 mTrans_pPointer.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdRxObject>(typeof(OdRxObject), tmp_pPointer, true));
1924 pPointer = Teigha.Core.Helpers.odCreateObjectInternal<OdRxObject>(typeof(OdRxObject), tmp_pPointer, mTrans_pPointer == null);
1925 /*OUT_PARAM for SMARTPTR*/
1926 }
1927 }
1928 }
1929
1930 public static UInt32 odrxMultiCastFwd(OdRxObject pObject, ref OdRxObject /*OUT_PARAM for SMARTPTR*/ pPointer, OdRxClass pClasses, UInt32 /*SIMPLETYPE*/ nClasses) {
1931 /*OUT_PARAM for SMARTPTR pre*/ IntPtr tmp_pPointer = pPointer == null ? IntPtr.Zero : OdRxObject.getCPtr(pPointer).Handle;
1932 IntPtr saved_pPointer = tmp_pPointer;
1933 /*OUT_PARAM for SMARTPTR pre*/
1934 try {
1935// test csout
1936 /*SIMPLETYPE*/
1937 UInt32 ret = GlobalsPINVOKE.odrxMultiCastFwd(OdRxObject.getCPtr(pObject), ref tmp_pPointer /*OUT_PARAM for SMARTPTR*/, OdRxClass.getCPtr(pClasses).Handle, nClasses /*SIMPLETYPE*/);
1939 return ret;
1940 } finally {
1941if(tmp_pPointer == IntPtr.Zero) pPointer = null;
1942 if(tmp_pPointer != IntPtr.Zero && tmp_pPointer != saved_pPointer)
1943 {
1944 MemoryTransaction mTrans_pPointer = MemoryManager.GetMemoryManager().GetCurrentTransaction();
1945 if(mTrans_pPointer != null)
1946 mTrans_pPointer.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdRxObject>(typeof(OdRxObject), tmp_pPointer, true));
1947 pPointer = Teigha.Core.Helpers.odCreateObjectInternal<OdRxObject>(typeof(OdRxObject), tmp_pPointer, mTrans_pPointer == null);
1948 /*OUT_PARAM for SMARTPTR*/
1949 }
1950 }
1951 }
1952
1953 public static UInt32 odrxMultiCastFwdXPrior_(OdRxClass pClass, OdRxObject pObject, ref OdRxObject /*OUT_PARAM for SMARTPTR*/ pPointer, OdRxClass pClasses, UInt32 /*SIMPLETYPE*/ nClasses) {
1954 /*OUT_PARAM for SMARTPTR pre*/ IntPtr tmp_pPointer = pPointer == null ? IntPtr.Zero : OdRxObject.getCPtr(pPointer).Handle;
1955 IntPtr saved_pPointer = tmp_pPointer;
1956 /*OUT_PARAM for SMARTPTR pre*/
1957 try {
1958// test csout
1959 /*SIMPLETYPE*/
1960 UInt32 ret = GlobalsPINVOKE.odrxMultiCastFwdXPrior_(OdRxClass.getCPtr(pClass), OdRxObject.getCPtr(pObject), ref tmp_pPointer /*OUT_PARAM for SMARTPTR*/, OdRxClass.getCPtr(pClasses).Handle, nClasses /*SIMPLETYPE*/);
1962 return ret;
1963 } finally {
1964if(tmp_pPointer == IntPtr.Zero) pPointer = null;
1965 if(tmp_pPointer != IntPtr.Zero && tmp_pPointer != saved_pPointer)
1966 {
1967 MemoryTransaction mTrans_pPointer = MemoryManager.GetMemoryManager().GetCurrentTransaction();
1968 if(mTrans_pPointer != null)
1969 mTrans_pPointer.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdRxObject>(typeof(OdRxObject), tmp_pPointer, true));
1970 pPointer = Teigha.Core.Helpers.odCreateObjectInternal<OdRxObject>(typeof(OdRxObject), tmp_pPointer, mTrans_pPointer == null);
1971 /*OUT_PARAM for SMARTPTR*/
1972 }
1973 }
1974 }
1975
1976 public static UInt32 odrxMultiCastFwdXPrior(OdRxObject pObject, ref OdRxObject /*OUT_PARAM for SMARTPTR*/ pPointer, OdRxClass pClasses, UInt32 /*SIMPLETYPE*/ nClasses) {
1977 /*OUT_PARAM for SMARTPTR pre*/ IntPtr tmp_pPointer = pPointer == null ? IntPtr.Zero : OdRxObject.getCPtr(pPointer).Handle;
1978 IntPtr saved_pPointer = tmp_pPointer;
1979 /*OUT_PARAM for SMARTPTR pre*/
1980 try {
1981// test csout
1982 /*SIMPLETYPE*/
1983 UInt32 ret = GlobalsPINVOKE.odrxMultiCastFwdXPrior(OdRxObject.getCPtr(pObject), ref tmp_pPointer /*OUT_PARAM for SMARTPTR*/, OdRxClass.getCPtr(pClasses).Handle, nClasses /*SIMPLETYPE*/);
1985 return ret;
1986 } finally {
1987if(tmp_pPointer == IntPtr.Zero) pPointer = null;
1988 if(tmp_pPointer != IntPtr.Zero && tmp_pPointer != saved_pPointer)
1989 {
1990 MemoryTransaction mTrans_pPointer = MemoryManager.GetMemoryManager().GetCurrentTransaction();
1991 if(mTrans_pPointer != null)
1992 mTrans_pPointer.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdRxObject>(typeof(OdRxObject), tmp_pPointer, true));
1993 pPointer = Teigha.Core.Helpers.odCreateObjectInternal<OdRxObject>(typeof(OdRxObject), tmp_pPointer, mTrans_pPointer == null);
1994 /*OUT_PARAM for SMARTPTR*/
1995 }
1996 }
1997 }
1998
1999 public static UInt32 odrxMultiCastFwdObject_(OdRxClass pClass, OdRxObject pObject, OdRxClass pClasses, UInt32 /*SIMPLETYPE*/ nClasses) {
2000// test csout
2001 /*SIMPLETYPE*/
2002 UInt32 ret = GlobalsPINVOKE.odrxMultiCastFwdObject_(OdRxClass.getCPtr(pClass), OdRxObject.getCPtr(pObject), OdRxClass.getCPtr(pClasses).Handle, nClasses /*SIMPLETYPE*/);
2004 return ret;
2005 }
2006
2007 public static UInt32 odrxMultiCastFwdObject(OdRxObject pObject, OdRxClass pClasses, UInt32 /*SIMPLETYPE*/ nClasses) {
2008// test csout
2009 /*SIMPLETYPE*/
2010 UInt32 ret = GlobalsPINVOKE.odrxMultiCastFwdObject(OdRxObject.getCPtr(pObject), OdRxClass.getCPtr(pClasses).Handle, nClasses /*SIMPLETYPE*/);
2012 return ret;
2013 }
2014
2015 public static UInt32 odrxMultiCastFwdX_(OdRxClass pClass, OdRxObject pObject, ref OdRxObject /*OUT_PARAM for SMARTPTR*/ pPointer, OdRxClass pClasses, UInt32 /*SIMPLETYPE*/ nClasses) {
2016 /*OUT_PARAM for SMARTPTR pre*/ IntPtr tmp_pPointer = pPointer == null ? IntPtr.Zero : OdRxObject.getCPtr(pPointer).Handle;
2017 IntPtr saved_pPointer = tmp_pPointer;
2018 /*OUT_PARAM for SMARTPTR pre*/
2019 try {
2020// test csout
2021 /*SIMPLETYPE*/
2022 UInt32 ret = GlobalsPINVOKE.odrxMultiCastFwdX_(OdRxClass.getCPtr(pClass), OdRxObject.getCPtr(pObject), ref tmp_pPointer /*OUT_PARAM for SMARTPTR*/, OdRxClass.getCPtr(pClasses).Handle, nClasses /*SIMPLETYPE*/);
2024 return ret;
2025 } finally {
2026if(tmp_pPointer == IntPtr.Zero) pPointer = null;
2027 if(tmp_pPointer != IntPtr.Zero && tmp_pPointer != saved_pPointer)
2028 {
2029 MemoryTransaction mTrans_pPointer = MemoryManager.GetMemoryManager().GetCurrentTransaction();
2030 if(mTrans_pPointer != null)
2031 mTrans_pPointer.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdRxObject>(typeof(OdRxObject), tmp_pPointer, true));
2032 pPointer = Teigha.Core.Helpers.odCreateObjectInternal<OdRxObject>(typeof(OdRxObject), tmp_pPointer, mTrans_pPointer == null);
2033 /*OUT_PARAM for SMARTPTR*/
2034 }
2035 }
2036 }
2037
2038 public static UInt32 odrxMultiCastFwdX(OdRxObject pObject, ref OdRxObject /*OUT_PARAM for SMARTPTR*/ pPointer, OdRxClass pClasses, UInt32 /*SIMPLETYPE*/ nClasses) {
2039 /*OUT_PARAM for SMARTPTR pre*/ IntPtr tmp_pPointer = pPointer == null ? IntPtr.Zero : OdRxObject.getCPtr(pPointer).Handle;
2040 IntPtr saved_pPointer = tmp_pPointer;
2041 /*OUT_PARAM for SMARTPTR pre*/
2042 try {
2043// test csout
2044 /*SIMPLETYPE*/
2045 UInt32 ret = GlobalsPINVOKE.odrxMultiCastFwdX(OdRxObject.getCPtr(pObject), ref tmp_pPointer /*OUT_PARAM for SMARTPTR*/, OdRxClass.getCPtr(pClasses).Handle, nClasses /*SIMPLETYPE*/);
2047 return ret;
2048 } finally {
2049if(tmp_pPointer == IntPtr.Zero) pPointer = null;
2050 if(tmp_pPointer != IntPtr.Zero && tmp_pPointer != saved_pPointer)
2051 {
2052 MemoryTransaction mTrans_pPointer = MemoryManager.GetMemoryManager().GetCurrentTransaction();
2053 if(mTrans_pPointer != null)
2054 mTrans_pPointer.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdRxObject>(typeof(OdRxObject), tmp_pPointer, true));
2055 pPointer = Teigha.Core.Helpers.odCreateObjectInternal<OdRxObject>(typeof(OdRxObject), tmp_pPointer, mTrans_pPointer == null);
2056 /*OUT_PARAM for SMARTPTR*/
2057 }
2058 }
2059 }
2060
2061 public static UInt32 odrxMultiCastBk(OdRxObject pObject, ref OdRxObject /*OUT_PARAM for SMARTPTR*/ pPointer, OdRxClass pClasses, UInt32 /*SIMPLETYPE*/ nClasses) {
2062 /*OUT_PARAM for SMARTPTR pre*/ IntPtr tmp_pPointer = pPointer == null ? IntPtr.Zero : OdRxObject.getCPtr(pPointer).Handle;
2063 IntPtr saved_pPointer = tmp_pPointer;
2064 /*OUT_PARAM for SMARTPTR pre*/
2065 try {
2066// test csout
2067 /*SIMPLETYPE*/
2068 UInt32 ret = GlobalsPINVOKE.odrxMultiCastBk(OdRxObject.getCPtr(pObject), ref tmp_pPointer /*OUT_PARAM for SMARTPTR*/, OdRxClass.getCPtr(pClasses).Handle, nClasses /*SIMPLETYPE*/);
2070 return ret;
2071 } finally {
2072if(tmp_pPointer == IntPtr.Zero) pPointer = null;
2073 if(tmp_pPointer != IntPtr.Zero && tmp_pPointer != saved_pPointer)
2074 {
2075 MemoryTransaction mTrans_pPointer = MemoryManager.GetMemoryManager().GetCurrentTransaction();
2076 if(mTrans_pPointer != null)
2077 mTrans_pPointer.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdRxObject>(typeof(OdRxObject), tmp_pPointer, true));
2078 pPointer = Teigha.Core.Helpers.odCreateObjectInternal<OdRxObject>(typeof(OdRxObject), tmp_pPointer, mTrans_pPointer == null);
2079 /*OUT_PARAM for SMARTPTR*/
2080 }
2081 }
2082 }
2083
2084 public static UInt32 odrxMultiCastBkXPrior(OdRxObject pObject, ref OdRxObject /*OUT_PARAM for SMARTPTR*/ pPointer, OdRxClass pClasses, UInt32 /*SIMPLETYPE*/ nClasses) {
2085 /*OUT_PARAM for SMARTPTR pre*/ IntPtr tmp_pPointer = pPointer == null ? IntPtr.Zero : OdRxObject.getCPtr(pPointer).Handle;
2086 IntPtr saved_pPointer = tmp_pPointer;
2087 /*OUT_PARAM for SMARTPTR pre*/
2088 try {
2089// test csout
2090 /*SIMPLETYPE*/
2091 UInt32 ret = GlobalsPINVOKE.odrxMultiCastBkXPrior(OdRxObject.getCPtr(pObject), ref tmp_pPointer /*OUT_PARAM for SMARTPTR*/, OdRxClass.getCPtr(pClasses).Handle, nClasses /*SIMPLETYPE*/);
2093 return ret;
2094 } finally {
2095if(tmp_pPointer == IntPtr.Zero) pPointer = null;
2096 if(tmp_pPointer != IntPtr.Zero && tmp_pPointer != saved_pPointer)
2097 {
2098 MemoryTransaction mTrans_pPointer = MemoryManager.GetMemoryManager().GetCurrentTransaction();
2099 if(mTrans_pPointer != null)
2100 mTrans_pPointer.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdRxObject>(typeof(OdRxObject), tmp_pPointer, true));
2101 pPointer = Teigha.Core.Helpers.odCreateObjectInternal<OdRxObject>(typeof(OdRxObject), tmp_pPointer, mTrans_pPointer == null);
2102 /*OUT_PARAM for SMARTPTR*/
2103 }
2104 }
2105 }
2106
2107 public static UInt32 odrxMultiCastBkObject(OdRxObject pObject, OdRxClass pClasses, UInt32 /*SIMPLETYPE*/ nClasses) {
2108// test csout
2109 /*SIMPLETYPE*/
2110 UInt32 ret = GlobalsPINVOKE.odrxMultiCastBkObject(OdRxObject.getCPtr(pObject), OdRxClass.getCPtr(pClasses).Handle, nClasses /*SIMPLETYPE*/);
2112 return ret;
2113 }
2114
2115 public static UInt32 odrxMultiCastBkX(OdRxObject pObject, ref OdRxObject /*OUT_PARAM for SMARTPTR*/ pPointer, OdRxClass pClasses, UInt32 /*SIMPLETYPE*/ nClasses) {
2116 /*OUT_PARAM for SMARTPTR pre*/ IntPtr tmp_pPointer = pPointer == null ? IntPtr.Zero : OdRxObject.getCPtr(pPointer).Handle;
2117 IntPtr saved_pPointer = tmp_pPointer;
2118 /*OUT_PARAM for SMARTPTR pre*/
2119 try {
2120// test csout
2121 /*SIMPLETYPE*/
2122 UInt32 ret = GlobalsPINVOKE.odrxMultiCastBkX(OdRxObject.getCPtr(pObject), ref tmp_pPointer /*OUT_PARAM for SMARTPTR*/, OdRxClass.getCPtr(pClasses).Handle, nClasses /*SIMPLETYPE*/);
2124 return ret;
2125 } finally {
2126if(tmp_pPointer == IntPtr.Zero) pPointer = null;
2127 if(tmp_pPointer != IntPtr.Zero && tmp_pPointer != saved_pPointer)
2128 {
2129 MemoryTransaction mTrans_pPointer = MemoryManager.GetMemoryManager().GetCurrentTransaction();
2130 if(mTrans_pPointer != null)
2131 mTrans_pPointer.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdRxObject>(typeof(OdRxObject), tmp_pPointer, true));
2132 pPointer = Teigha.Core.Helpers.odCreateObjectInternal<OdRxObject>(typeof(OdRxObject), tmp_pPointer, mTrans_pPointer == null);
2133 /*OUT_PARAM for SMARTPTR*/
2134 }
2135 }
2136 }
2137
2138 public static bool odrxInitialize(OdRxSystemServices pSysSvcs) {
2141 return ret;
2142 }
2143
2144 public static void odrxUninitialize() {
2147 }
2148
2149 public static void odActivate(String userInfo, String userSignature) {
2150 GlobalsPINVOKE.odActivate(userInfo, userSignature);
2152 }
2153
2154 public static void odCleanUpStaticData() {
2157 }
2158
2159 public static bool odutWcMatch(String string_, String wcPattern) {
2160 bool ret = GlobalsPINVOKE.odutWcMatch__SWIG_0(string_, wcPattern);
2162 return ret;
2163 }
2164
2165 public static bool odutWcMatchNoCase(String string_, String wcPattern) {
2166 bool ret = GlobalsPINVOKE.odutWcMatchNoCase(string_, wcPattern);
2168 return ret;
2169 }
2170
2171 public static bool odutWcMatch(String string_, String wcPattern, String remainString) {
2172 bool ret = GlobalsPINVOKE.odutWcMatch__SWIG_1(string_, wcPattern, remainString);
2174 return ret;
2175 }
2176
2177 public static bool odutWcReplace(String string_, String wcPatternOld, String wcPatternNew, ref string resultString) {
2178IntPtr tmp_resultString = Marshal.StringToCoTaskMemUni(resultString);
2179 IntPtr saved_resultString = tmp_resultString;
2180 try {
2181 bool ret = GlobalsPINVOKE.odutWcReplace(string_, wcPatternOld, wcPatternNew, ref tmp_resultString);
2183 return ret;
2184 } finally {
2185if (tmp_resultString != saved_resultString) resultString = Marshal.PtrToStringUni(tmp_resultString);
2186 }
2187 }
2188
2189 public static void OdClearFontTable() {
2192 }
2193
2194 public static int getMIFIndex(OdCodePageId id) {
2195 int ret = GlobalsPINVOKE.getMIFIndex((int)id);
2197 return ret;
2198 }
2199
2200 public static bool isMBCBCodepage(OdCodePageId id) {
2201 bool ret = GlobalsPINVOKE.isMBCBCodepage((int)id);
2203 return ret;
2204 }
2205
2206 public static bool isMIFCodepage(OdCodePageId id) {
2207 bool ret = GlobalsPINVOKE.isMIFCodepage((int)id);
2209 return ret;
2210 }
2211
2215 return ret;
2216 }
2217
2218 public static void odrxRegisterAuditInfoDestructorCallback(Globals.ODAUDITINFO_CALLBACKDelegate /*CS_DELEGATE_CONNECT_TYPEMAP_PART_BASE cstype*/ callbackFunc) {
2219/*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN pre csin start*/
2220 Globals.ODAUDITINFO_CALLBACKDelegateNative callbackFunc_inDelegate = null;
2221 if (callbackFunc != null)
2222 {
2223 callbackFunc_inDelegate = (IntPtr info) =>
2224 {
2225 ;
2226 try
2227 {
2228 callbackFunc(OdMarshalHelper.PtrToObject<OdAuditInfo>(info));
2229 }
2230 finally
2231 {
2232 ;
2233 }
2234 };
2235 }
2236 IntPtr callbackFunc_ptr = (callbackFunc == null) ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(callbackFunc_inDelegate);
2237 Teigha.Core.DelegateHolder.Add(callbackFunc_inDelegate);
2238 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN pre csin end*/
2239 try {
2240 GlobalsPINVOKE.odrxRegisterAuditInfoDestructorCallback(callbackFunc_ptr /*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN csin*/ );
2242 } finally {
2243//Empty post /*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN post csin*/
2244 }
2245 }
2246
2250 }
2251
2252 public static int lineWeightIndex(LineWeight lw) {
2253 int ret = GlobalsPINVOKE.lineWeightIndex((int)lw);
2255 return ret;
2256 }
2257
2258 public static LineWeight lineWeightByIndex(int lw) {
2261 return ret;
2262 }
2263
2265 OdRxObject ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),GlobalsPINVOKE.odgsDbGetDatabase(OdDbStub.getCPtr(pId)),false); /*createInt 3_2*/
2266
2268 return ret;
2269}
2270
2271 public static OdDbStub odgsDbGetOwner(OdDbStub pId) {
2272 global::System.IntPtr cPtr = GlobalsPINVOKE.odgsDbGetOwner(OdDbStub.getCPtr(pId));
2273 OdDbStub ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDbStub(cPtr, false);
2275 return ret;
2276 }
2277
2279 global::System.IntPtr cPtr = GlobalsPINVOKE.odgsDbRedirectID(OdDbStub.getCPtr(pId).Handle);
2280 OdDbStub ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdDbStub(cPtr, false);
2282 return ret;
2283 }
2284
2285 public static bool odgsDbObjectIDRedirected(OdDbStub pId) {
2288 return ret;
2289 }
2290
2291 public static void odgsDbObjectIDSetRedirected(OdDbStub pId, bool bSet) {
2294 }
2295
2296 public static void odgsDbObjectIDSetLockingFlag(OdDbStub pId, bool bSet) {
2299 }
2300
2302 OdRxObject ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),GlobalsPINVOKE.odgsDbObjectIDRedirectedDatabase(OdDbStub.getCPtr(pId)),false); /*createInt 3_2*/
2303
2305 return ret;
2306}
2307
2308 public static bool odgsDbObjectIDErased(OdDbStub pId) {
2311 return ret;
2312 }
2313
2314 public static UInt32 odFNV32HashBuf(IntPtr /*SIMPLETYPE*/ buf, uint len, UInt32 /*SIMPLETYPE*/ hval) {
2315// test csout
2316 /*SIMPLETYPE*/
2317 UInt32 ret = GlobalsPINVOKE.odFNV32HashBuf__SWIG_0(buf /*SIMPLETYPE*/, len, hval /*SIMPLETYPE*/);
2319 return ret;
2320 }
2321
2322 public static UInt32 odFNV32HashBuf(IntPtr /*SIMPLETYPE*/ buf, uint len) {
2323// test csout
2324 /*SIMPLETYPE*/
2325 UInt32 ret = GlobalsPINVOKE.odFNV32HashBuf__SWIG_1(buf /*SIMPLETYPE*/, len);
2327 return ret;
2328 }
2329
2330 public static UInt32 odFNV32HashStr(string str, UInt32 /*SIMPLETYPE*/ hval) {
2331// test csout
2332 /*SIMPLETYPE*/
2333 UInt32 ret = GlobalsPINVOKE.odFNV32HashStr__SWIG_0(str, hval /*SIMPLETYPE*/);
2335 return ret;
2336 }
2337
2338 public static UInt32 odFNV32HashStr(string str) {
2339// test csout
2340 /*SIMPLETYPE*/
2341 UInt32 ret = GlobalsPINVOKE.odFNV32HashStr__SWIG_1(str);
2343 return ret;
2344 }
2345
2346 public static UInt32 odFNV32aHashBuf(IntPtr /*SIMPLETYPE*/ buf, uint len, UInt32 /*SIMPLETYPE*/ hval) {
2347// test csout
2348 /*SIMPLETYPE*/
2349 UInt32 ret = GlobalsPINVOKE.odFNV32aHashBuf__SWIG_0(buf /*SIMPLETYPE*/, len, hval /*SIMPLETYPE*/);
2351 return ret;
2352 }
2353
2354 public static UInt32 odFNV32aHashBuf(IntPtr /*SIMPLETYPE*/ buf, uint len) {
2355// test csout
2356 /*SIMPLETYPE*/
2357 UInt32 ret = GlobalsPINVOKE.odFNV32aHashBuf__SWIG_1(buf /*SIMPLETYPE*/, len);
2359 return ret;
2360 }
2361
2362 public static UInt32 odFNV32aHashStr(string str, UInt32 /*SIMPLETYPE*/ hval) {
2363// test csout
2364 /*SIMPLETYPE*/
2365 UInt32 ret = GlobalsPINVOKE.odFNV32aHashStr__SWIG_0(str, hval /*SIMPLETYPE*/);
2367 return ret;
2368 }
2369
2370 public static UInt32 odFNV32aHashStr(string str) {
2371// test csout
2372 /*SIMPLETYPE*/
2373 UInt32 ret = GlobalsPINVOKE.odFNV32aHashStr__SWIG_1(str);
2375 return ret;
2376 }
2377
2378 public static UInt64 odFNV64HashBuf(IntPtr /*SIMPLETYPE*/ buf, uint len, UInt64 /*SIMPLETYPE*/ hval) {
2379// test csout
2380 /*SIMPLETYPE*/
2381 UInt64 ret = GlobalsPINVOKE.odFNV64HashBuf__SWIG_0(buf /*SIMPLETYPE*/, len, hval /*SIMPLETYPE*/);
2383 return ret;
2384 }
2385
2386 public static UInt64 odFNV64HashBuf(IntPtr /*SIMPLETYPE*/ buf, uint len) {
2387// test csout
2388 /*SIMPLETYPE*/
2389 UInt64 ret = GlobalsPINVOKE.odFNV64HashBuf__SWIG_1(buf /*SIMPLETYPE*/, len);
2391 return ret;
2392 }
2393
2394 public static UInt64 odFNV64HashStr(string str, UInt64 /*SIMPLETYPE*/ hval) {
2395// test csout
2396 /*SIMPLETYPE*/
2397 UInt64 ret = GlobalsPINVOKE.odFNV64HashStr__SWIG_0(str, hval /*SIMPLETYPE*/);
2399 return ret;
2400 }
2401
2402 public static UInt64 odFNV64HashStr(string str) {
2403// test csout
2404 /*SIMPLETYPE*/
2405 UInt64 ret = GlobalsPINVOKE.odFNV64HashStr__SWIG_1(str);
2407 return ret;
2408 }
2409
2410 public static UInt64 odFNV64aHashBuf(IntPtr /*SIMPLETYPE*/ buf, uint len, UInt64 /*SIMPLETYPE*/ hval) {
2411// test csout
2412 /*SIMPLETYPE*/
2413 UInt64 ret = GlobalsPINVOKE.odFNV64aHashBuf__SWIG_0(buf /*SIMPLETYPE*/, len, hval /*SIMPLETYPE*/);
2415 return ret;
2416 }
2417
2418 public static UInt64 odFNV64aHashBuf(IntPtr /*SIMPLETYPE*/ buf, uint len) {
2419// test csout
2420 /*SIMPLETYPE*/
2421 UInt64 ret = GlobalsPINVOKE.odFNV64aHashBuf__SWIG_1(buf /*SIMPLETYPE*/, len);
2423 return ret;
2424 }
2425
2426 public static UInt64 odFNV64aHashStr(string str, UInt64 /*SIMPLETYPE*/ hval) {
2427// test csout
2428 /*SIMPLETYPE*/
2429 UInt64 ret = GlobalsPINVOKE.odFNV64aHashStr__SWIG_0(str, hval /*SIMPLETYPE*/);
2431 return ret;
2432 }
2433
2434 public static UInt64 odFNV64aHashStr(string str) {
2435// test csout
2436 /*SIMPLETYPE*/
2437 UInt64 ret = GlobalsPINVOKE.odFNV64aHashStr__SWIG_1(str);
2439 return ret;
2440 }
2441
2442 public static bool odgiCalculateTriangleShellLoops(OdUInt32Array triangleIndicies, OdUInt32Array2d loops, OdBoolArray isClosed) {
2443 bool ret = GlobalsPINVOKE.odgiCalculateTriangleShellLoops__SWIG_0(OdUInt32Array.getCPtr(triangleIndicies).Handle, OdUInt32Array2d.getCPtr(loops), OdBoolArray.getCPtr(isClosed).Handle);
2445 return ret;
2446 }
2447
2448 public static bool odgiCalculateTriangleShellLoops(OdUInt32Array triangleIndicies, OdUInt32Array2d loops) {
2451 return ret;
2452 }
2453
2455 OdGiTransientManager ret = (OdGiTransientManager)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiTransientManager),GlobalsPINVOKE.odgiGetTransientManager(OdRxObject.getCPtr(pObject)),false); /*createInt 3_2*/
2456
2458 return ret;
2459}
2460
2461 public static void odgiSetTransientManager(OdGiTransientManager pManager, OdRxObject pObject) {
2464 }
2465
2466 public static UInt64 kGiPointCloudNegativeCellId {
2467 get {
2468 /*SIMPLETYPE*/
2471 return ret;
2472 }
2473 }
2474
2475 public static OdGiPsLinetypes odgiGetPsLinetypesManager(UInt32 /*SIMPLETYPE*/ nDefs) {
2478 return ret;
2479 }
2480
2484 return ret;
2485 }
2486
2490 return ret;
2491 }
2492
2493 public static void moveIntoValidInter(double startAngleInV, double endAngleInV, out double v, double period) {
2494 GlobalsPINVOKE.moveIntoValidInter__SWIG_0(startAngleInV, endAngleInV, out v, period);
2496 }
2497
2498 public static void moveIntoValidInter(double startAngleInV, double endAngleInV, out double v) {
2499 GlobalsPINVOKE.moveIntoValidInter__SWIG_1(startAngleInV, endAngleInV, out v);
2501 }
2502
2503 public static void makeInterValid(out double startAngle, out double endAngle, double period) {
2504 GlobalsPINVOKE.makeInterValid__SWIG_0(out startAngle, out endAngle, period);
2506 }
2507
2508 public static void makeInterValid(out double startAngle, out double endAngle) {
2509 GlobalsPINVOKE.makeInterValid__SWIG_1(out startAngle, out endAngle);
2511 }
2512
2513 public static bool triangulateProfile(OdGePoint2dArray vertexSource, IntVectorStd inFaceData, OdLongArray vecTriangles, double tol) {
2514 bool ret = GlobalsPINVOKE.triangulateProfile__SWIG_0(OdGePoint2dArray.getCPtr(vertexSource).Handle, IntVectorStd.getCPtr(inFaceData), OdLongArray.getCPtr(vecTriangles), tol);
2516 return ret;
2517 }
2518
2519 public static bool triangulateProfile(OdGePoint2dArray vertexSource, IntVectorStd inFaceData, OdLongArray vecTriangles) {
2520 bool ret = GlobalsPINVOKE.triangulateProfile__SWIG_1(OdGePoint2dArray.getCPtr(vertexSource).Handle, IntVectorStd.getCPtr(inFaceData), OdLongArray.getCPtr(vecTriangles));
2522 return ret;
2523 }
2524
2525 public static bool compareMeshes(OdGeTrMesh meshTemplate, OdGeTrMesh mesh, double tolCoef, bool bDebugOutput) {
2526 bool ret = GlobalsPINVOKE.compareMeshes(OdGeTrMesh.getCPtr(meshTemplate), OdGeTrMesh.getCPtr(mesh), tolCoef, bDebugOutput);
2528 return ret;
2529 }
2530
2531 public static OdGeNurbCurve3d convertFrom(OdGeCurve3d source, OdGeTol tol, bool sameParametrization) {
2532 global::System.IntPtr cPtr = GlobalsPINVOKE.convertFrom__SWIG_3(OdGeCurve3d.getCPtr(source), OdGeTol.getCPtr(tol), sameParametrization);
2533 OdGeNurbCurve3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeNurbCurve3d(cPtr, false);
2535 return ret;
2536 }
2537
2538 public static OdGeNurbCurve3d convertFrom(OdGeCurve3d source, OdGeTol tol) {
2539 global::System.IntPtr cPtr = GlobalsPINVOKE.convertFrom__SWIG_4(OdGeCurve3d.getCPtr(source), OdGeTol.getCPtr(tol));
2540 OdGeNurbCurve3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeNurbCurve3d(cPtr, false);
2542 return ret;
2543 }
2544
2546 global::System.IntPtr cPtr = GlobalsPINVOKE.convertFrom__SWIG_5(OdGeCurve3d.getCPtr(source));
2547 OdGeNurbCurve3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeNurbCurve3d(cPtr, false);
2549 return ret;
2550 }
2551
2555 return ret;
2556 }
2557
2558 public static double calibrateAngle(double val, double input) {
2559 double ret = GlobalsPINVOKE.calibrateAngle(val, input);
2561 return ret;
2562 }
2563
2564 public static double angleFromParam(double param, double radiusRatio) {
2565 double ret = GlobalsPINVOKE.angleFromParam(param, radiusRatio);
2567 return ret;
2568 }
2569
2570 public static double paramFromAngle(double angle, double radiusRatio) {
2571 double ret = GlobalsPINVOKE.paramFromAngle(angle, radiusRatio);
2573 return ret;
2574 }
2575
2576 public static OdError OdErrorByCodeAndMessage(OdResult iResCode, string iMessage) {
2577 OdError ret = new OdError(GlobalsPINVOKE.OdErrorByCodeAndMessage((int)iResCode, iMessage), true);
2579 return ret;
2580 }
2581
2582 public static OdError OdErrorByCodeAndMessageFormat(OdResult iResCode, string iMessageFormat) {
2583 OdError ret = new OdError(GlobalsPINVOKE.OdErrorByCodeAndMessageFormat((int)iResCode, iMessageFormat), true);
2585 return ret;
2586 }
2587
2588 public static OdEdCommandStack odedRegCmds() {// OdEdCommandStackPtr
2589 MemoryManager mMan = MemoryManager.GetMemoryManager();
2590 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
2591 IntPtr ptr = GlobalsPINVOKE.odedRegCmds();
2592
2593 OdEdCommandStack ret = null;
2594 if (null != mTrans)
2595 {
2596 mTrans.AddObject((OdEdCommandStack)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdEdCommandStack),ptr, true));
2597 ret = (OdEdCommandStack)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdEdCommandStack),ptr, false);
2598 }
2599 else
2600 {
2601 ret = (OdEdCommandStack)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdEdCommandStack),ptr, true);
2602 }
2603
2605 return ret;
2606}
2607
2608 public static OdEdCommand odedFireUnknownCommand(OdEdCommandStack pCmdStack, String sCmd, OdEdCommandContext pCmdCtx) {// OdEdCommandPtr
2609 MemoryManager mMan = MemoryManager.GetMemoryManager();
2610 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
2612
2613 OdEdCommand ret = null;
2614 if (null != mTrans)
2615 {
2616 mTrans.AddObject((OdEdCommand)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdEdCommand),ptr, true));
2617 ret = (OdEdCommand)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdEdCommand),ptr, false);
2618 }
2619 else
2620 {
2621 ret = (OdEdCommand)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdEdCommand),ptr, true);
2622 }
2623
2625 return ret;
2626}
2627
2628 public static Globals.OdTraceFuncDelegate odSetTraceFunc(Globals.OdTraceFuncDelegate /*CS_DELEGATE_CONNECT_TYPEMAP_PART_BASE cstype*/ traceFunc) {
2629/*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN pre csin start*/
2630 Globals.OdTraceFuncDelegateNative traceFunc_inDelegate = null;
2631 if (traceFunc != null)
2632 {
2633 traceFunc_inDelegate = (IntPtr debugString) =>
2634 {
2635 ;
2636 try
2637 {
2638 traceFunc(Marshal.PtrToStringUni(debugString));
2639 }
2640 finally
2641 {
2642 ;
2643 }
2644 };
2645 }
2646 IntPtr traceFunc_ptr = (traceFunc == null) ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(traceFunc_inDelegate);
2647 Teigha.Core.DelegateHolder.Add(traceFunc_inDelegate);
2648 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN pre csin end*/
2649 try {
2650 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN csout start*/
2651 IntPtr nativeCallback = GlobalsPINVOKE.odSetTraceFunc(traceFunc_ptr /*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN csin*/ );
2652
2654 Globals.OdTraceFuncDelegate outDelegate = null;
2655 if (nativeCallback != IntPtr.Zero)
2656 {
2657 outDelegate = (string debugString) =>
2658 {
2659 Globals.OdTraceFuncDelegateNative cPtr_NativeDelegate = Marshal.GetDelegateForFunctionPointer(nativeCallback, typeof(Globals.OdTraceFuncDelegateNative)) as Globals.OdTraceFuncDelegateNative;
2660 ;
2661 cPtr_NativeDelegate(Marshal.StringToCoTaskMemUni(debugString));
2662 ;
2663 };
2664 }
2665 return outDelegate;
2666 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN csout end*/
2667 } finally {
2668//Empty post /*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN post csin*/
2669 }
2670 }
2671
2672 public static Globals.OdAssertFuncDelegate odSetAssertFunc(Globals.OdAssertFuncDelegate /*CS_DELEGATE_CONNECT_TYPEMAP_PART_BASE cstype*/ assertFunc) {
2673/*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN pre csin start*/
2674 Globals.OdAssertFuncDelegateNative assertFunc_inDelegate = null;
2675 if (assertFunc != null)
2676 {
2677 assertFunc_inDelegate = (string expresssion,string filename,int nLineNo) =>
2678 {
2679 ;
2680 try
2681 {
2682 assertFunc(expresssion,filename,nLineNo);
2683 }
2684 finally
2685 {
2686 ;
2687 }
2688 };
2689 }
2690 IntPtr assertFunc_ptr = (assertFunc == null) ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(assertFunc_inDelegate);
2691 Teigha.Core.DelegateHolder.Add(assertFunc_inDelegate);
2692 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN pre csin end*/
2693 try {
2694 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN csout start*/
2695 IntPtr nativeCallback = GlobalsPINVOKE.odSetAssertFunc(assertFunc_ptr /*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN csin*/ );
2696
2698 Globals.OdAssertFuncDelegate outDelegate = null;
2699 if (nativeCallback != IntPtr.Zero)
2700 {
2701 outDelegate = (string expresssion,string filename,int nLineNo) =>
2702 {
2703 Globals.OdAssertFuncDelegateNative cPtr_NativeDelegate = Marshal.GetDelegateForFunctionPointer(nativeCallback, typeof(Globals.OdAssertFuncDelegateNative)) as Globals.OdAssertFuncDelegateNative;
2704 ;
2705 cPtr_NativeDelegate(expresssion,filename,nLineNo);
2706 ;
2707 };
2708 }
2709 return outDelegate;
2710 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN csout end*/
2711 } finally {
2712//Empty post /*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN post csin*/
2713 }
2714 }
2715
2716 public static Globals.OdCheckAssertGroupFuncDelegate odSetCheckAssertGroupFunc(Globals.OdCheckAssertGroupFuncDelegate /*CS_DELEGATE_CONNECT_TYPEMAP_PART_BASE cstype*/ checkFunc) {
2717/*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin start*/
2718 Globals.OdCheckAssertGroupFuncDelegateNative checkFunc_inDelegate = null;
2719 if (checkFunc != null)
2720 {
2721 checkFunc_inDelegate = (string group) =>
2722 {
2723 ;
2724 try
2725 {
2726 return (checkFunc(group));
2727 }
2728 finally
2729 {
2730 ;
2731 }
2732 };
2733 }
2734 IntPtr checkFunc_ptr = (checkFunc == null) ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(checkFunc_inDelegate);
2735 Teigha.Core.DelegateHolder.Add(checkFunc_inDelegate);
2736 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN pre csin end*/
2737 try {
2738 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN csout start*/
2739 IntPtr nativeCallback = GlobalsPINVOKE.odSetCheckAssertGroupFunc(checkFunc_ptr /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN csin*/ );
2740
2742 Globals.OdCheckAssertGroupFuncDelegate outDelegate = null;
2743 if (nativeCallback != IntPtr.Zero)
2744 {
2745 outDelegate = (string group) =>
2746 {
2747 Globals.OdCheckAssertGroupFuncDelegateNative cPtr_NativeDelegate = Marshal.GetDelegateForFunctionPointer(nativeCallback, typeof(Globals.OdCheckAssertGroupFuncDelegateNative)) as Globals.OdCheckAssertGroupFuncDelegateNative;
2748 ;
2749 try
2750 {
2751 return (cPtr_NativeDelegate(group));
2752 }
2753 finally
2754 {
2755 ;
2756 }
2757 };
2758 }
2759 return outDelegate;
2760 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN csout end*/
2761 } finally {
2762//Empty post /*CS_DELEGATE_CONNECT_TYPEMAP_PART_NONVOID_RETURN post csin*/
2763 }
2764 }
2765
2766 public static void OdTrace(String lpszFormat) {
2767 GlobalsPINVOKE.OdTrace__SWIG_0(lpszFormat);
2769 }
2770
2771 public static void OdTrace(SWIGTYPE_p___wchar_t lpszFormat) {
2774 }
2775
2776 public static void OdAssert(string expresssion, string filename, int nLineNo) {
2777 GlobalsPINVOKE.OdAssert__SWIG_0(expresssion, filename, nLineNo);
2779 }
2780
2781 public static void OdAssert(string group, string expresssion, string fileName, int nLineNo) {
2782 GlobalsPINVOKE.OdAssert__SWIG_1(group, expresssion, fileName, nLineNo);
2784 }
2785
2786 public static void odrxRegisterHyperlinkDestructorCallback(Globals.ODDBHYPERLINK_CALLBACKDelegate /*CS_DELEGATE_CONNECT_TYPEMAP_PART_BASE cstype*/ callbackFunc) {
2787/*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN pre csin start*/
2788 Globals.ODDBHYPERLINK_CALLBACKDelegateNative callbackFunc_inDelegate = null;
2789 if (callbackFunc != null)
2790 {
2791 callbackFunc_inDelegate = (IntPtr obj) =>
2792 {
2793 ;
2794 try
2795 {
2796 callbackFunc(OdMarshalHelper.PtrToObject<OdDbHyperlink>(obj));
2797 }
2798 finally
2799 {
2800 ;
2801 }
2802 };
2803 }
2804 IntPtr callbackFunc_ptr = (callbackFunc == null) ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(callbackFunc_inDelegate);
2805 Teigha.Core.DelegateHolder.Add(callbackFunc_inDelegate);
2806 /*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN pre csin end*/
2807 try {
2808 GlobalsPINVOKE.odrxRegisterHyperlinkDestructorCallback(callbackFunc_ptr /*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN csin*/ );
2810 } finally {
2811//Empty post /*CS_DELEGATE_CONNECT_TYPEMAP_PART_VOID_RETURN post csin*/
2812 }
2813 }
2814
2818 }
2819
2820 public static bool odcmIsBackgroundLight(UInt32 /*SIMPLETYPE*/ backgroung) {
2821 bool ret = GlobalsPINVOKE.odcmIsBackgroundLight(backgroung /*SIMPLETYPE*/);
2823 return ret;
2824 }
2825
2826 public static UInt32[] /*array applied*/ odcmAcadDarkPalette() {
2827 IntPtr ret_ptr = GlobalsPINVOKE.odcmAcadDarkPalette();
2829 if (ret_ptr == IntPtr.Zero)
2830 return null;
2831 int arrayLength = 257;
2832 Int32[] ret_tmp_result = new Int32[arrayLength];
2833 Marshal.Copy(ret_ptr, ret_tmp_result, 0, arrayLength);
2834
2835 UInt32[] result = Array.ConvertAll<Int32,UInt32>(ret_tmp_result, new Converter<Int32, UInt32>((in_value) => { return (UInt32)in_value; }));
2836 return result;
2837}
2838
2839 public static UInt32[] /*array applied*/ odcmAcadLightPalette() {
2840 IntPtr ret_ptr = GlobalsPINVOKE.odcmAcadLightPalette();
2842 if (ret_ptr == IntPtr.Zero)
2843 return null;
2844 int arrayLength = 257;
2845 Int32[] ret_tmp_result = new Int32[arrayLength];
2846 Marshal.Copy(ret_ptr, ret_tmp_result, 0, arrayLength);
2847
2848 UInt32[] result = Array.ConvertAll<Int32,UInt32>(ret_tmp_result, new Converter<Int32, UInt32>((in_value) => { return (UInt32)in_value; }));
2849 return result;
2850}
2851
2852 public static UInt32[] /*array applied*/ odcmAcadPlotPalette() {
2853 IntPtr ret_ptr = GlobalsPINVOKE.odcmAcadPlotPalette();
2855 if (ret_ptr == IntPtr.Zero)
2856 return null;
2857 int arrayLength = 257;
2858 Int32[] ret_tmp_result = new Int32[arrayLength];
2859 Marshal.Copy(ret_ptr, ret_tmp_result, 0, arrayLength);
2860
2861 UInt32[] result = Array.ConvertAll<Int32,UInt32>(ret_tmp_result, new Converter<Int32, UInt32>((in_value) => { return (UInt32)in_value; }));
2862 return result;
2863}
2864
2865 public static UInt32[] /*array applied*/ odcmAcadPalette(UInt32 /*SIMPLETYPE*/ backgr) {
2866 IntPtr ret_ptr = GlobalsPINVOKE.odcmAcadPalette(backgr /*SIMPLETYPE*/);
2868 if (ret_ptr == IntPtr.Zero)
2869 return null;
2870 int arrayLength = 257;
2871 Int32[] ret_tmp_result = new Int32[arrayLength];
2872 Marshal.Copy(ret_ptr, ret_tmp_result, 0, arrayLength);
2873
2874 UInt32[] result = Array.ConvertAll<Int32,UInt32>(ret_tmp_result, new Converter<Int32, UInt32>((in_value) => { return (UInt32)in_value; }));
2875 return result;
2876}
2877
2878 public static SWIGTYPE_p_ODCOLORREF odcmAcadDynamicPalette(UInt32 /*SIMPLETYPE*/ backgr) {
2879 global::System.IntPtr cPtr = GlobalsPINVOKE.odcmAcadDynamicPalette(backgr /*SIMPLETYPE*/);
2880 SWIGTYPE_p_ODCOLORREF ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_ODCOLORREF(cPtr, false);
2882 return ret;
2883 }
2884
2885 public static UInt32 odcmLookupRGB(int index, UInt32[] /*array applied*/ pPalette) {
2886// test csout
2887 /*SIMPLETYPE*/
2888 UInt32 ret = GlobalsPINVOKE.odcmLookupRGB(index, pPalette);
2890 return ret;
2891 }
2892
2893 public static int odcmLookupACI(UInt32 /*SIMPLETYPE*/ rgb, UInt32[] /*array applied*/ pPalette) {
2894 int ret = GlobalsPINVOKE.odcmLookupACI(rgb /*SIMPLETYPE*/, pPalette);
2896 return ret;
2897 }
2898
2899 public static bool ABBreakToSingleBody(OdStreamBuf pStreamBuf, Int32 /*SIMPLETYPE*/ typeVer, bool standardSaveFlag, ISATConverterPtrArray entitySet) {
2900 bool ret = GlobalsPINVOKE.ABBreakToSingleBody(OdStreamBuf.getCPtr(pStreamBuf), typeVer /*SIMPLETYPE*/, standardSaveFlag, ISATConverterPtrArray.getCPtr(entitySet));
2902 return ret;
2903 }
2904
2906 global::System.IntPtr cPtr = GlobalsPINVOKE.ABCreateConverter();
2907 ISATConverter ret = (cPtr == global::System.IntPtr.Zero) ? null : new ISATConverter(cPtr, false);
2909 return ret;
2910 }
2911
2912 public static void ABDeleteConverter(ISATConverter pIC) {
2915 }
2916
2917 public static void computeAlphaTransparency(SWIGTYPE_p_PixImageDescT_unsigned_char_const_t blackBg, SWIGTYPE_p_PixImageDescT_unsigned_char_const_t whiteBg, UInt32 /*SIMPLETYPE*/ imgWidth, UInt32 /*SIMPLETYPE*/ imgHeight, SWIGTYPE_p_PixImageDescT_unsigned_char_t outImg, UInt32 /*SIMPLETYPE*/ bkColor) {
2918 GlobalsPINVOKE.computeAlphaTransparency(SWIGTYPE_p_PixImageDescT_unsigned_char_const_t.getCPtr(blackBg), SWIGTYPE_p_PixImageDescT_unsigned_char_const_t.getCPtr(whiteBg), imgWidth /*SIMPLETYPE*/, imgHeight /*SIMPLETYPE*/, SWIGTYPE_p_PixImageDescT_unsigned_char_t.getCPtr(outImg), bkColor /*SIMPLETYPE*/);
2920 }
2921
2922 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) {
2923 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));
2925 }
2926
2927 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) {
2928 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);
2930 }
2931
2932 public static void OdGeDrawSegmentHatch(OdGeLineSeg2dArray segments, OdIntArray loops, OdIntArray loopTypes, OdGeHatchStrokes StrokeParams, OdGeIslandStyle iStyle, bool isSolid, OdGeLineSeg2dArray strokes, OdGeTol tol, OdGeStrokeDataArray pStrokeData, OdGeShellData pShell) {
2933 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));
2935 }
2936
2937 public static void OdGeDrawSegmentHatch(OdGeLineSeg2dArray segments, OdIntArray loops, OdIntArray loopTypes, OdGeHatchStrokes StrokeParams, OdGeIslandStyle iStyle, bool isSolid, OdGeLineSeg2dArray strokes, OdGeTol tol, OdGeStrokeDataArray pStrokeData) {
2938 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));
2940 }
2941
2942 public static void OdGeDrawSegmentHatch(OdGeLineSeg2dArray segments, OdIntArray loops, OdIntArray loopTypes, OdGeHatchStrokes StrokeParams, OdGeIslandStyle iStyle, bool isSolid, OdGeLineSeg2dArray strokes, OdGeTol tol) {
2943 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));
2945 }
2946
2947 public static void OdGeDrawSegmentHatch(OdGeLineSeg2dArray segments, OdIntArray loops, OdIntArray loopTypes, OdGeHatchStrokes StrokeParams, OdGeIslandStyle iStyle, bool isSolid, OdGeLineSeg2dArray strokes) {
2948 GlobalsPINVOKE.OdGeDrawSegmentHatch__SWIG_5(OdGeLineSeg2dArray.getCPtr(segments), OdIntArray.getCPtr(loops).Handle, OdIntArray.getCPtr(loopTypes).Handle, OdGeHatchStrokes.getCPtr(StrokeParams), (int)iStyle, isSolid, OdGeLineSeg2dArray.getCPtr(strokes));
2950 }
2951
2952 public static void OdGeDrawSegmentHatchXY(OdGeLineSeg2dArray segments, OdIntArray loops, OdIntArray loopTypes, OdGeHatchStrokes StrokeParams, OdGeIslandStyle iStyle, bool isSolid, OdGeLineSeg2dArray strokes, OdGeTol tol, OdGeStrokeDataArray pStrokeData, OdGeShellData pShell) {
2953 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));
2955 }
2956
2957 public static void OdGeDrawSegmentHatchXY(OdGeLineSeg2dArray segments, OdIntArray loops, OdIntArray loopTypes, OdGeHatchStrokes StrokeParams, OdGeIslandStyle iStyle, bool isSolid, OdGeLineSeg2dArray strokes, OdGeTol tol, OdGeStrokeDataArray pStrokeData) {
2958 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));
2960 }
2961
2962 public static void OdGeDrawSegmentHatchXY(OdGeLineSeg2dArray segments, OdIntArray loops, OdIntArray loopTypes, OdGeHatchStrokes StrokeParams, OdGeIslandStyle iStyle, bool isSolid, OdGeLineSeg2dArray strokes, OdGeTol tol) {
2963 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));
2965 }
2966
2967 public static void OdGeDrawSegmentHatchXY(OdGeLineSeg2dArray segments, OdIntArray loops, OdIntArray loopTypes, OdGeHatchStrokes StrokeParams, OdGeIslandStyle iStyle, bool isSolid, OdGeLineSeg2dArray strokes) {
2968 GlobalsPINVOKE.OdGeDrawSegmentHatchXY__SWIG_3(OdGeLineSeg2dArray.getCPtr(segments), OdIntArray.getCPtr(loops).Handle, OdIntArray.getCPtr(loopTypes).Handle, OdGeHatchStrokes.getCPtr(StrokeParams), (int)iStyle, isSolid, OdGeLineSeg2dArray.getCPtr(strokes));
2970 }
2971
2972 public static OdResult build2dShell(OdGePoint2dArrayArray contours, Int16 /*SIMPLETYPE*/ style, OdGePoint2dArray vertixes, OdInt32Array indexes, OdGeTol tol) {
2973 OdResult ret = (OdResult)GlobalsPINVOKE.build2dShell(OdGePoint2dArrayArray.getCPtr(contours), style /*SIMPLETYPE*/, OdGePoint2dArray.getCPtr(vertixes).Handle, OdInt32Array.getCPtr(indexes).Handle, OdGeTol.getCPtr(tol));
2975 return ret;
2976 }
2977
2978 public static OdResult odgeDrawDashedHatch(OdHatchPattern pattern, OdGeLineSeg2dArray segmentArray, OdIntArray loopArray, OdIntArray loopTypes, OdGeTol hatchTolerance, OdGeIslandStyle islandStyle, UInt32 /*SIMPLETYPE*/ maxHatchDensity, OdGeHatchDashTaker dashTaker, bool bCheckDense, bool bIncludeBoundary, SWIGTYPE_p_std__functionT_bool_fF_t fRegenAbort) {
2979 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));
2981 return ret;
2982 }
2983
2984 public static OdResult odgeDrawDashedHatch(OdHatchPattern pattern, OdGeLineSeg2dArray segmentArray, OdIntArray loopArray, OdIntArray loopTypes, OdGeTol hatchTolerance, OdGeIslandStyle islandStyle, UInt32 /*SIMPLETYPE*/ maxHatchDensity, OdGeHatchDashTaker dashTaker, bool bCheckDense, bool bIncludeBoundary) {
2985 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);
2987 return ret;
2988 }
2989
2990 public static OdResult odgeDrawDashedHatch(OdHatchPattern pattern, OdGeLineSeg2dArray segmentArray, OdIntArray loopArray, OdIntArray loopTypes, OdGeTol hatchTolerance, OdGeIslandStyle islandStyle, UInt32 /*SIMPLETYPE*/ maxHatchDensity, OdGeHatchDashTaker dashTaker, bool bCheckDense) {
2991 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);
2993 return ret;
2994 }
2995
2996 public static OdResult odgeDrawDashedHatch(OdHatchPattern pattern, OdGeLineSeg2dArray segmentArray, OdIntArray loopArray, OdIntArray loopTypes, OdGeTol hatchTolerance, OdGeIslandStyle islandStyle, UInt32 /*SIMPLETYPE*/ maxHatchDensity, OdGeHatchDashTaker dashTaker) {
2997 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));
2999 return ret;
3000 }
3001
3002 public static void fillSegmentLoopLtArrays(OdGeLineSeg2dArray segmentArray, OdIntArray loopArray, OdIntArray loopTypes, GiLoopListCustom loopListCustom, OdGeVector2d vOffset, double dDeviation, UInt32 /*SIMPLETYPE*/ pointLimit, Int16 /*SIMPLETYPE*/ nHPSmooth, bool bGradientFill, bool bSolid, bool isEvaluateHatchArea, bool isRegionCreate) {
3003 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);
3005 }
3006
3007 public static void fillSegmentLoopLtArrays(OdGeLineSeg2dArray segmentArray, OdIntArray loopArray, OdIntArray loopTypes, GiLoopListCustom loopListCustom, OdGeVector2d vOffset, double dDeviation, UInt32 /*SIMPLETYPE*/ pointLimit, Int16 /*SIMPLETYPE*/ nHPSmooth, bool bGradientFill, bool bSolid, bool isEvaluateHatchArea) {
3008 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);
3010 }
3011
3012 public static void fillSegmentLoopLtArrays(OdGeLineSeg2dArray segmentArray, OdIntArray loopArray, OdIntArray loopTypes, GiLoopListCustom loopListCustom, OdGeVector2d vOffset, double dDeviation, UInt32 /*SIMPLETYPE*/ pointLimit, Int16 /*SIMPLETYPE*/ nHPSmooth, bool bGradientFill, bool bSolid) {
3013 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);
3015 }
3016
3017 public static bool processGradientHatch(SWIGTYPE_p_OdSharedPtrT_OdGeShellData_t pShell, String gradName, double dShift, double dAngle, int r1, int g1, int b1, int r2, int g2, int b2) {
3018 bool ret = GlobalsPINVOKE.processGradientHatch(SWIGTYPE_p_OdSharedPtrT_OdGeShellData_t.getCPtr(pShell), gradName, dShift, dAngle, r1, g1, b1, r2, g2, b2);
3020 return ret;
3021 }
3022
3023 public static OdGeTol calculateEffectiveTolerance(OdGeLineSeg2dArray segments, double absTol, OdGeExtents2d ext) {
3026 return ret;
3027 }
3028
3029 public static double calculateDashTakerDeviation(OdGeExtents2d ext, double deviation) {
3032 return ret;
3033 }
3034
3035 public static bool checkDenstiy(OdGeLineSeg2dArray segmentArray, OdIntArray loopArray, OdHatchPattern hp, OdGeExtents2d ext, UInt32 /*SIMPLETYPE*/ loopAmount, UInt32 /*SIMPLETYPE*/ maxHatchDensity, bool isMPolygon, out bool bHatchTooDense) {
3036 bool ret = GlobalsPINVOKE.checkDenstiy(OdGeLineSeg2dArray.getCPtr(segmentArray), OdIntArray.getCPtr(loopArray).Handle, OdHatchPattern.getCPtr(hp), OdGeExtents2d.getCPtr(ext), loopAmount /*SIMPLETYPE*/, maxHatchDensity /*SIMPLETYPE*/, isMPolygon, out bHatchTooDense);
3038 return ret;
3039 }
3040
3041 public static OdResult evaluateDashedHatch(GiLoopListCustom giLoopList, OdHatchPattern hatchPattern, OdGeIslandStyle eHatchStyle, double dViewRotation, double dDeviation, UInt32 /*SIMPLETYPE*/ loopAmount, UInt32 /*SIMPLETYPE*/ pointLimit, UInt32 /*SIMPLETYPE*/ maxHatchDensity, UInt32 /*SIMPLETYPE*/ maxPointsToDraw, Int16 /*SIMPLETYPE*/ 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) {
3042 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));
3044 return ret;
3045 }
3046
3047 public static OdResult evaluateDashedHatch(GiLoopListCustom giLoopList, OdHatchPattern hatchPattern, OdGeIslandStyle eHatchStyle, double dViewRotation, double dDeviation, UInt32 /*SIMPLETYPE*/ loopAmount, UInt32 /*SIMPLETYPE*/ pointLimit, UInt32 /*SIMPLETYPE*/ maxHatchDensity, UInt32 /*SIMPLETYPE*/ maxPointsToDraw, Int16 /*SIMPLETYPE*/ 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) {
3048 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));
3050 return ret;
3051 }
3052
3054 string ret = GlobalsPINVOKE.convertTextToCodePage(source, (int)arg1, (int)arg2);
3056 return ret;
3057}
3058
3059 public static OdCodePageId mapCodepage(Int16 /*SIMPLETYPE*/ cp) {
3060 OdCodePageId ret = (OdCodePageId)GlobalsPINVOKE.mapCodepage(cp /*SIMPLETYPE*/);
3062 return ret;
3063 }
3064
3065 public static Int16 reMapCodepage(OdCodePageId id) {
3066// test csout
3067 /*SIMPLETYPE*/
3068 Int16 ret = GlobalsPINVOKE.reMapCodepage((int)id);
3070 return ret;
3071 }
3072
3073 public static bool isAsianCodepage(OdCodePageId codePage) {
3074 bool ret = GlobalsPINVOKE.isAsianCodepage((int)codePage);
3076 return ret;
3077 }
3078
3079 public static OdCodePageId GetCPageIdByName(String CodePage) {
3082 return ret;
3083 }
3084
3085 public static String getCodePageStr(int index) {
3086 string ret = GlobalsPINVOKE.getCodePageStr(index);
3088 return ret;
3089}
3090
3091 public static bool IsMultiByteCodePage(OdCodePageId id) {
3092 bool ret = GlobalsPINVOKE.IsMultiByteCodePage((int)id);
3094 return ret;
3095 }
3096
3097 public static String oddbConvertTextToCodePage(String source, OdCodePageId sourceId, OdCodePageId destId) {
3098 string ret = GlobalsPINVOKE.oddbConvertTextToCodePage(source, (int)sourceId, (int)destId);
3100 return ret;
3101}
3102
3103 public static char checkSpecialSymbol(OdFont pFont, char /*SIMPLETYPE*/ sym, out bool isSpecSym) {
3104// test csout
3105 /*SIMPLETYPE*/
3106 char ret = GlobalsPINVOKE.checkSpecialSymbol(OdFont.getCPtr(pFont), sym /*SIMPLETYPE*/, out isSpecSym);
3108 return ret;
3109 }
3110
3111 public static UInt32 lMaxDwfResolution {
3112 get {
3113 /*SIMPLETYPE*/
3116 return ret;
3117 }
3118 }
3119
3123 return ret;
3124 }
3125
3126 public static bool OdGiRasterImage_isColorPresent(OdGiRasterImage pImage, UInt32 /*SIMPLETYPE*/ color, bool bDoAlphaStrongOnly) {
3127 bool ret = GlobalsPINVOKE.OdGiRasterImage_isColorPresent__SWIG_0(OdGiRasterImage.getCPtr(pImage), color /*SIMPLETYPE*/, bDoAlphaStrongOnly);
3129 return ret;
3130 }
3131
3132 public static bool OdGiRasterImage_isColorPresent(OdGiRasterImage pImage, UInt32 /*SIMPLETYPE*/ color) {
3133 bool ret = GlobalsPINVOKE.OdGiRasterImage_isColorPresent__SWIG_1(OdGiRasterImage.getCPtr(pImage), color /*SIMPLETYPE*/);
3135 return ret;
3136 }
3137
3141 return ret;
3142 }
3143
3144 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) {
3145 /*OUT_PARAM for SMARTPTR pre*/ IntPtr tmp_inStream = inStream == null ? IntPtr.Zero : OdStreamBuf.getCPtr(inStream).Handle;
3146 IntPtr saved_inStream = tmp_inStream;
3147 /*OUT_PARAM for SMARTPTR pre*/
3148 /*OUT_PARAM for SMARTPTR pre*/ IntPtr tmp_outStream = outStream == null ? IntPtr.Zero : OdStreamBuf.getCPtr(outStream).Handle;
3149 IntPtr saved_outStream = tmp_outStream;
3150 /*OUT_PARAM for SMARTPTR pre*/
3151 try {
3152 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));
3154 } finally {
3155if(tmp_inStream == IntPtr.Zero) inStream = null;
3156 if(tmp_inStream != IntPtr.Zero && tmp_inStream != saved_inStream)
3157 {
3158 MemoryTransaction mTrans_inStream = MemoryManager.GetMemoryManager().GetCurrentTransaction();
3159 if(mTrans_inStream != null)
3160 mTrans_inStream.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdStreamBuf>(typeof(OdStreamBuf), tmp_inStream, true));
3161 inStream = Teigha.Core.Helpers.odCreateObjectInternal<OdStreamBuf>(typeof(OdStreamBuf), tmp_inStream, mTrans_inStream == null);
3162 /*OUT_PARAM for SMARTPTR*/
3163 }
3164if(tmp_outStream == IntPtr.Zero) outStream = null;
3165 if(tmp_outStream != IntPtr.Zero && tmp_outStream != saved_outStream)
3166 {
3167 MemoryTransaction mTrans_outStream = MemoryManager.GetMemoryManager().GetCurrentTransaction();
3168 if(mTrans_outStream != null)
3169 mTrans_outStream.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdStreamBuf>(typeof(OdStreamBuf), tmp_outStream, true));
3170 outStream = Teigha.Core.Helpers.odCreateObjectInternal<OdStreamBuf>(typeof(OdStreamBuf), tmp_outStream, mTrans_outStream == null);
3171 /*OUT_PARAM for SMARTPTR*/
3172 }
3173 }
3174 }
3175
3176 public static void clearLayersData() {
3179 }
3180
3181 public static PDFName CreateOC4Layer(String layer_name, PDFDocument PDFDoc, PDFResourceDictionary resource_dict, bool bVisible, bool bLocked) {
3182 MemoryManager mMan = MemoryManager.GetMemoryManager();
3183 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #25
3184 IntPtr ptr = GlobalsPINVOKE.CreateOC4Layer__SWIG_0(layer_name, PDFDocument.getCPtr(PDFDoc), PDFResourceDictionary.getCPtr(resource_dict), bVisible, bLocked);
3185
3186 PDFName ret = null;
3187 if (null != mTrans)
3188 {
3189 mTrans.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<PDFName>(typeof(PDFName), ptr, true));
3190 ret = Teigha.Core.Helpers.odCreateObjectInternal<PDFName>(typeof(PDFName), ptr, false);
3191 }
3192 else
3193 {
3194 ret = Teigha.Core.Helpers.odCreateObjectInternal<PDFName>(typeof(PDFName), ptr, true);
3195 }
3196
3198 return ret;
3199}
3200
3201 public static PDFName CreateOC4Layer(String layer_name, PDFDocument PDFDoc, PDFResourceDictionary resource_dict, bool bVisible) {
3202 MemoryManager mMan = MemoryManager.GetMemoryManager();
3203 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #25
3204 IntPtr ptr = GlobalsPINVOKE.CreateOC4Layer__SWIG_1(layer_name, PDFDocument.getCPtr(PDFDoc), PDFResourceDictionary.getCPtr(resource_dict), bVisible);
3205
3206 PDFName ret = null;
3207 if (null != mTrans)
3208 {
3209 mTrans.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<PDFName>(typeof(PDFName), ptr, true));
3210 ret = Teigha.Core.Helpers.odCreateObjectInternal<PDFName>(typeof(PDFName), ptr, false);
3211 }
3212 else
3213 {
3214 ret = Teigha.Core.Helpers.odCreateObjectInternal<PDFName>(typeof(PDFName), ptr, true);
3215 }
3216
3218 return ret;
3219}
3220
3221 public static PDFName createOCG(String name, PDFOCConfigurationDictionary pOCC, bool bVisible, bool bLocked, PDFResourceDictionary pResource) {
3222 MemoryManager mMan = MemoryManager.GetMemoryManager();
3223 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #25
3224 IntPtr ptr = GlobalsPINVOKE.createOCG(name, PDFOCConfigurationDictionary.getCPtr(pOCC), bVisible, bLocked, PDFResourceDictionary.getCPtr(pResource));
3225
3226 PDFName ret = null;
3227 if (null != mTrans)
3228 {
3229 mTrans.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<PDFName>(typeof(PDFName), ptr, true));
3230 ret = Teigha.Core.Helpers.odCreateObjectInternal<PDFName>(typeof(PDFName), ptr, false);
3231 }
3232 else
3233 {
3234 ret = Teigha.Core.Helpers.odCreateObjectInternal<PDFName>(typeof(PDFName), ptr, true);
3235 }
3236
3238 return ret;
3239}
3240
3241 public static PDFName getOCGbyName(String name, PDFDocument PDFDoc, PDFResourceDictionary pResource) {
3242 MemoryManager mMan = MemoryManager.GetMemoryManager();
3243 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #25
3244 IntPtr ptr = GlobalsPINVOKE.getOCGbyName(name, PDFDocument.getCPtr(PDFDoc), PDFResourceDictionary.getCPtr(pResource));
3245
3246 PDFName ret = null;
3247 if (null != mTrans)
3248 {
3249 mTrans.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<PDFName>(typeof(PDFName), ptr, true));
3250 ret = Teigha.Core.Helpers.odCreateObjectInternal<PDFName>(typeof(PDFName), ptr, false);
3251 }
3252 else
3253 {
3254 ret = Teigha.Core.Helpers.odCreateObjectInternal<PDFName>(typeof(PDFName), ptr, true);
3255 }
3256
3258 return ret;
3259}
3260
3262 MemoryManager mMan = MemoryManager.GetMemoryManager();
3263 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #25
3264 IntPtr ptr = GlobalsPINVOKE.getOCGNodeByName(name, PDFDocument.getCPtr(PDFDoc));
3265
3266 PDFPageNodeDictionary ret = null;
3267 if (null != mTrans)
3268 {
3269 mTrans.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<PDFPageNodeDictionary>(typeof(PDFPageNodeDictionary), ptr, true));
3270 ret = Teigha.Core.Helpers.odCreateObjectInternal<PDFPageNodeDictionary>(typeof(PDFPageNodeDictionary), ptr, false);
3271 }
3272 else
3273 {
3274 ret = Teigha.Core.Helpers.odCreateObjectInternal<PDFPageNodeDictionary>(typeof(PDFPageNodeDictionary), ptr, true);
3275 }
3276
3278 return ret;
3279}
3280
3281 public static void dcImageToPdfImage(OdGiRasterImage pRaster, PDFImage pImage, bool bTransparency, double brightness, double contrast, double fade, UInt32 /*SIMPLETYPE*/ entityColor, PDFDocument PDFDoc, UInt32 /*SIMPLETYPE*/ bgColor, UInt16 /*SIMPLETYPE*/ quality, PDFResourceDictionary pResDict, bool isHatch) {
3282 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);
3284 }
3285
3286 public static void dcImageToPdfImage(OdGiRasterImage pRaster, PDFImage pImage, bool bTransparency, double brightness, double contrast, double fade, UInt32 /*SIMPLETYPE*/ entityColor, PDFDocument PDFDoc, UInt32 /*SIMPLETYPE*/ bgColor, UInt16 /*SIMPLETYPE*/ quality, PDFResourceDictionary pResDict) {
3287 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));
3289 }
3290
3291 public static PDFImage addNewImage(PDFDocument PDFDoc, PDFResourceDictionary pResDict, bool bMask) {
3292 MemoryManager mMan = MemoryManager.GetMemoryManager();
3293 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #25
3295
3296 PDFImage ret = null;
3297 if (null != mTrans)
3298 {
3299 mTrans.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<PDFImage>(typeof(PDFImage), ptr, true));
3300 ret = Teigha.Core.Helpers.odCreateObjectInternal<PDFImage>(typeof(PDFImage), ptr, false);
3301 }
3302 else
3303 {
3304 ret = Teigha.Core.Helpers.odCreateObjectInternal<PDFImage>(typeof(PDFImage), ptr, true);
3305 }
3306
3308 return ret;
3309}
3310
3311 public static PDFImage addNewImage(PDFDocument PDFDoc, PDFResourceDictionary pResDict) {
3312 MemoryManager mMan = MemoryManager.GetMemoryManager();
3313 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #25
3315
3316 PDFImage ret = null;
3317 if (null != mTrans)
3318 {
3319 mTrans.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<PDFImage>(typeof(PDFImage), ptr, true));
3320 ret = Teigha.Core.Helpers.odCreateObjectInternal<PDFImage>(typeof(PDFImage), ptr, false);
3321 }
3322 else
3323 {
3324 ret = Teigha.Core.Helpers.odCreateObjectInternal<PDFImage>(typeof(PDFImage), ptr, true);
3325 }
3326
3328 return ret;
3329}
3330
3331 public static OdRxObject odCreatePrcAllInSingleViewContextBase() {// OdRxObjectPtr
3332 MemoryManager mMan = MemoryManager.GetMemoryManager();
3333 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
3335
3336 OdRxObject ret = null;
3337 if (null != mTrans)
3338 {
3339 mTrans.AddObject((OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, true));
3340 ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, false);
3341 }
3342 else
3343 {
3344 ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, true);
3345 }
3346
3348 return ret;
3349}
3350
3351 public static OdRxObject odCreatePrcAllInSingleViewContextForTD() {// OdRxObjectPtr
3352 MemoryManager mMan = MemoryManager.GetMemoryManager();
3353 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
3355
3356 OdRxObject ret = null;
3357 if (null != mTrans)
3358 {
3359 mTrans.AddObject((OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, true));
3360 ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, false);
3361 }
3362 else
3363 {
3364 ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, true);
3365 }
3366
3368 return ret;
3369}
3370
3372 MemoryManager mMan = MemoryManager.GetMemoryManager();
3373 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
3375
3376 OdRxObject ret = null;
3377 if (null != mTrans)
3378 {
3379 mTrans.AddObject((OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, true));
3380 ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, false);
3381 }
3382 else
3383 {
3384 ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, true);
3385 }
3386
3388 return ret;
3389}
3390
3392 MemoryManager mMan = MemoryManager.GetMemoryManager();
3393 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
3395
3396 OdRxObject ret = null;
3397 if (null != mTrans)
3398 {
3399 mTrans.AddObject((OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, true));
3400 ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, false);
3401 }
3402 else
3403 {
3404 ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, true);
3405 }
3406
3408 return ret;
3409}
3410
3411 public static OdRxObject odCreatePrcDefaultContextForTD() {// OdRxObjectPtr
3412 MemoryManager mMan = MemoryManager.GetMemoryManager();
3413 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
3415
3416 OdRxObject ret = null;
3417 if (null != mTrans)
3418 {
3419 mTrans.AddObject((OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, true));
3420 ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, false);
3421 }
3422 else
3423 {
3424 ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, true);
3425 }
3426
3428 return ret;
3429}
3430
3431 public static OdRxObject odCreatePrcAllInSingleViewContextForDGN() {// OdRxObjectPtr
3432 MemoryManager mMan = MemoryManager.GetMemoryManager();
3433 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
3435
3436 OdRxObject ret = null;
3437 if (null != mTrans)
3438 {
3439 mTrans.AddObject((OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, true));
3440 ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, false);
3441 }
3442 else
3443 {
3444 ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, true);
3445 }
3446
3448 return ret;
3449}
3450
3451 public static OdRxObject odCreatePrcAllInSingleViewContextForBIM() {// OdRxObjectPtr
3452 MemoryManager mMan = MemoryManager.GetMemoryManager();
3453 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
3455
3456 OdRxObject ret = null;
3457 if (null != mTrans)
3458 {
3459 mTrans.AddObject((OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, true));
3460 ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, false);
3461 }
3462 else
3463 {
3464 ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),ptr, true);
3465 }
3466
3468 return ret;
3469}
3470
3471 public static PdfExportServiceInterface getPdfExportService() {// PdfExportServiceInterfacePtr
3472 MemoryManager mMan = MemoryManager.GetMemoryManager();
3473 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
3474 IntPtr ptr = GlobalsPINVOKE.getPdfExportService();
3475
3476 PdfExportServiceInterface ret = null;
3477 if (null != mTrans)
3478 {
3479 mTrans.AddObject((PdfExportServiceInterface)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(PdfExportServiceInterface),ptr, true));
3480 ret = (PdfExportServiceInterface)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(PdfExportServiceInterface),ptr, false);
3481 }
3482 else
3483 {
3484 ret = (PdfExportServiceInterface)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(PdfExportServiceInterface),ptr, true);
3485 }
3486
3488 return ret;
3489}
3490
3491 public static readonly uint UINT_MAX = GlobalsPINVOKE.UINT_MAX_get();
3492 public static readonly uint ULONG_MAX = GlobalsPINVOKE.ULONG_MAX_get();
3493 public static readonly int _MSC_VER = GlobalsPINVOKE._MSC_VER_get();
3494 public static readonly int ODCHAR_IS_INT16LE = GlobalsPINVOKE.ODCHAR_IS_INT16LE_get();
3495 public static readonly int OD_SIZEOF_INT = GlobalsPINVOKE.OD_SIZEOF_INT_get();
3496 public static readonly int OD_SIZEOF_LONG = GlobalsPINVOKE.OD_SIZEOF_LONG_get();
3497 public static readonly string PERCENT18LONG = GlobalsPINVOKE.PERCENT18LONG_get();
3498 public static readonly string HANDLEFORMAT = GlobalsPINVOKE.HANDLEFORMAT_get();
3499 public static readonly string PRId64 = GlobalsPINVOKE.PRId64_get();
3500 public static readonly string PRIu64 = GlobalsPINVOKE.PRIu64_get();
3501 public static readonly string PRIx64 = GlobalsPINVOKE.PRIx64_get();
3502 public static readonly string PRIX64 = GlobalsPINVOKE.PRIX64_get();
3503 public static readonly int OD_SIZEOF_PTR = GlobalsPINVOKE.OD_SIZEOF_PTR_get();
3504 public const int SEEK_SET = 0;
3505 public const int SEEK_CUR = 1;
3506 public const int SEEK_END = 2;
3507 public const int _WIN32_WINNT = 0x0501;
3508 public const double OdaPI = 3.14159265358979323846;
3509 public const double OdaPI2 = (3.14159265358979323846/2.0);
3510 public const double OdaPI4 = (3.14159265358979323846/4.0);
3511 public const double Oda2PI = (3.14159265358979323846+3.14159265358979323846);
3512 public const int ODPDF_DEFAULT_FONT_WIDTH = 1000;
3513 public const int IMAGE_MAJOR_VER = 2;
3514 public const int IMAGE_MINOR_VER = 0;
3515 public const int IMAGE_CORRECTIVE_VER = 0;
3516 public const int IMAGE_INTERNAL_VER = 0;
3517 public const int kOdGiIncludeScores = 2;
3518 public const int kOdGiRawText = 4;
3519 public const int kOdGiIncludePenups = 8;
3520 public const int kOdGiDrawShape = 16;
3521 public const int kOdGiIgnoreMIF = 32;
3522 public const int kOdGiLastPosOnly = 64;
3523 public const int kOdGiTextExtents = 0x10000000;
3524
3525 public const double INVALIDEXTENTS = 1.0e20;
3526 public const int SCALAR_MIN = (-2147483647-1);
3527 public const int SCALAR_MAX = 2147483647;
3528 public const int kNothing = 0;
3529 public const int kIsolines = 1;
3530 public const int kEdges = 2;
3531 public const int kShells = 4;
3532 public const int kOrderedEdges = 8;
3533 public const int kSurfIsolines = 16;
3534 public const int kShellsWithoutWires = 32;
3535 public const int kShellsWithoutWiresWithEdgeColors = 64;
3536 public const int kVertices = 128;
3537 public const int kOptimizedShells = 256;
3538
3539 public const uint kOdDbIdAllBits = 0xFFFFFFFF;
3540 public const string ABSTREAM_BINARY = "ACIS BinaryFile";
3541 public const string ABSTREAM_BINARY_ASM = "ASM BinaryFile4";
3542 public const int AB_TYPE_LENGTH = 15;
3543 public const int kOdDbIdModified = 0x00000001;
3544 public const int kOdDbIdErased = 0x00000002;
3545 public const int kOdDbIdProcessed = 0x00000004;
3546 public const int kOdDbIdLoading = 0x00000008;
3547 public const int kOdDbIdTruncXref = 0x00000010;
3548 public const int kOdDbIdOwned = 0x00000020;
3549 public const int kOdDbIdReferenced = 0x00000040;
3550 public const int kOdDbIdJustAppended = 0x00000080;
3551 public const int kOdDbIdUserMask = 0x000000FF;
3552 public const int kErasedPermanently = 0x10000000;
3553 public const int kObjectLeftOnDisk = 0x20000000;
3554 public const int kObjectSameOnDisk = 0x40000000;
3555 public const uint kObjectPageOnDisk = 0x80000000;
3556 public const int kOdDbIdMapping = 0x01000000;
3557 public const int kOdDbIdMapFlag = 0x02000000;
3558 public const int kOdDbIdMapOwnerXlated = 0x04000000;
3559 public const int kOdDbIdMapCloned = 0x08000000;
3560 public const int kOdDbIdMapPrimary = 0x00001000;
3561 public const int kOdDbIdMapMask = 0x0E001000;
3562 public const int kOdDbIdMappingMask = 0x0F001000;
3563 public const int kOdDbIdRedirected = 0x00000100;
3564 public const int kOdDbIdNoAutoLock = 0x00000200;
3565 public const int kOdDbObjectLocked = 0x00000400;
3566 public const int kComposeForLoadCalled = 0x00000800;
3567 public const int kOdDatabaseFlag = 0x00100000;
3568 public const int kOdDbIdBlkChgIterFlag = 0x00200000;
3569 public const int kOdDbIdNdxUpdtDataFlag = 0x00400000;
3570 public const int kOdDbIdSingleAuxData = 0x00800000;
3571 public const int kOdDbIdIndexData = 0x00010000;
3572 public const int kOdDbIdMappingData = 0x00020000;
3573 public const int kOdDbIdPaging = 0x00040000;
3574 public const int kOdDbNullTransResident = 0x00080000;
3575 public const int lit_ = 0x20;
3576 public const int lit_0 = 0x30;
3577 public const int lit_1 = 0x31;
3578 public const int lit_2 = 0x32;
3579 public const int lit_3 = 0x33;
3580 public const int lit_4 = 0x34;
3581 public const int lit_5 = 0x35;
3582 public const int lit_6 = 0x36;
3583 public const int lit_7 = 0x37;
3584 public const int lit_8 = 0x38;
3585 public const int lit_9 = 0x39;
3586 public const int lit_A = 0x41;
3587 public const int lit_B = 0x42;
3588 public const int lit_C = 0x43;
3589 public const int lit_D = 0x44;
3590 public const int lit_E = 0x45;
3591 public const int lit_F = 0x46;
3592 public const int lit_G = 0x47;
3593 public const int lit_H = 0x48;
3594 public const int lit_I = 0x49;
3595 public const int lit_J = 0x4A;
3596 public const int lit_K = 0x4B;
3597 public const int lit_L = 0x4C;
3598 public const int lit_M = 0x4D;
3599 public const int lit_N = 0x4E;
3600 public const int lit_O = 0x4F;
3601 public const int lit_P = 0x50;
3602 public const int lit_Q = 0x51;
3603 public const int lit_R = 0x52;
3604 public const int lit_S = 0x53;
3605 public const int lit_T = 0x54;
3606 public const int lit_U = 0x55;
3607 public const int lit_V = 0x56;
3608 public const int lit_W = 0x57;
3609 public const int lit_X = 0x58;
3610 public const int lit_Y = 0x59;
3611 public const int lit_Z = 0X5A;
3612 public const int lit_a = 0x61;
3613 public const int lit_b = 0x62;
3614 public const int lit_c = 0x63;
3615 public const int lit_d = 0x64;
3616 public const int lit_e = 0x65;
3617 public const int lit_f = 0x66;
3618 public const int lit_g = 0x67;
3619 public const int lit_h = 0x68;
3620 public const int lit_i = 0x69;
3621 public const int lit_j = 0x6A;
3622 public const int lit_k = 0x6B;
3623 public const int lit_l = 0x6C;
3624 public const int lit_m = 0x6D;
3625 public const int lit_n = 0x6E;
3626 public const int lit_o = 0x6F;
3627 public const int lit_p = 0x70;
3628 public const int lit_q = 0x71;
3629 public const int lit_r = 0x72;
3630 public const int lit_s = 0x73;
3631 public const int lit_t = 0x74;
3632 public const int lit_u = 0x75;
3633 public const int lit_v = 0x76;
3634 public const int lit_w = 0x77;
3635 public const int lit_x = 0x78;
3636 public const int lit_y = 0x79;
3637 public const int lit_z = 0x7A;
3638 public const string ODRX_STATIC_MODULE_PATH = "";
3639 public const string APPNAME_ODAMFC = "ODA Drawings Debug";
3640 public const string APPNAME_ODADGN = "ODA Dgn Debug";
3641 public const string APPNAME_ODAPRC = "ODA PRC Debug";
3642 public const string APPNAME_ODABIM = "ODA BIM Debug";
3643 public const int WRITING_BUFFER_LENGTH = 1024*8;
3644 public const double SKIP_RATIO = 0.00035;
3645 public const int POINTS_LIMIT = 7500;
3646 public const int CROP_ZEROES_FOR_ALL = 6;
3647 public const int CROP_ZEROES_FOR_RGB = 6;
3648 public const int FORMAT_BUF_LEN = 512;
3649}
3650
3651}
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:849
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:2558
delegate OdResult OdTfPropertySetterTypeDelegateNative(IntPtr arg1, IntPtr arg2)
static OdCodePageId mapCodepage(Int16 cp)
Definition: Globals.cs:3059
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:3221
static bool OdNonZero(double x)
Definition: Globals.cs:67
static void getUnicodeTextString(String pStr, PDFTextString pUnicodeStr)
Definition: Globals.cs:468
static void odgiSetTextExtentsCacheCapacity(uint size)
Definition: Globals.cs:1137
delegate void ODDBHYPERLINK_CALLBACKDelegateNative(IntPtr obj)
static OdGeNurbSurface convertFrom(OdGeSurface source)
Definition: Globals.cs:1418
static bool isAsianCodepage(OdCodePageId codePage)
Definition: Globals.cs:3073
static void odrxUninitialize()
Definition: Globals.cs:2144
static bool processGradientHatch(SWIGTYPE_p_OdSharedPtrT_OdGeShellData_t pShell, String gradName, double dShift, double dAngle, int r1, int g1, int b1, int r2, int g2, int b2)
Definition: Globals.cs:3017
static OdGeVector2d Mul(OdGeMatrix2d xfm, OdGeVector2d vect)
Definition: Globals.cs:746
static bool triangulateProfile(OdGePoint2dArray vertexSource, IntVectorStd inFaceData, OdLongArray vecTriangles, double tol)
Definition: Globals.cs:2513
static IntPtr kNullSubentIndex
Definition: Globals.cs:901
static UInt32 odrxMultiCastBkObject(OdRxObject pObject, OdRxClass pClasses, UInt32 nClasses)
Definition: Globals.cs:2107
static OdGeNurbCurve3d convertFrom(OdGeCurve3d source)
Definition: Globals.cs:2545
delegate void GripOpStatusPtrDelegate(OdDbGripData pThis, OdDbStub entId, GripStatus status)
static bool odgsDbObjectIDRedirected(OdDbStub pId)
Definition: Globals.cs:2285
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:1640
static int OdRoundToLong(double a)
Definition: Globals.cs:827
static int OdSign(int x)
Definition: Globals.cs:139
static void addLocalHeaps(uint nThreadId, UInt32 aThreadId)
Definition: Globals.cs:1073
static OdTfClass newOdTfClass(String name, OdRxClass pBaseClass, Globals.OdTfAttributesConstructorTypeDelegate pAttrsConstr, Globals.OdTfPropertiesConstructorTypeDelegate pPropsConstr, Globals.OdPseudoConstructorTypeDelegate pConstr)
Definition: Globals.cs:1498
static double paramFromAngle(double angle, double radiusRatio)
Definition: Globals.cs:2570
static UInt64 odFNV64aHashBuf(IntPtr buf, uint len)
Definition: Globals.cs:2418
static void OdGeDrawSegmentHatch(OdGeLineSeg2dArray segments, OdIntArray loops, OdIntArray loopTypes, OdGeHatchStrokes StrokeParams, OdGeIslandStyle iStyle, bool isSolid, OdGeLineSeg2dArray strokes, OdGeTol tol)
Definition: Globals.cs:2942
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:1976
static void odDbRootInitialize()
Definition: Globals.cs:438
static void odgsInitialize()
Definition: Globals.cs:458
static PdfExportServiceInterface getPdfExportService()
Definition: Globals.cs:3471
delegate OdTfAttributePtrArray OdTfAttributesConstructorTypeDelegate(OdRxObject arg)
static UInt32[] odcmAcadPlotPalette()
Definition: Globals.cs:2852
static void odrxRegisterDestructorCallback(Globals.ODRXOBJECT_CALLBACKDelegate callbackFunc)
Definition: Globals.cs:538
static UInt64 odFNV64HashStr(string str, UInt64 hval)
Definition: Globals.cs:2394
static String odDToStr(double val, char fmt, int prec)
Definition: Globals.cs:855
static bool checkDenstiy(OdGeLineSeg2dArray segmentArray, OdIntArray loopArray, OdHatchPattern hp, OdGeExtents2d ext, UInt32 loopAmount, UInt32 maxHatchDensity, bool isMPolygon, out bool bHatchTooDense)
Definition: Globals.cs:3035
static LineWeight lineWeightByIndex(int lw)
Definition: Globals.cs:2258
static OdGe.ErrorCondition geCalculatePlane(OdGeCurve3d[] curves, UInt32 numCurves, OdGePlane plane, OdGeTol tol)
Definition: Globals.cs:681
static bool extendExtents(out double minValue, out double maxValue, double value)
Definition: Globals.cs:1219
static double calculateDashTakerDeviation(OdGeExtents2d ext, double deviation)
Definition: Globals.cs:3029
static UInt32[] odcmAcadDarkPalette()
Definition: Globals.cs:2826
static UInt32 odrxMultiCastX(OdRxObject pObject, out OdRxObject pPointers, OdRxClass pClasses, UInt32 nClasses)
Definition: Globals.cs:1899
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:3286
static UInt32[] odcmAcadLightPalette()
Definition: Globals.cs:2839
static OdRxDictionary odrxServiceDictionary()
Definition: Globals.cs:1344
static OdRxObject odCreatePrcDefaultContextForTD()
Definition: Globals.cs:3411
static void odgiImageViewport(OdGiViewportGeometry pGeom, OdGiRasterImage pImage, OdGePoint3d pBoundary, bool bFilter, double brightness, double contrast)
Definition: Globals.cs:801
static bool isInvalid(ViewPropsArray props)
Definition: Globals.cs:1015
static String convertTextToCodePage(String source, OdCodePageId arg1, OdCodePageId arg2)
Definition: Globals.cs:3053
delegate void ODDBHYPERLINK_CALLBACKDelegate(OdDbHyperlink obj)
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:1172
static OdRxObject odgsDbGetDatabase(OdDbStub pId)
Definition: Globals.cs:2264
static OdGeVector3d Mul(OdGeMatrix3d matrix, OdGeVector3d vect)
Definition: Globals.cs:758
static bool OdGiRasterImage_isColorPresent(OdGiRasterImage pImage, UInt32 color, bool bDoAlphaStrongOnly)
Definition: Globals.cs:3126
delegate void ODRXOBJECT_CALLBACKDelegate(OdRxObject obj)
delegate bool OdCheckAssertGroupFuncDelegateNative(string group)
delegate void ODRXOBJECT_CALLBACKDelegateNative(IntPtr obj)
static int nOdVariantDataSize
Definition: Globals.cs:776
static OdGeDoubleArray getArray(OdGeKnotVector p)
Definition: Globals.cs:1263
static void odDToStr(string dst, double val, char fmt, int prec, int cropzeros)
Definition: Globals.cs:839
delegate void OdApcEntryPointRxObjParamDelegateNative(IntPtr parameter_)
static UInt32 odrxMultiCast(OdRxObject pObject, out OdRxObject pPointers, OdRxClass pClasses, UInt32 nClasses)
Definition: Globals.cs:1883
static int OdRxPropertyVariantDataSize
Definition: Globals.cs:1271
delegate void OdEdCommandFunctionDelegate(OdEdCommandContext pCmdCtx)
static int getHexValue(int hexDigit)
Definition: Globals.cs:895
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:2015
static void odgiCalculateTextBasis(OdGeVector3d u, OdGeVector3d v, OdGeVector3d normal, OdGeVector3d direction, double height, double width, double oblique, bool bMirrorX)
Definition: Globals.cs:1114
delegate void ContextMenuItemIndexPtrDelegateNative(UInt32 itemIndex)
static PDFImage addNewImage(PDFDocument PDFDoc, PDFResourceDictionary pResDict, bool bMask)
Definition: Globals.cs:3291
delegate void GripViewportDrawPtrDelegate(OdDbGripData pThis, OdGiViewportDraw pWd, OdDbStub entId, DrawType type, OdGePoint3d imageGripPoint, int gripSize)
static OdGiPsLinetypes odgiGetPsLinetypesManager(UInt32 nDefs)
Definition: Globals.cs:2475
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:1297
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:2291
delegate void OdAssertFuncDelegateNative(string expresssion, string filename, int nLineNo)
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:1119
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:2984
static OdRxDictionary odrxCreateRxDictionary()
Definition: Globals.cs:1364
static OdGiDrawable fxOpenDrawable(OdGsBaseModel arg0, OdDbStub arg1)
Definition: Globals.cs:1083
static OdTfProperty createOdTfProperty()
Definition: Globals.cs:1734
delegate OdResult GripOperationPtrDelegateNative(IntPtr pThis, IntPtr entId, int iContextFlags)
static void moveIntoValidInter(double startAngleInV, double endAngleInV, out double v)
Definition: Globals.cs:2498
static bool odgiCalculateTriangleShellLoops(OdUInt32Array triangleIndicies, OdUInt32Array2d loops)
Definition: Globals.cs:2448
static OdRxDynamicLinker odrxDynamicLinker()
Definition: Globals.cs:1821
static OdGePoint3d Mul(double scale, OdGePoint3d point)
Definition: Globals.cs:790
delegate void SetPtrFuncDelegateNative(IntPtr pPlace_, IntPtr pValue_)
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:3241
static OdGiTransientManager odgiGetTransientManager(OdRxObject pObject)
Definition: Globals.cs:2454
delegate void OdApcEntryPointVoidParamDelegateNative(IntPtr _parameter)
static OdGiPsLinetypes odgiGetPsLinetypesManager()
Definition: Globals.cs:2481
static int lineWeightIndex(LineWeight lw)
Definition: Globals.cs:2252
delegate void AppNameChangeFuncPtrDelegateNative(IntPtr classObj, IntPtr newAppName, int saveVer)
static bool ABBreakToSingleBody(OdStreamBuf pStreamBuf, Int32 typeVer, bool standardSaveFlag, ISATConverterPtrArray entitySet)
Definition: Globals.cs:2899
static UInt32 odcmLookupRGB(int index, UInt32[] pPalette)
Definition: Globals.cs:2885
delegate IntPtr GripToolTipPtrDelegateNative(IntPtr pThis)
static UInt32 odFNV32HashStr(string str, UInt32 hval)
Definition: Globals.cs:2330
static void odrxUnregisterAuditInfoDestructorCallback()
Definition: Globals.cs:2247
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:3144
static OdGiColorRGB Mul(double s, OdGiColorRGB c)
Definition: Globals.cs:1190
static UInt32 odFNV32aHashStr(string str, UInt32 hval)
Definition: Globals.cs:2362
static OdGeNurbCurve3d convertFrom(OdGeCurve3d source, OdGeTol tol)
Definition: Globals.cs:2538
static double safeDivide(double a, double b)
Definition: Globals.cs:157
static bool OdGreaterOrEqual(double x, double y)
Definition: Globals.cs:127
static UInt32 odFNV32HashBuf(IntPtr buf, uint len)
Definition: Globals.cs:2322
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:2493
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:1999
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:2582
static UInt32 odFNV32HashBuf(IntPtr buf, uint len, UInt32 hval)
Definition: Globals.cs:2314
static OdRxObject odCreatePrcAllInSingleViewContextForDGN()
Definition: Globals.cs:3431
static uint odgiGetTextExtentsCacheCapacity()
Definition: Globals.cs:1131
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:3041
static void OdGeDrawSegmentHatchXY(OdGeLineSeg2dArray segments, OdIntArray loops, OdIntArray loopTypes, OdGeHatchStrokes StrokeParams, OdGeIslandStyle iStyle, bool isSolid, OdGeLineSeg2dArray strokes)
Definition: Globals.cs:2967
static SWIGTYPE_p_ODCOLORREF odcmAcadDynamicPalette(UInt32 backgr)
Definition: Globals.cs:2878
static void odgiSetTransientManager(OdGiTransientManager pManager, OdRxObject pObject)
Definition: Globals.cs:2461
static bool OdNonZero(double x, double tol)
Definition: Globals.cs:61
static bool triangulateProfile(OdGePoint2dArray vertexSource, IntVectorStd inFaceData, OdLongArray vecTriangles)
Definition: Globals.cs:2519
static void odCleanUpStaticData()
Definition: Globals.cs:2154
static OdGe.ErrorCondition geSolidSignedVolume(OdGePoint3dArray points, out double volume, OdGePoint3d basePoint)
Definition: Globals.cs:584
static bool odgsDbObjectIDErased(OdDbStub pId)
Definition: Globals.cs:2308
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:1184
static void makeInterValid(out double startAngle, out double endAngle)
Definition: Globals.cs:2508
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:2957
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:2781
static OdResult odgeDrawDashedHatch(OdHatchPattern pattern, OdGeLineSeg2dArray segmentArray, OdIntArray loopArray, OdIntArray loopTypes, OdGeTol hatchTolerance, OdGeIslandStyle islandStyle, UInt32 maxHatchDensity, OdGeHatchDashTaker dashTaker)
Definition: Globals.cs:2996
static UInt64 odFNV64HashBuf(IntPtr buf, uint len)
Definition: Globals.cs:2386
delegate IntPtr OdTfAttributesConstructorTypeDelegateNative(IntPtr arg)
static bool odgiIsClipped(OdGiModelToViewProc pThis)
Definition: Globals.cs:1067
delegate OdTfVariant OdTfVariantConstructorTypeDelegate()
static UInt32 odrxMultiCastFwd(OdRxObject pObject, ref OdRxObject pPointer, OdRxClass pClasses, UInt32 nClasses)
Definition: Globals.cs:1930
static void odgiImageViewport(OdGiViewportGeometry pGeom, OdGiRasterImage pImage, OdGePoint3d pBoundary, bool bFilter, double brightness, double contrast, double fade)
Definition: Globals.cs:796
static UInt32 odrxMultiCastFwd_(OdRxClass pClass, OdRxObject pObject, ref OdRxObject pPointer, OdRxClass pClasses, UInt32 nClasses)
Definition: Globals.cs:1907
static UInt32 odrxMultiCastFwdObject(OdRxObject pObject, OdRxClass pClasses, UInt32 nClasses)
Definition: Globals.cs:2007
static OdGiColorRGB Add(double s, OdGiColorRGB c)
Definition: Globals.cs:1154
static bool OdLess(double x, double y)
Definition: Globals.cs:91
static Int16 reMapCodepage(OdCodePageId id)
Definition: Globals.cs:3065
static void OdGeDrawSegmentHatch(OdGeLineSeg2dArray segments, OdIntArray loops, OdIntArray loopTypes, OdGeHatchStrokes StrokeParams, OdGeIslandStyle iStyle, bool isSolid, OdGeLineSeg2dArray strokes, OdGeTol tol, OdGeStrokeDataArray pStrokeData)
Definition: Globals.cs:2937
static void OdClearFontTable()
Definition: Globals.cs:2189
static UInt32 odrxMultiCastFwdX(OdRxObject pObject, ref OdRxObject pPointer, OdRxClass pClasses, UInt32 nClasses)
Definition: Globals.cs:2038
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:3047
static OdGe.ErrorCondition geValidSolid(OdGePoint3dArray points, out bool isValid, OdGeTol tol)
Definition: Globals.cs:572
static int getMIFIndex(OdCodePageId id)
Definition: Globals.cs:2194
static void odrxUnregisterDestructorCallback()
Definition: Globals.cs:567
static bool geNurb3dTo2d(OdGeNurbCurve3d nurb3d, OdGePlane plane, OdGeNurbCurve2d nurb2d)
Definition: Globals.cs:699
static bool odrxInitialize(OdRxSystemServices pSysSvcs)
Definition: Globals.cs:2138
static UInt64 odFNV64HashBuf(IntPtr buf, uint len, UInt64 hval)
Definition: Globals.cs:2378
static OdGiColorRGB Sub(OdGiColorRGB c1, OdGiColorRGB c2)
Definition: Globals.cs:1160
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:3281
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:3103
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:2531
static OdRxObject odCreatePrcOnlySolidsMultiViewContextForTD()
Definition: Globals.cs:3371
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:1741
static bool OdZero(double x)
Definition: Globals.cs:55
static void odgiEmptyClipBoundary(OdGiClipBoundary clipBoundary)
Definition: Globals.cs:993
delegate void MainThreadFuncDelegate(IntPtr arg1)
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:3007
delegate void OdTraceFuncDelegateNative(IntPtr debugString)
static OdGe.ErrorCondition geCalculateNormal(OdGePoint3dArray points, OdGeVector3d pNormal)
Definition: Globals.cs:596
static double odStrToD(String arg0)
Definition: Globals.cs:873
static OdEdCommandStack odedRegCmds()
Definition: Globals.cs:2588
static OdTfClass newOdTfClass(String name, OdRxClass pBaseClass, Globals.OdTfAttributesConstructorTypeDelegate pAttrsConstr, Globals.OdTfPropertiesConstructorTypeDelegate pPropsConstr, Globals.OdPseudoConstructorTypeDelegate pConstr, bool bRegister)
Definition: Globals.cs:1425
static UInt32 odrxMultiCastObject(OdRxObject pObject, bool pCasts, OdRxClass pClasses, UInt32 nClasses)
Definition: Globals.cs:1891
static OdError OdErrorByCodeAndMessage(OdResult iResCode, string iMessage)
Definition: Globals.cs:2576
static OdResult odgeDrawDashedHatch(OdHatchPattern pattern, OdGeLineSeg2dArray segmentArray, OdIntArray loopArray, OdIntArray loopTypes, OdGeTol hatchTolerance, OdGeIslandStyle islandStyle, UInt32 maxHatchDensity, OdGeHatchDashTaker dashTaker, bool bCheckDense)
Definition: Globals.cs:2990
static PDFPageNodeDictionary getOCGNodeByName(String name, PDFDocument PDFDoc)
Definition: Globals.cs:3261
delegate string GripToolTipPtrDelegate(OdDbGripData pThis)
static String oddbConvertTextToCodePage(String source, OdCodePageId sourceId, OdCodePageId destId)
Definition: Globals.cs:3097
static bool odcmIsBackgroundLight(UInt32 backgroung)
Definition: Globals.cs:2820
static OdGePoint2d Mul(OdGeMatrix2d matrix, OdGePoint2d point)
Definition: Globals.cs:770
static OdRxObject odCreatePrcAllInSingleViewContextBase()
Definition: Globals.cs:3331
static OdRxObject odrxCreateObject(String sClassName)
Definition: Globals.cs:518
static bool IsEqual(OdVariant.Type lhs, OdTfVariant.Type rhs)
Definition: Globals.cs:1291
static OdGiColorRGB Div(OdGiColorRGB c, double s)
Definition: Globals.cs:1202
static OdEdCommand odedFireUnknownCommand(OdEdCommandStack pCmdStack, String sCmd, OdEdCommandContext pCmdCtx)
Definition: Globals.cs:2608
static void removeBaseDatabaseByResolver(OdBaseDatabaseByResolver pResolver)
Definition: Globals.cs:1010
static double getSignedArea(OdGePoint2dArray arrPoints)
Definition: Globals.cs:729
static void odgiImageViewport(OdGiViewportGeometry pGeom, OdGiRasterImage pImage, OdGePoint3d pBoundary, bool bFilter)
Definition: Globals.cs:811
static bool IsGeProtectionEnabled()
Definition: Globals.cs:502
static bool odExecuteMainThreadAction(Globals.MainThreadFuncDelegate mtFunc, IntPtr pArg)
Definition: Globals.cs:946
static OdResult build2dShell(OdGePoint2dArrayArray contours, Int16 style, OdGePoint2dArray vertixes, OdInt32Array indexes, OdGeTol tol)
Definition: Globals.cs:2972
static OdResult geIsDir2dOnSurfCoincide3d(OdGeSurface pSurf, OdGeCurve3d pCurve, OdGeCurve2d pParamCurve, out bool isCoincide)
Definition: Globals.cs:723
delegate void ODAUDITINFO_CALLBACKDelegateNative(IntPtr info)
static void odgiImageViewport(OdGiViewportGeometry pGeom, OdGiRasterImage pImage, OdGePoint3d pBoundary)
Definition: Globals.cs:816
static bool isBoxContainsPoint(OdGePoint2d minPt, OdGePoint2d maxPt, OdGePoint2d pt)
Definition: Globals.cs:1237
static bool IsNotEqual(OdTfVariant.Type lhs, OdVariant.Type rhs)
Definition: Globals.cs:1285
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:2978
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:3181
static UInt64 odFNV64aHashBuf(IntPtr buf, uint len, UInt64 hval)
Definition: Globals.cs:2410
static OdGe.ErrorCondition geCalculateNormal(OdGePoint3d[] points, OdGeVector3d pNormal)
Definition: Globals.cs:613
static bool odutWcReplace(String string_, String wcPatternOld, String wcPatternNew, ref string resultString)
Definition: Globals.cs:2177
static void pointsExtents(OdGePoint2d minPt, OdGePoint2d maxPt, OdGePoint2d pt1, OdGePoint2d pt2)
Definition: Globals.cs:1214
static OdCodePageId GetCPageIdByName(String CodePage)
Definition: Globals.cs:3079
static OdGeVector3d Mul(double scale, OdGeVector3d vect)
Definition: Globals.cs:764
static OdRxModule odrxSafeLoadApp(String applicationName)
Definition: Globals.cs:1848
static double angleFromParam(double param, double radiusRatio)
Definition: Globals.cs:2564
static UInt64 odFNV64aHashStr(string str, UInt64 hval)
Definition: Globals.cs:2426
static uint odGetCurrentThreadId()
Definition: Globals.cs:976
static UInt32 odFNV32HashStr(string str)
Definition: Globals.cs:2338
static OdGe.ErrorCondition geCalculatePlane(OdGeCurve3d[] curves, UInt32 numCurves, OdGePlane plane, OdGeTol tol, bool validateCoplanar)
Definition: Globals.cs:675
static bool isPolygonOutOfRect2d(UInt32 numPt, OdGePoint2d pPoints, OdGePoint2d minPt, OdGePoint2d maxPt)
Definition: Globals.cs:735
static Globals.OdTraceFuncDelegate odSetTraceFunc(Globals.OdTraceFuncDelegate traceFunc)
Definition: Globals.cs:2628
static OdResult calcLoopIncludeOrder(SWIGTYPE_p_OdArrayT_OdArrayT_int_OdMemoryAllocatorT_int_t_t_t loopIndices, OdGeSurface surf, bool surfReversed, SWIGTYPE_p_OdArrayT_OdArrayT_OdGeCurve2d_const_p_t_t loops, SWIGTYPE_p_OdArrayT_OdArrayT_bool_t_t loopsReversed, OdGeTol tol)
Definition: Globals.cs:2552
static OdRxDictionary odrxCreateSyncRxDictionary()
Definition: Globals.cs:1384
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:1609
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:2952
static bool odutWcMatch(String string_, String wcPattern)
Definition: Globals.cs:2159
static Globals.OdAssertFuncDelegate odSetAssertFunc(Globals.OdAssertFuncDelegate assertFunc)
Definition: Globals.cs:2672
static void OdTrace(String lpszFormat)
Definition: Globals.cs:2766
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:2301
static UInt32 odrxMultiCastBkXPrior(OdRxObject pObject, ref OdRxObject pPointer, OdRxClass pClasses, UInt32 nClasses)
Definition: Globals.cs:2084
static OdCodePageId checkTheSameCP(OdCodePageId cp)
Definition: Globals.cs:2212
static int odcmLookupACI(UInt32 rgb, UInt32[] pPalette)
Definition: Globals.cs:2893
static OdRxClass odrxSafeGetClassDesc(String className)
Definition: Globals.cs:1337
static bool OdNegative(double x, double tol)
Definition: Globals.cs:37
static OdGeDoubleArray odgiGetAllDeviations(OdGiDeviation deviationObj)
Definition: Globals.cs:887
static OdGiTextStyle odgiPrepareTextStyle(OdGiTextStyle pStyle, OdGiTextStyle res)
Definition: Globals.cs:1124
static bool OdNegative(double x)
Definition: Globals.cs:43
static bool isBoxContainsPoint(OdGePoint2d minPt, OdGePoint2d maxPt, OdGePoint2d pt, OdGeTol tol)
Definition: Globals.cs:1231
static UInt64 GetMemoryUsageInternalInfo(UInt32 target)
Definition: Globals.cs:494
static int OdGiRasterImage_adjustTransparentColor(OdGiRasterImage pImage)
Definition: Globals.cs:3138
static bool odgiCalculateTriangleShellLoops(OdUInt32Array triangleIndicies, OdUInt32Array2d loops, OdBoolArray isClosed)
Definition: Globals.cs:2442
static void odrxRegisterAuditInfoDestructorCallback(Globals.ODAUDITINFO_CALLBACKDelegate callbackFunc)
Definition: Globals.cs:2218
static void makeInterValid(out double startAngle, out double endAngle, double period)
Definition: Globals.cs:2503
static OdGiColorRGB Add(OdGiColorRGB c1, OdGiColorRGB c2)
Definition: Globals.cs:1142
static double calcFocalLength(double lensLength, double fieldWidth, double fieldHeight)
Definition: Globals.cs:1103
static bool OdPositive(double x)
Definition: Globals.cs:31
delegate IntPtr OdPseudoConstructorTypeDelegateNative()
static void clearLayersData()
Definition: Globals.cs:3176
static OdGiColorRGB Mul(OdGiColorRGB c1, OdGiColorRGB c2)
Definition: Globals.cs:1178
delegate void OdApcEntryPointRxObjParamDelegate(OdRxObject parameter_)
static double odStrToD(SWIGTYPE_p___wchar_t p, char[] ppend)
Definition: Globals.cs:861
static Globals.PgetLocalTimeDelegate g_pLocalTimeFunc
Definition: Globals.cs:390
delegate bool GripWorldDrawPtrDelegateNative(IntPtr pThis, IntPtr pWd, IntPtr entId, DrawType type, IntPtr imageGripPoint, double dGripSize)
static OdDbStub odgsDbRedirectID(OdDbStub pId)
Definition: Globals.cs:2278
static bool geNurb3dTo2d(OdGeNurbCurve3d nurb3d, OdGePlane plane, OdGeNurbCurve2d nurb2d, OdGeTol tol)
Definition: Globals.cs:693
static void odThreadYield()
Definition: Globals.cs:982
delegate void PgetLocalTimeDelegate(OdTimeStamp _parameter)
delegate void ExecuteMainThreadFuncDelegateNative(Globals.MainThreadFuncDelegateNative _func, IntPtr _arg)
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:2061
static bool isMIFCodepage(OdCodePageId id)
Definition: Globals.cs:2206
static OdRxObject odCreatePrcAllInSingleViewContextForTD()
Definition: Globals.cs:3351
static void OdGeDrawSegmentHatchXY(OdGeLineSeg2dArray segments, OdIntArray loops, OdIntArray loopTypes, OdGeHatchStrokes StrokeParams, OdGeIslandStyle iStyle, bool isSolid, OdGeLineSeg2dArray strokes, OdGeTol tol)
Definition: Globals.cs:2962
delegate OdResult OdTfPropertySetterTypeDelegate(OdTfObject arg1, OdTfVariant arg2)
static bool IsEqual(OdTfVariant.Type lhs, OdVariant.Type rhs)
Definition: Globals.cs:1279
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:2922
delegate IntPtr OdTfVariantConstructorTypeDelegateNative()
static UInt32[] odcmAcadPalette(UInt32 backgr)
Definition: Globals.cs:2865
static bool OdLessOrEqual(double x, double y)
Definition: Globals.cs:103
static ISATConverter ABCreateConverter()
Definition: Globals.cs:2905
static OdRxObject baseDatabaseBy(OdDbStub id)
Definition: Globals.cs:998
static UInt32 odFNV32aHashBuf(IntPtr buf, uint len)
Definition: Globals.cs:2354
static bool sameSortedArrays(OdDbStubPtrArray ar1, OdDbStubPtrArray ar2)
Definition: Globals.cs:1021
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:717
static OdTfAttribute newOdTfAttribute(String name, OdRxObject pOwner, OdTfVariant value)
Definition: Globals.cs:1814
static bool OdZero(double x, double tol)
Definition: Globals.cs:49
static OdGeTol calculateEffectiveTolerance(OdGeLineSeg2dArray segments, double absTol, OdGeExtents2d ext)
Definition: Globals.cs:3023
static UInt32 odFNV32aHashStr(string str)
Definition: Globals.cs:2370
static void OdAssert(string expresssion, string filename, int nLineNo)
Definition: Globals.cs:2776
static SWIGTYPE_p_OdGsCacheRedirectionManager odgsGetGsCacheRedirectionManager()
Definition: Globals.cs:1876
static void odrxFree(IntPtr pMemBlock)
Definition: Globals.cs:489
static OdRxClass odrxGetClassDesc(String className)
Definition: Globals.cs:1330
static void odDToStr(string dst, double val, char fmt, int prec)
Definition: Globals.cs:844
static IntPtr odrxAlloc(uint nBytes)
Definition: Globals.cs:473
static double OdRound(double a)
Definition: Globals.cs:821
static bool compareMeshes(OdGeTrMesh meshTemplate, OdGeTrMesh mesh, double tolCoef, bool bDebugOutput)
Definition: Globals.cs:2525
static String getCodePageStr(int index)
Definition: Globals.cs:3085
static bool odutWcMatchNoCase(String string_, String wcPattern)
Definition: Globals.cs:2165
static bool OdGreater(double x, double y)
Definition: Globals.cs:115
static OdRxDictionary odrxSysRegistry()
Definition: Globals.cs:1303
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:3012
static OdGe.ErrorCondition geCalculatePlane(OdGePoint3dArray points, OdGePlane plane)
Definition: Globals.cs:636
static void GE_ERROR(OdResult res)
Definition: Globals.cs:741
static PDFImage addNewImage(PDFDocument PDFDoc, PDFResourceDictionary pResDict)
Definition: Globals.cs:3311
static bool OdEqual(double x, double y)
Definition: Globals.cs:79
static void computeAlphaTransparency(SWIGTYPE_p_PixImageDescT_unsigned_char_const_t blackBg, SWIGTYPE_p_PixImageDescT_unsigned_char_const_t whiteBg, UInt32 imgWidth, UInt32 imgHeight, SWIGTYPE_p_PixImageDescT_unsigned_char_t outImg, UInt32 bkColor)
Definition: Globals.cs:2917
static void odActivate(String userInfo, String userSignature)
Definition: Globals.cs:2149
static OdTfClass initOdTfClass(OdTfClass pClass, String name, OdRxClass pBaseClass, OdTfAttributePtrArray attributes, OdTfPropertyPtrArray properties, Globals.OdPseudoConstructorTypeDelegate pConstr, bool bRegister)
Definition: Globals.cs:1578
delegate void ODAUDITINFO_CALLBACKDelegate(OdAuditInfo info)
static UInt64 kGiPointCloudNegativeCellId
Definition: Globals.cs:2466
static void odgsDbObjectIDSetLockingFlag(OdDbStub pId, bool bSet)
Definition: Globals.cs:2296
static bool extendExtents(OdGePoint2d minPt, OdGePoint2d maxPt, OdGePoint2d pt)
Definition: Globals.cs:1225
static bool odgiIsValidClipBoundary(OdGePoint2dArray points)
Definition: Globals.cs:987
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:705
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:867
static void addBaseDatabaseByResolver(OdBaseDatabaseByResolver pResolver)
Definition: Globals.cs:1005
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:2947
static OdGiColorRGB Div(double s, OdGiColorRGB c)
Definition: Globals.cs:1208
static OdRxSystemServices odrxSystemServices()
Definition: Globals.cs:1868
static void odrxUnregisterHyperlinkDestructorCallback()
Definition: Globals.cs:2815
static ThreadsCounter odThreadsCounter()
Definition: Globals.cs:910
static OdGiDrawable fxUnderlyingDrawable(OdGsNode arg0)
Definition: Globals.cs:1243
static PDFName CreateOC4Layer(String layer_name, PDFDocument PDFDoc, PDFResourceDictionary resource_dict, bool bVisible)
Definition: Globals.cs:3201
static String geToString(OdGe.EntityId val)
Definition: Globals.cs:711
static OdGiXform odgiGetModelToEyeXform(OdGiModelToViewProc pThis)
Definition: Globals.cs:1027
static OdDbStub odgsDbGetOwner(OdDbStub pId)
Definition: Globals.cs:2271
static OdGiColorRGB Sub(OdGiColorRGB c, double s)
Definition: Globals.cs:1166
static UInt32 odrxMultiCastFwdXPrior_(OdRxClass pClass, OdRxObject pObject, ref OdRxObject pPointer, OdRxClass pClasses, UInt32 nClasses)
Definition: Globals.cs:1953
delegate bool ConvertValueCallbackDelegateNative(IntPtr pProperty, IntPtr value)
static OdGeVector2d Mul(double scale, OdGeVector2d vector)
Definition: Globals.cs:752
static void releaseLocalHeaps(uint nThreadId, UInt32 aThreadId)
Definition: Globals.cs:1078
static Globals.OdCheckAssertGroupFuncDelegate odSetCheckAssertGroupFunc(Globals.OdCheckAssertGroupFuncDelegate checkFunc)
Definition: Globals.cs:2716
static void ABDeleteConverter(ISATConverter pIC)
Definition: Globals.cs:2912
delegate void PgetLocalTimeDelegateNative(IntPtr _parameter)
static bool odutWcMatch(String string_, String wcPattern, String remainString)
Definition: Globals.cs:2171
static bool IsMultiByteCodePage(OdCodePageId id)
Definition: Globals.cs:3091
static void EnableGeProtection(bool bVal)
Definition: Globals.cs:508
static OdRxObject odCreatePrcAllInSingleViewContextForBIM()
Definition: Globals.cs:3451
static void odgiCalculateTextBasis(OdGeVector3d u, OdGeVector3d v, OdGeVector3d normal, OdGeVector3d direction, double height, double width, double oblique, bool bMirrorX, bool bMirrorY)
Definition: Globals.cs:1109
static OdGiColorRGB Add(OdGiColorRGB c, double s)
Definition: Globals.cs:1148
static UInt64 odFNV64HashStr(string str)
Definition: Globals.cs:2402
static OdRxDictionary odrxClassDictionary()
Definition: Globals.cs:1310
static UInt32 odrxMultiCastBkX(OdRxObject pObject, ref OdRxObject pPointer, OdRxClass pClasses, UInt32 nClasses)
Definition: Globals.cs:2115
static OdRxModule odrxLoadApp(String applicationName)
Definition: Globals.cs:1828
static OdGeNurbSurface convertFrom(OdGeSurface source, OdGeTol tol, bool sameParametrization)
Definition: Globals.cs:1404
static int OdTruncateToLong(double a)
Definition: Globals.cs:833
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:3002
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:2932
static UInt64 odFNV64aHashStr(string str)
Definition: Globals.cs:2434
static void odrxRegisterHyperlinkDestructorCallback(Globals.ODDBHYPERLINK_CALLBACKDelegate callbackFunc)
Definition: Globals.cs:2786
static OdGeNurbSurface convertFrom(OdGeSurface source, OdGeTol tol)
Definition: Globals.cs:1411
static UInt32 odFNV32aHashBuf(IntPtr buf, uint len, UInt32 hval)
Definition: Globals.cs:2346
static bool OdGiRasterImage_isGreyscale(OdGiRasterImage pImage)
Definition: Globals.cs:3120
static bool OdGiRasterImage_isColorPresent(OdGiRasterImage pImage, UInt32 color)
Definition: Globals.cs:3132
static bool odExecuteMainThreadAction(Globals.MainThreadFuncDelegate mtFunc, IntPtr pArg, bool bExecST)
Definition: Globals.cs:916
static OdGiXform odgiGetEyeToModelXform(OdGiModelToViewProc pThis)
Definition: Globals.cs:1047
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:2927
static void odgiImageViewport(OdGiViewportGeometry pGeom, OdGiRasterImage pImage, OdGePoint3d pBoundary, bool bFilter, double brightness)
Definition: Globals.cs:806
static OdTfClass createOdTfClass()
Definition: Globals.cs:1571
static OdRxObject odCreatePrcOnlySolidsSingleViewContextForTD()
Definition: Globals.cs:3391
delegate void OdAssertFuncDelegate(string expresssion, string filename, int nLineNo)
delegate bool ConvertValueCallbackDelegate(OdRxPropertyBase pProperty, OdRxValue value)
delegate void OdTraceFuncDelegate(string debugString)
static bool OdGreater(double x, double y, double tol)
Definition: Globals.cs:109
static OdGeDoubleArray odgiGetAllDeviations(OdGiDeviation deviationObj, OdGePoint3d pointOnCurve)
Definition: Globals.cs:879
static bool isMBCBCodepage(OdCodePageId id)
Definition: Globals.cs:2200
static OdGe.ErrorCondition geValidSolid(OdGePoint3dArray points, out bool isValid)
Definition: Globals.cs:578
static OdGiColorRGB Div(OdGiColorRGB c1, OdGiColorRGB c2)
Definition: Globals.cs:1196
static void OdTrace(SWIGTYPE_p___wchar_t lpszFormat)
Definition: Globals.cs:2771
static OdGePoint3d Mul(OdGeMatrix3d matrix, OdGePoint3d point)
Definition: Globals.cs:784
static OdGiPsFillstyles odgiGetPsFillstylesManager()
Definition: Globals.cs:2487
static global::System.Exception Retrieve()
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 void OdTrace__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr odrxDynamicLinker()
static int OD_SIZEOF_INT_get()
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, global::System.Runtime.InteropServices.HandleRef jarg10, bool jarg11)
static double OdRound(double jarg1)
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 OdTrace__SWIG_0([MarshalAs(UnmanagedType.LPWStr)]String jarg1)
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 bool OdGiRasterImage_isColorPresent__SWIG_0(HandleRef jarg1, UInt32 jarg2, bool 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 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 UInt64 odFNV64aHashStr__SWIG_0(string jarg1, UInt64 jarg2)
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 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 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 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 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 bool processGradientHatch(global::System.Runtime.InteropServices.HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2, double jarg3, double jarg4, int jarg5, int jarg6, int jarg7, int jarg8, int jarg9, int jarg10)
static UInt32 odrxMultiCastBkXPrior(HandleRef jarg1, ref IntPtr jarg2, IntPtr jarg3, UInt32 jarg4)
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 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 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 UInt64 odFNV64HashStr__SWIG_0(string jarg1, UInt64 jarg2)
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 void computeAlphaTransparency(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, UInt32 jarg3, UInt32 jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, UInt32 jarg6)
static int OdSign__SWIG_1(int jarg1)
static IntPtr odgiGetModelToEyeXform(HandleRef jarg1)
static double calibrateAngle(double jarg1, double jarg2)
static double odStrToD__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, [In, MarshalAs(UnmanagedType.LPArray)]char[] 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 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 void clearLayersData()
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 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 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 global::System.IntPtr odgsGetGsCacheRedirectionManager()
static bool isMBCBCodepage(int jarg1)
static int ODCHAR_IS_INT16LE_get()
static bool OdGiRasterImage_isColorPresent__SWIG_1(HandleRef jarg1, UInt32 jarg2)
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, global::System.Runtime.InteropServices.HandleRef jarg10)
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 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 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 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 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 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, global::System.Runtime.InteropServices.HandleRef jarg10, bool jarg11, global::System.Runtime.InteropServices.HandleRef jarg12)
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 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 calcLoopIncludeOrder(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, bool jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6)
static bool odutWcReplace([MarshalAs(UnmanagedType.LPWStr)]String jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2, [MarshalAs(UnmanagedType.LPWStr)]String jarg3, ref IntPtr jarg4)
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 getHexValue(int jarg1)
static bool OdPositive__SWIG_0(double jarg1, double jarg2)
static IntPtr odrxGetClassDesc([MarshalAs(UnmanagedType.LPWStr)]String 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 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 double getSignedArea(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr odCreatePrcAllInSingleViewContextBase()
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 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 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, global::System.Runtime.InteropServices.HandleRef jarg10)
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 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)
Definition: IntVectorStd.cs:27
static HandleRef getCPtr(OdBaseDatabaseByResolver obj)
static HandleRef getCPtr(OdBoolArray obj)
Definition: OdBoolArray.cs:28
static HandleRef getCPtr(OdDbStub obj)
Definition: OdDbStub.cs:26
static HandleRef getCPtr(OdDbStubPtrArray 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)
Definition: OdGeCurve2d.cs:25
static HandleRef getCPtr(OdGeCurve3d obj)
Definition: OdGeCurve3d.cs:25
static HandleRef getCPtr(OdGeExtents2d obj)
static HandleRef getCPtr(OdGeHatchDashTaker obj)
static HandleRef getCPtr(OdGeHatchStrokes obj)
NurbSurfaceProperties
Definition: OdGe.cs:171
static HandleRef getCPtr(OdGeKnotVector obj)
static HandleRef getCPtr(OdGeLineSeg2dArray obj)
static HandleRef getCPtr(OdGeMatrix2d obj)
Definition: OdGeMatrix2d.cs:26
static HandleRef getCPtr(OdGeMatrix3d obj)
Definition: OdGeMatrix3d.cs:26
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)
Definition: OdGePoint2d.cs:26
static HandleRef getCPtr(OdGePoint3dArray obj)
static HandleRef getCPtr(OdGePoint3d obj)
Definition: OdGePoint3d.cs:26
static HandleRef getCPtr(OdGeShellData obj)
static HandleRef getCPtr(OdGeStrokeDataArray obj)
static HandleRef getCPtr(OdGeSurface obj)
Definition: OdGeSurface.cs:25
static HandleRef getCPtr(OdGeTol obj)
Definition: OdGeTol.cs:26
static HandleRef getCPtr(OdGeTrMesh obj)
Definition: OdGeTrMesh.cs:25
static HandleRef getCPtr(OdGeVector2d obj)
Definition: OdGeVector2d.cs:26
static HandleRef getCPtr(OdGeVector3d obj)
Definition: OdGeVector3d.cs:26
static HandleRef getCPtr(OdGiClipBoundary obj)
static HandleRef getCPtr(OdGiColorRGB obj)
Definition: OdGiColorRGB.cs:26
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)
Definition: OdInt32Array.cs:28
static HandleRef getCPtr(OdIntArray obj)
Definition: OdIntArray.cs:28
static HandleRef getCPtr(OdLongArray obj)
Definition: OdLongArray.cs:28
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)
Definition: OdStreamBuf.cs:25
static HandleRef getCPtr(OdTfAttributePtrArray obj)
static HandleRef getCPtr(OdTfClass obj)
Definition: OdTfClass.cs:25
static HandleRef getCPtr(OdTfProperty obj)
Definition: OdTfProperty.cs:25
static HandleRef getCPtr(OdTfPropertyPtrArray obj)
static HandleRef getCPtr(OdTfVariant obj)
Definition: OdTfVariant.cs:25
static HandleRef getCPtr(OdUInt32Array2d obj)
static HandleRef getCPtr(OdUInt32Array obj)
static HandleRef getCPtr(PDFAccessPermissionsParams obj)
static HandleRef getCPtr(PDFDocument obj)
Definition: PDFDocument.cs:26
static HandleRef getCPtr(PDFImage obj)
Definition: PDFImage.cs:25
static HandleRef getCPtr(PDFOCConfigurationDictionary 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()