Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
ISATConverter.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
13using System;
14using System.Runtime.InteropServices;
15
16public class ISATConverter : global::System.IDisposable {
17 private Object locker = new Object();
18 private HandleRef swigCPtr;
19 protected bool swigCMemOwn;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
21 public ISATConverter(IntPtr cPtr, bool cMemoryOwn) {
22 swigCMemOwn = cMemoryOwn;
23 swigCPtr = new HandleRef(this, cPtr);
24 }
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 public static HandleRef getCPtr(ISATConverter obj) {
27 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
28 }
29
31 Dispose(false);
32 }
33
34 public void Dispose() {
35 Dispose(true);
36 global::System.GC.SuppressFinalize(this);
37 }
38
39 protected virtual void Dispose(bool disposing) {
40 lock(this) {
41 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
42 if (swigCMemOwn) {
43 swigCMemOwn = false;
45 }
46 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
47 }
48 }
49 }
50
51 public virtual bool SatIn(OdStreamBuf pStreamBuf, Int32 /*SIMPLETYPE*/ typeVer, bool standardSaveFlag) {
52 bool ret = GlobalsPINVOKE.ISATConverter_SatIn__SWIG_0(swigCPtr, OdStreamBuf.getCPtr(pStreamBuf), typeVer /*SIMPLETYPE*/, standardSaveFlag);
54 return ret;
55 }
56
57 public virtual bool SatIn(OdStreamBuf pStreamBuf, Int32 /*SIMPLETYPE*/ typeVer) {
58 bool ret = GlobalsPINVOKE.ISATConverter_SatIn__SWIG_1(swigCPtr, OdStreamBuf.getCPtr(pStreamBuf), typeVer /*SIMPLETYPE*/);
60 return ret;
61 }
62
63 public virtual bool SatOut(OdStreamBuf pStreamBuf, int typeVer, bool standardSaveFlag) {
64 bool ret = GlobalsPINVOKE.ISATConverter_SatOut__SWIG_0(swigCPtr, OdStreamBuf.getCPtr(pStreamBuf), typeVer, standardSaveFlag);
66 return ret;
67 }
68
69 public virtual bool SatOut(OdStreamBuf pStreamBuf, int typeVer) {
70 bool ret = GlobalsPINVOKE.ISATConverter_SatOut__SWIG_1(swigCPtr, OdStreamBuf.getCPtr(pStreamBuf), typeVer);
72 return ret;
73 }
74
78 return ret;
79 }
80
81 public virtual double getUnitToMMCoef() {
82 double ret = GlobalsPINVOKE.ISATConverter_getUnitToMMCoef(swigCPtr);
84 return ret;
85 }
86
87 public virtual IntPtr getIBr() {
88// test csout
89 /*SIMPLETYPE*/
90 IntPtr ret = GlobalsPINVOKE.ISATConverter_getIBr(swigCPtr);
92 return ret;
93 }
94
95 public enum ABGeomType {
96 kUndefined = 0,
97 kBody = 1,
98 kSolid = 2,
99 kRegion = 3,
100 kSurface = 4
101 }
102
103}
104
105}
static global::System.Exception Retrieve()
static bool ISATConverter_SatOut__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, int jarg3)
static double ISATConverter_getUnitToMMCoef(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr ISATConverter_getIBr(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool ISATConverter_SatIn__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, Int32 jarg3, bool jarg4)
static bool ISATConverter_SatIn__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, Int32 jarg3)
static int ISATConverter_getBodyType(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool ISATConverter_SatOut__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, int jarg3, bool jarg4)
static void delete_ISATConverter(global::System.Runtime.InteropServices.HandleRef jarg1)
virtual bool SatOut(OdStreamBuf pStreamBuf, int typeVer, bool standardSaveFlag)
virtual bool SatOut(OdStreamBuf pStreamBuf, int typeVer)
virtual void Dispose(bool disposing)
static HandleRef getCPtr(ISATConverter obj)
virtual ISATConverter.ABGeomType getBodyType()
virtual bool SatIn(OdStreamBuf pStreamBuf, Int32 typeVer)
virtual IntPtr getIBr()
ISATConverter(IntPtr cPtr, bool cMemoryOwn)
virtual bool SatIn(OdStreamBuf pStreamBuf, Int32 typeVer, bool standardSaveFlag)
virtual double getUnitToMMCoef()
static HandleRef getCPtr(OdStreamBuf obj)
Definition: OdStreamBuf.cs:25