Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdDgConstraintRepPoint.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.TG {
12
13using System;
14using System.Runtime.InteropServices;
15using Teigha.Core;
16
17public class OdDgConstraintRepPoint : 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 OdDgConstraintRepPoint(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(OdDgConstraintRepPoint 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 OdDgConstraintRepPoint() : this(TG_DbPINVOKE.new_OdDgConstraintRepPoint(), true) {
54 }
55
56 public virtual UInt32 getEelementIdMapIndex() {
57// test csout
58 /*SIMPLETYPE*/
61 return ret;
62 }
63
64 public virtual void setEelementIdMapIndex(UInt32 /*SIMPLETYPE*/ uIndex) {
65 TG_DbPINVOKE.OdDgConstraintRepPoint_setEelementIdMapIndex(swigCPtr, uIndex /*SIMPLETYPE*/);
67 }
68
69 public virtual UInt32 getSegmentIndex() {
70// test csout
71 /*SIMPLETYPE*/
74 return ret;
75 }
76
77 public virtual void setSegmentIndex(UInt32 /*SIMPLETYPE*/ uIndex) {
78 TG_DbPINVOKE.OdDgConstraintRepPoint_setSegmentIndex(swigCPtr, uIndex /*SIMPLETYPE*/);
80 }
81
85 return ret;
86 }
87
89 TG_DbPINVOKE.OdDgConstraintRepPoint_setSnapType(swigCPtr, (int)uSnapType);
91 }
92
93 public virtual UInt32 getNumberOfSegments() {
94// test csout
95 /*SIMPLETYPE*/
98 return ret;
99 }
100
101 public virtual void setNumberOfSegments(UInt32 /*SIMPLETYPE*/ nSegments) {
102 TG_DbPINVOKE.OdDgConstraintRepPoint_setNumberOfSegments(swigCPtr, nSegments /*SIMPLETYPE*/);
104 }
105
106 public virtual bool getSkipTopLevelComplexElementFlag() {
109 return ret;
110 }
111
112 public virtual void setSkipComplexElementFlag(bool bSkip) {
115 }
116
117 public virtual UInt16 getTopologyId() {
118// test csout
119 /*SIMPLETYPE*/
122 return ret;
123 }
124
125 public virtual void setTopologyId(UInt16 /*SIMPLETYPE*/ uTopologyId) {
126 TG_DbPINVOKE.OdDgConstraintRepPoint_setTopologyId(swigCPtr, uTopologyId /*SIMPLETYPE*/);
128 }
129
130 public virtual UInt16 getTopologyFlags() {
131// test csout
132 /*SIMPLETYPE*/
135 return ret;
136 }
137
138 public virtual void setTopologyFlags(UInt16 /*SIMPLETYPE*/ uFlags) {
139 TG_DbPINVOKE.OdDgConstraintRepPoint_setTopologyFlags(swigCPtr, uFlags /*SIMPLETYPE*/);
141 }
142
146 return ret;
147 }
148
150 TG_DbPINVOKE.OdDgConstraintRepPoint_setType(swigCPtr, (int)uType);
152 }
153
154 public virtual UInt32 getItemsCount() {
155// test csout
156 /*SIMPLETYPE*/
159 return ret;
160 }
161
162 public virtual UInt32 getItem(UInt32 /*SIMPLETYPE*/ uIndex) {
163// test csout
164 /*SIMPLETYPE*/
165 UInt32 ret = TG_DbPINVOKE.OdDgConstraintRepPoint_getItem(swigCPtr, uIndex /*SIMPLETYPE*/);
167 return ret;
168 }
169
170 public virtual void setItem(UInt32 /*SIMPLETYPE*/ uIndex, UInt32 /*SIMPLETYPE*/ uValue) {
171 TG_DbPINVOKE.OdDgConstraintRepPoint_setItem(swigCPtr, uIndex /*SIMPLETYPE*/, uValue /*SIMPLETYPE*/);
173 }
174
175 public virtual void addItem(UInt32 /*SIMPLETYPE*/ uValue) {
176 TG_DbPINVOKE.OdDgConstraintRepPoint_addItem(swigCPtr, uValue /*SIMPLETYPE*/);
178 }
179
180 public virtual void deleteItem(UInt32 /*SIMPLETYPE*/ uIndex) {
181 TG_DbPINVOKE.OdDgConstraintRepPoint_deleteItem(swigCPtr, uIndex /*SIMPLETYPE*/);
183 }
184
185 public virtual OdBinaryData getData() {
188 return ret;
189 }
190
191 public virtual void setData(OdBinaryData binData) {
194 }
195
197 kUnknownTopology = 0x00,
199 kSolidCapTopology = 0x0E,
202 kCurveBaseTopology = 0x15
203 }
204
207 kStartOfSegment = 0x01,
208 kEndOfSegment = 0x02,
209 kOriginPoint = 0x03,
211 }
212
213}
214
215}
static HandleRef getCPtr(OdBinaryData obj)
Definition: OdBinaryData.cs:25
virtual void setItem(UInt32 uIndex, UInt32 uValue)
virtual void setTopologyId(UInt16 uTopologyId)
virtual void setType(OdDgConstraintRepPoint.OdDgConstraintRepTopologyType uType)
virtual void Dispose(bool disposing)
virtual OdDgConstraintRepPoint.OdDgConstraintRepPointSnapType getSnapType()
virtual void deleteItem(UInt32 uIndex)
static HandleRef getCPtr(OdDgConstraintRepPoint obj)
virtual void setSnapType(OdDgConstraintRepPoint.OdDgConstraintRepPointSnapType uSnapType)
OdDgConstraintRepPoint(IntPtr cPtr, bool cMemoryOwn)
virtual void setData(OdBinaryData binData)
virtual void addItem(UInt32 uValue)
virtual void setNumberOfSegments(UInt32 nSegments)
virtual UInt32 getItem(UInt32 uIndex)
virtual void setSegmentIndex(UInt32 uIndex)
virtual void setTopologyFlags(UInt16 uFlags)
virtual void setEelementIdMapIndex(UInt32 uIndex)
virtual void setSkipComplexElementFlag(bool bSkip)
virtual OdDgConstraintRepPoint.OdDgConstraintRepTopologyType getType()
static global::System.Exception Retrieve()
static UInt32 OdDgConstraintRepPoint_getEelementIdMapIndex(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDgConstraintRepPoint_getSkipTopLevelComplexElementFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static UInt16 OdDgConstraintRepPoint_getTopologyFlags(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgConstraintRepPoint_deleteItem(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static void OdDgConstraintRepPoint_setSegmentIndex(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static void OdDgConstraintRepPoint_setSnapType(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void OdDgConstraintRepPoint_setTopologyId(global::System.Runtime.InteropServices.HandleRef jarg1, UInt16 jarg2)
static global::System.IntPtr OdDgConstraintRepPoint_getData(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgConstraintRepPoint_setItem(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2, UInt32 jarg3)
static void OdDgConstraintRepPoint_setType(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void OdDgConstraintRepPoint_setEelementIdMapIndex(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static UInt32 OdDgConstraintRepPoint_getNumberOfSegments(global::System.Runtime.InteropServices.HandleRef jarg1)
static UInt16 OdDgConstraintRepPoint_getTopologyId(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdDgConstraintRepPoint_getSnapType(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgConstraintRepPoint_setSkipComplexElementFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void delete_OdDgConstraintRepPoint(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgConstraintRepPoint_setData(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2)
static void OdDgConstraintRepPoint_setNumberOfSegments(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static UInt32 OdDgConstraintRepPoint_getItemsCount(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdDgConstraintRepPoint_getType(global::System.Runtime.InteropServices.HandleRef jarg1)
static UInt32 OdDgConstraintRepPoint_getSegmentIndex(global::System.Runtime.InteropServices.HandleRef jarg1)
static UInt32 OdDgConstraintRepPoint_getItem(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)
static void OdDgConstraintRepPoint_setTopologyFlags(global::System.Runtime.InteropServices.HandleRef jarg1, UInt16 jarg2)
static void OdDgConstraintRepPoint_addItem(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2)