Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
OdGsUpdateExtents.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 OdGsUpdateExtents : 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 OdGsUpdateExtents(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(OdGsUpdateExtents 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
52 get {
53 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGsUpdateExtents_kInvalid_get();
54 OdGsUpdateExtents ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGsUpdateExtents(cPtr, false);
56 return ret;
57 }
58 }
59
60 public OdGsUpdateExtents() : this(GlobalsPINVOKE.new_OdGsUpdateExtents__SWIG_0(), true) {
62 }
63
64 public OdGsUpdateExtents(OdGeExtents3d extents, LineWeight lw) : this(GlobalsPINVOKE.new_OdGsUpdateExtents__SWIG_1(OdGeExtents3d.getCPtr(extents), (int)lw), true) {
66 }
67
68 public OdGsUpdateExtents(OdGeExtents3d extents) : this(GlobalsPINVOKE.new_OdGsUpdateExtents__SWIG_2(OdGeExtents3d.getCPtr(extents)), true) {
70 }
71
77
83
88
93
98
104
110
115
120
125
130
135
140
145
150
151 public bool isValid() {
152 bool ret = GlobalsPINVOKE.OdGsUpdateExtents_isValid(swigCPtr);
154 return ret;
155 }
156
157}
158
159}
static global::System.Exception Retrieve()
static bool OdGsUpdateExtents_hasLineweight(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGsUpdateExtents_reset(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGsUpdateExtents_add__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3)
static global::System.IntPtr OdGsUpdateExtents_kInvalid_get()
static void OdGsUpdateExtents_get(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, out LineWeight jarg3)
static int OdGsUpdateExtents_getLineweight(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGsUpdateExtents_isValid(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGsUpdateExtents_setExtents(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGsUpdateExtents_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3)
static void OdGsUpdateExtents_add__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void delete_OdGsUpdateExtents(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGsUpdateExtents_accessExtents(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGsUpdateExtents_getExtents(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGsUpdateExtents_setLineweight(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void OdGsUpdateExtents_resetExtents(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGsUpdateExtents_resetLineweight(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGsUpdateExtents_addLineweight(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void OdGsUpdateExtents_addExtents(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static HandleRef getCPtr(OdGeExtents3d obj)
OdGsUpdateExtents(OdGeExtents3d extents)
static OdGsUpdateExtents kInvalid
static HandleRef getCPtr(OdGsUpdateExtents obj)
void add(OdGeExtents3d extents, LineWeight lw)
virtual void Dispose(bool disposing)
OdGsUpdateExtents(IntPtr cPtr, bool cMemoryOwn)
void addExtents(OdGeExtents3d extents)
void add(OdGsUpdateExtents extents)
OdGsUpdateExtents(OdGeExtents3d extents, LineWeight lw)
void setExtents(OdGeExtents3d extents)