Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdBrMesh2dControl.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
17 private Object locker = new Object();
18 private HandleRef swigCPtr;
19 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
20 public OdBrMesh2dControl(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdBrMesh2dControl_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdBrMesh2dControl 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 OdBrMesh2dControl() : this(GlobalsPINVOKE.new_OdBrMesh2dControl__SWIG_0(), true) {
44 }
45
46 public OdBrMesh2dControl(OdBrMesh2dControl src) : this(GlobalsPINVOKE.new_OdBrMesh2dControl__SWIG_1(OdBrMesh2dControl.getCPtr(src)), true) {
48 }
49
53 return ret;
54 }
55
56 public OdBrErrorStatus setMaxAspectRatio(double maxAspectRatio) {
59 return ret;
60 }
61
65 return ret;
66 }
67
68 public OdBrErrorStatus getMaxAspectRatio(out double maxAspectRatio) {
71 return ret;
72 }
73
77 return ret;
78 }
79
83 return ret;
84 }
85
89 return ret;
90 }
91
93 get {
96 return ret;
97 }
98 }
99
100}
101
102}
static global::System.Exception Retrieve()
static void delete_OdBrMesh2dControl(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdBrMesh2dControl_setElementShape__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdBrMesh2dControl_getElementShape(global::System.Runtime.InteropServices.HandleRef jarg1, out Element2dShape jarg2)
static int OdBrMesh2dControl_setMaxAspectRatio__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static int OdBrMesh2dControl_setElementShape__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static global::System.IntPtr OdBrMesh2dControl_OdBrMesh2dControlDefault_get()
static int OdBrMesh2dControl_setMaxAspectRatio__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdBrMesh2dControl_getMaxAspectRatio(global::System.Runtime.InteropServices.HandleRef jarg1, out double jarg2)
static global::System.IntPtr OdBrMesh2dControl_Assign__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
OdBrMesh2dControl(IntPtr cPtr, bool cMemoryOwn)
OdBrMesh2dControl Assign(OdBrMesh2dControl src)
OdBrMesh2dControl(OdBrMesh2dControl src)
override void Dispose(bool disposing)
OdBrErrorStatus setMaxAspectRatio()
OdBrErrorStatus getElementShape(out Element2dShape elementShape)
static HandleRef getCPtr(OdBrMesh2dControl obj)
OdBrErrorStatus getMaxAspectRatio(out double maxAspectRatio)
OdBrErrorStatus setMaxAspectRatio(double maxAspectRatio)
static OdBrMesh2dControl OdBrMesh2dControlDefault
OdBrErrorStatus setElementShape(Element2dShape elementShape)