Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
STLModule.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 STLModule : OdRxModule {
17 private Object locker = new Object();
18 private HandleRef swigCPtr;
19 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
20 public STLModule(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.STLModule_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(STLModule obj) {
26 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
27 }
28
29 protected override void Dispose(bool disposing) {
30 lock(this) {
31 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
32 if (swigCMemOwn) {
33 swigCMemOwn = false;
35 }
36 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
37 }
38 base.Dispose(disposing);
39 }
40 }
41
42 public virtual OdResult exportSTL(OdRxObject pDb, OdGiDrawable pEntity, OdStreamBuf pOutStream, bool bTextMode, double dDeviation, bool positiveOctant) {
43 OdResult ret = (OdResult)GlobalsPINVOKE.STLModule_exportSTL__SWIG_0(swigCPtr, OdRxObject.getCPtr(pDb), OdGiDrawable.getCPtr(pEntity), OdStreamBuf.getCPtr(pOutStream), bTextMode, dDeviation, positiveOctant);
45 return ret;
46 }
47
48 public virtual OdResult exportSTL(OdRxObject pDb, OdGiDrawable pEntity, OdStreamBuf pOutStream, bool bTextMode, double dDeviation) {
49 OdResult ret = (OdResult)GlobalsPINVOKE.STLModule_exportSTL__SWIG_1(swigCPtr, OdRxObject.getCPtr(pDb), OdGiDrawable.getCPtr(pEntity), OdStreamBuf.getCPtr(pOutStream), bTextMode, dDeviation);
51 return ret;
52 }
53
54 public virtual OdResult exportSTL(OdRxObject pDb, SWIGTYPE_p_OdArrayT_OdGiDrawable_const_p_t aEntities, OdStreamBuf pOutStream, bool bTextMode, double dDeviation, bool positiveOctant) {
55 OdResult ret = (OdResult)GlobalsPINVOKE.STLModule_exportSTL__SWIG_2(swigCPtr, OdRxObject.getCPtr(pDb), SWIGTYPE_p_OdArrayT_OdGiDrawable_const_p_t.getCPtr(aEntities), OdStreamBuf.getCPtr(pOutStream), bTextMode, dDeviation, positiveOctant);
57 return ret;
58 }
59
60 public virtual OdResult exportSTL(OdRxObject pDb, SWIGTYPE_p_OdArrayT_OdGiDrawable_const_p_t aEntities, OdStreamBuf pOutStream, bool bTextMode, double dDeviation) {
61 OdResult ret = (OdResult)GlobalsPINVOKE.STLModule_exportSTL__SWIG_3(swigCPtr, OdRxObject.getCPtr(pDb), SWIGTYPE_p_OdArrayT_OdGiDrawable_const_p_t.getCPtr(aEntities), OdStreamBuf.getCPtr(pOutStream), bTextMode, dDeviation);
63 return ret;
64 }
65
66 public virtual OdResult exportSTLEx(OdRxObject pDb, OdGiDrawable pEntity, OdStreamBuf pOutStream, bool bTextMode, double dDeviation, bool positiveOctant) {
67 OdResult ret = (OdResult)GlobalsPINVOKE.STLModule_exportSTLEx__SWIG_0(swigCPtr, OdRxObject.getCPtr(pDb), OdGiDrawable.getCPtr(pEntity), OdStreamBuf.getCPtr(pOutStream), bTextMode, dDeviation, positiveOctant);
69 return ret;
70 }
71
72 public virtual OdResult exportSTLEx(OdRxObject pDb, OdGiDrawable pEntity, OdStreamBuf pOutStream, bool bTextMode, double dDeviation) {
73 OdResult ret = (OdResult)GlobalsPINVOKE.STLModule_exportSTLEx__SWIG_1(swigCPtr, OdRxObject.getCPtr(pDb), OdGiDrawable.getCPtr(pEntity), OdStreamBuf.getCPtr(pOutStream), bTextMode, dDeviation);
75 return ret;
76 }
77
78 public virtual OdResult exportSTLEx(OdStlExportParams params_) {
81 return ret;
82 }
83
84}
85
86}
static global::System.Exception Retrieve()
static int STLModule_exportSTL__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, bool jarg5, double jarg6)
static void delete_STLModule(global::System.Runtime.InteropServices.HandleRef jarg1)
static int STLModule_exportSTLEx__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int STLModule_exportSTLEx__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, bool jarg5, double jarg6, bool jarg7)
static int STLModule_exportSTL__SWIG_3(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, HandleRef jarg4, bool jarg5, double jarg6)
static int STLModule_exportSTL__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, HandleRef jarg4, bool jarg5, double jarg6, bool jarg7)
static int STLModule_exportSTLEx__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, bool jarg5, double jarg6)
static int STLModule_exportSTL__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, bool jarg5, double jarg6, bool jarg7)
static HandleRef getCPtr(OdGiDrawable obj)
Definition: OdGiDrawable.cs:25
static HandleRef getCPtr(OdRxObject obj)
Definition: OdRxObject.cs:26
static HandleRef getCPtr(OdStlExportParams obj)
static HandleRef getCPtr(OdStreamBuf obj)
Definition: OdStreamBuf.cs:25
virtual OdResult exportSTLEx(OdRxObject pDb, OdGiDrawable pEntity, OdStreamBuf pOutStream, bool bTextMode, double dDeviation)
Definition: STLModule.cs:72
virtual OdResult exportSTLEx(OdRxObject pDb, OdGiDrawable pEntity, OdStreamBuf pOutStream, bool bTextMode, double dDeviation, bool positiveOctant)
Definition: STLModule.cs:66
virtual OdResult exportSTL(OdRxObject pDb, SWIGTYPE_p_OdArrayT_OdGiDrawable_const_p_t aEntities, OdStreamBuf pOutStream, bool bTextMode, double dDeviation, bool positiveOctant)
Definition: STLModule.cs:54
virtual OdResult exportSTL(OdRxObject pDb, SWIGTYPE_p_OdArrayT_OdGiDrawable_const_p_t aEntities, OdStreamBuf pOutStream, bool bTextMode, double dDeviation)
Definition: STLModule.cs:60
override void Dispose(bool disposing)
Definition: STLModule.cs:29
virtual OdResult exportSTL(OdRxObject pDb, OdGiDrawable pEntity, OdStreamBuf pOutStream, bool bTextMode, double dDeviation)
Definition: STLModule.cs:48
virtual OdResult exportSTLEx(OdStlExportParams params_)
Definition: STLModule.cs:78
virtual OdResult exportSTL(OdRxObject pDb, OdGiDrawable pEntity, OdStreamBuf pOutStream, bool bTextMode, double dDeviation, bool positiveOctant)
Definition: STLModule.cs:42
STLModule(IntPtr cPtr, bool cMemoryOwn)
Definition: STLModule.cs:20
static HandleRef getCPtr(STLModule obj)
Definition: STLModule.cs:25