Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdDgDimPoint.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 OdDgDimPoint : 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 OdDgDimPoint(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(OdDgDimPoint 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 OdDgDimPoint() : this(TG_DbPINVOKE.new_OdDgDimPoint(), true) {
54 }
55
59 return ret;
60 }
61
62 public void getPoint(OdGePoint3d pt) {
65 }
66
67 public void setPoint(OdGePoint3d pt) {
70 }
71
72 public double getOffsetToDimLine() {
73 double ret = TG_DbPINVOKE.OdDgDimPoint_getOffsetToDimLine(swigCPtr);
75 return ret;
76 }
77
78 public void setOffsetToDimLine(double val) {
81 }
82
83 public double getOffsetY() {
84 double ret = TG_DbPINVOKE.OdDgDimPoint_getOffsetY(swigCPtr);
86 return ret;
87 }
88
89 public void setOffsetY(double val) {
92 }
93
94 public UInt16 getPointFlags() {
95// test csout
96 /*SIMPLETYPE*/
97 UInt16 ret = TG_DbPINVOKE.OdDgDimPoint_getPointFlags(swigCPtr);
99 return ret;
100 }
101
102 public void setPointFlags(UInt16 /*SIMPLETYPE*/ flags) {
103 TG_DbPINVOKE.OdDgDimPoint_setPointFlags(swigCPtr, flags /*SIMPLETYPE*/);
105 }
106
107 public bool getAssociativeFlag() {
110 return ret;
111 }
112
113 public void setAssociativeFlag(bool val) {
116 }
117
121 return ret;
122 }
123
124 public void setWitnessControlLocalFlag(bool val) {
127 }
128
129 public bool getNoWitnessLineFlag() {
132 return ret;
133 }
134
135 public void setNoWitnessLineFlag(bool val) {
138 }
139
143 return ret;
144 }
145
146 public void setUseAltSymbologyFlag(bool val) {
149 }
150
151 public bool getPrimaryTextFlag() {
154 return ret;
155 }
156
157 public void setPrimaryTextFlag(bool val) {
160 }
161
165 return ret;
166 }
167
168 public void setPrimaryTopToleranceTextFlag(bool val) {
171 }
172
176 return ret;
177 }
178
179 public void setPrimaryBottomToleranceTextFlag(bool val) {
182 }
183
184 public bool getSecondaryTextFlag() {
187 return ret;
188 }
189
190 public void setSecondaryTextFlag(bool val) {
193 }
194
198 return ret;
199 }
200
201 public void setSecondaryTopToleranceTextFlag(bool val) {
204 }
205
209 return ret;
210 }
211
215 }
216
220 return ret;
221 }
222
223 public void setRightCenterJustificationFlag(bool val) {
226 }
227
228 public UInt16 getRelative() {
229// test csout
230 /*SIMPLETYPE*/
231 UInt16 ret = TG_DbPINVOKE.OdDgDimPoint_getRelative(swigCPtr);
233 return ret;
234 }
235
236 public void setRelative(UInt16 /*SIMPLETYPE*/ uRelative) {
237 TG_DbPINVOKE.OdDgDimPoint_setRelative(swigCPtr, uRelative /*SIMPLETYPE*/);
239 }
240
244 return ret;
245 }
246
250 }
251
253 string ret = TG_DbPINVOKE.OdDgDimPoint_getPrimaryText(swigCPtr);
255 return ret;
256}
257
261 return ret;
262}
263
267 return ret;
268}
269
271 string ret = TG_DbPINVOKE.OdDgDimPoint_getSecondaryText(swigCPtr);
273 return ret;
274}
275
279 return ret;
280}
281
285 return ret;
286}
287
288 public void setPrimaryText(String text) {
291 }
292
296 }
297
301 }
302
303 public void setSecondaryText(String text) {
306 }
307
311 }
312
316 }
317
318 public OdDgAssocPointRoot getDimAssoc() {// OdDgAssocPointRootPtr
319 MemoryManager mMan = MemoryManager.GetMemoryManager();
320 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
321 IntPtr ptr = TG_DbPINVOKE.OdDgDimPoint_getDimAssoc(swigCPtr);
322
323 OdDgAssocPointRoot ret = null;
324 if (null != mTrans)
325 {
326 mTrans.AddObject((OdDgAssocPointRoot)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgAssocPointRoot),ptr, true));
327 ret = (OdDgAssocPointRoot)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgAssocPointRoot),ptr, false);
328 }
329 else
330 {
331 ret = (OdDgAssocPointRoot)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgAssocPointRoot),ptr, true);
332 }
333
335 return ret;
336}
337
338 public void setDimAssoc(OdDgAssocPointRoot pAssocData) {
341 }
342
343}
344
345}
static HandleRef getCPtr(OdGePoint3d obj)
Definition: OdGePoint3d.cs:26
static HandleRef getCPtr(OdDgAssocPointRoot obj)
OdGePoint3d getPoint()
Definition: OdDgDimPoint.cs:56
void setNoWitnessLineFlag(bool val)
void setSecondaryTopToleranceText(String text)
OdDgAssocPointRoot getDimAssoc()
bool getRightCenterJustificationFlag()
void setRightCenterJustificationFlag(bool val)
void setWitnessControlLocalFlag(bool val)
void setSecondaryText(String text)
void setPrimaryTopToleranceTextFlag(bool val)
void setSecondaryBottomToleranceText(String text)
void setPrimaryText(String text)
bool getSecondaryBottomToleranceTextFlag()
void setDimAssoc(OdDgAssocPointRoot pAssocData)
OdDgDimPoint(IntPtr cPtr, bool cMemoryOwn)
Definition: OdDgDimPoint.cs:22
void setPrimaryTopToleranceText(String text)
bool getSecondaryTopToleranceTextFlag()
void setUseAltSymbologyFlag(bool val)
void setAssociativeFlag(bool val)
void setPrimaryBottomToleranceTextFlag(bool val)
String getPrimaryBottomToleranceText()
void setPrimaryTextFlag(bool val)
OdDgDimTextInfo.TextAlignment getJustification()
void setSecondaryTextFlag(bool val)
bool getPrimaryTopToleranceTextFlag()
void setPoint(OdGePoint3d pt)
Definition: OdDgDimPoint.cs:67
void setRelative(UInt16 uRelative)
String getSecondaryTopToleranceText()
String getPrimaryTopToleranceText()
bool getPrimaryBottomToleranceTextFlag()
void setJustification(OdDgDimTextInfo.TextAlignment val)
void setSecondaryTopToleranceTextFlag(bool val)
void setSecondaryBottomToleranceTextFlag(bool val)
void setPointFlags(UInt16 flags)
void getPoint(OdGePoint3d pt)
Definition: OdDgDimPoint.cs:62
void setOffsetToDimLine(double val)
Definition: OdDgDimPoint.cs:78
void setPrimaryBottomToleranceText(String text)
static HandleRef getCPtr(OdDgDimPoint obj)
Definition: OdDgDimPoint.cs:27
String getSecondaryBottomToleranceText()
void setOffsetY(double val)
Definition: OdDgDimPoint.cs:89
virtual void Dispose(bool disposing)
Definition: OdDgDimPoint.cs:40
static global::System.Exception Retrieve()
static void OdDgDimPoint_setNoWitnessLineFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdDgDimPoint_setSecondaryText(global::System.Runtime.InteropServices.HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static void OdDgDimPoint_setDimAssoc(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static void OdDgDimPoint_setRelative(global::System.Runtime.InteropServices.HandleRef jarg1, UInt16 jarg2)
static void OdDgDimPoint_getPoint__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdDgDimPoint_getSecondaryTopToleranceTextFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgDimPoint_setPoint(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdDgDimPoint_setPrimaryBottomToleranceTextFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdDgDimPoint_setSecondaryTextFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static String OdDgDimPoint_getSecondaryBottomToleranceText(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgDimPoint_setOffsetY(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static bool OdDgDimPoint_getUseAltSymbologyFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgDimPoint_setSecondaryBottomToleranceText(global::System.Runtime.InteropServices.HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static void OdDgDimPoint_setPrimaryText(global::System.Runtime.InteropServices.HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static global::System.IntPtr OdDgDimPoint_getPoint__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static UInt16 OdDgDimPoint_getPointFlags(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgDimPoint_setOffsetToDimLine(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static int OdDgDimPoint_getJustification(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr OdDgDimPoint_getDimAssoc(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdDgDimPoint(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgDimPoint_setJustification(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void OdDgDimPoint_setUseAltSymbologyFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdDgDimPoint_setPrimaryTopToleranceTextFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdDgDimPoint_setAssociativeFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void OdDgDimPoint_setPrimaryTopToleranceText(global::System.Runtime.InteropServices.HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static bool OdDgDimPoint_getPrimaryBottomToleranceTextFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgDimPoint_setSecondaryTopToleranceText(global::System.Runtime.InteropServices.HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static String OdDgDimPoint_getSecondaryText(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgDimPoint_setPrimaryBottomToleranceText(global::System.Runtime.InteropServices.HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static bool OdDgDimPoint_getPrimaryTextFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDgDimPoint_getNoWitnessLineFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static String OdDgDimPoint_getPrimaryBottomToleranceText(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgDimPoint_setSecondaryTopToleranceTextFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static double OdDgDimPoint_getOffsetY(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgDimPoint_setPointFlags(global::System.Runtime.InteropServices.HandleRef jarg1, UInt16 jarg2)
static void OdDgDimPoint_setPrimaryTextFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool OdDgDimPoint_getRightCenterJustificationFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDgDimPoint_getPrimaryTopToleranceTextFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDgDimPoint_getSecondaryBottomToleranceTextFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgDimPoint_setRightCenterJustificationFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static String OdDgDimPoint_getPrimaryTopToleranceText(global::System.Runtime.InteropServices.HandleRef jarg1)
static String OdDgDimPoint_getSecondaryTopToleranceText(global::System.Runtime.InteropServices.HandleRef jarg1)
static UInt16 OdDgDimPoint_getRelative(global::System.Runtime.InteropServices.HandleRef jarg1)
static String OdDgDimPoint_getPrimaryText(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDgDimPoint_getAssociativeFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgDimPoint_setWitnessControlLocalFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool OdDgDimPoint_getSecondaryTextFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDgDimPoint_getWitnessControlLocalFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgDimPoint_setSecondaryBottomToleranceTextFlag(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static double OdDgDimPoint_getOffsetToDimLine(global::System.Runtime.InteropServices.HandleRef jarg1)