Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdDbBlendOptions.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.TD {
12
13using System;
14using System.Runtime.InteropServices;
15using Teigha.Core;
16
17public class OdDbBlendOptions : global::System.IDisposable {
18 private Object locker = new Object();
19 private HandleRef swigCPtr;
20 protected bool swigCMemOwn;
21 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
22 public OdDbBlendOptions(IntPtr cPtr, bool cMemoryOwn) {
23 swigCMemOwn = cMemoryOwn;
24 swigCPtr = new HandleRef(this, cPtr);
25 }
26 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
27 public static HandleRef getCPtr(OdDbBlendOptions obj) {
28 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
29 }
30
32 Dispose(false);
33 }
34
35 public void Dispose() {
36 Dispose(true);
37 global::System.GC.SuppressFinalize(this);
38 }
39
40 protected virtual void Dispose(bool disposing) {
41 lock(this) {
42 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
43 if (swigCMemOwn) {
44 swigCMemOwn = false;
46 }
47 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
48 }
49 }
50 }
51
52 public OdDbBlendOptions() : this(TD_DbPINVOKE.new_OdDbBlendOptions(), true) {
54 }
55
59 return ret;
60 }
61
62 public bool simplify() {
63 bool ret = TD_DbPINVOKE.OdDbBlendOptions_simplify(swigCPtr);
65 return ret;
66 }
67
68 public void setSimplify(bool simplify) {
71 }
72
73 public bool solid() {
74 bool ret = TD_DbPINVOKE.OdDbBlendOptions_solid(swigCPtr);
76 return ret;
77 }
78
79 public OdResult setSolid(bool val) {
82 return ret;
83 }
84
85 public UInt32 quality() {
86// test csout
87 /*SIMPLETYPE*/
88 UInt32 ret = TD_DbPINVOKE.OdDbBlendOptions_quality(swigCPtr);
90 return ret;
91 }
92
93 public OdResult setQuality(UInt32 /*SIMPLETYPE*/ val) {
94 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbBlendOptions_setQuality(swigCPtr, val /*SIMPLETYPE*/);
96 return ret;
97 }
98
102 return ret;
103 }
104
108 return ret;
109 }
110
114 return ret;
115 }
116
120 return ret;
121 }
122
126 return ret;
127 }
128
132 return ret;
133 }
134
135 public enum DriveModeType {
136 kDriveModeFirst = 0,
139 }
140
141}
142
143}
static HandleRef getCPtr(OdGePoint3d obj)
Definition: OdGePoint3d.cs:26
static HandleRef getCPtr(OdGeVector3d obj)
Definition: OdGeVector3d.cs:26
OdResult setCoplanarDirection(OdGeVector3d pDir)
static HandleRef getCPtr(OdDbBlendOptions obj)
void setSimplify(bool simplify)
OdDbBlendOptions Assign(OdDbBlendOptions rhs)
OdDbBlendOptions.DriveModeType driveMode()
OdResult setQuality(UInt32 val)
virtual void Dispose(bool disposing)
OdResult setCoplanarPoint(OdGePoint3d pPt)
OdResult setSolid(bool val)
OdDbBlendOptions(IntPtr cPtr, bool cMemoryOwn)
OdResult setDriveMode(OdDbBlendOptions.DriveModeType val)
static global::System.Exception Retrieve()
static global::System.IntPtr OdDbBlendOptions_coplanarPoint(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdDbBlendOptions_coplanarDirection(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDbBlendOptions_solid(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDbBlendOptions_simplify(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdDbBlendOptions_setCoplanarPoint(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdDbBlendOptions_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdDbBlendOptions_setQuality(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static int OdDbBlendOptions_setDriveMode(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void OdDbBlendOptions_setSimplify(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static UInt32 OdDbBlendOptions_quality(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdDbBlendOptions_setCoplanarDirection(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdDbBlendOptions_setSolid(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static int OdDbBlendOptions_driveMode(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdDbBlendOptions(global::System.Runtime.InteropServices.HandleRef jarg1)