Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGiSectionGeometry.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 OdGiSectionGeometry : 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 OdGiSectionGeometry(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(OdGiSectionGeometry 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 OdGiSectionGeometry() : this(GlobalsPINVOKE.new_OdGiSectionGeometry(), true) {
53 }
54
56// csout array
58
60 return res;
61}
62
64// csout array
66
68 return res;
69}
70
72// csout array
74
76 return res;
77}
78
80// csout array
82
84 return res;
85}
86
90 return ret;
91 }
92
96 return ret;
97 }
98
99 public void setForegroundTransparency(int faceTransp, int edgeTransp) {
100 GlobalsPINVOKE.OdGiSectionGeometry_setForegroundTransparency(swigCPtr, faceTransp, edgeTransp);
102 }
103
104}
105
106}
static global::System.Exception Retrieve()
static global::System.IntPtr OdGiSectionGeometry_foregroundEnts__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdGiSectionGeometry_foregroundEdgeTransparency(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiSectionGeometry_intFillEnts__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdGiSectionGeometry_foregroundFaceTransparency(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiSectionGeometry_intBoundaryEnts__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiSectionGeometry_setForegroundTransparency(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
static global::System.IntPtr OdGiSectionGeometry_backgroundEnts__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdGiSectionGeometry(global::System.Runtime.InteropServices.HandleRef jarg1)
virtual void Dispose(bool disposing)
OdGiDrawablePtrArray backgroundEnts()
static HandleRef getCPtr(OdGiSectionGeometry obj)
OdGiSectionGeometry(IntPtr cPtr, bool cMemoryOwn)
OdGiDrawablePtrArray intBoundaryEnts()
OdGiDrawablePtrArray intFillEnts()
OdGiDrawablePtrArray foregroundEnts()
void setForegroundTransparency(int faceTransp, int edgeTransp)