Extended .NET SDK Documentation 2025 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
61
66
71
77
82
83 public double getOffsetY() {
84 double ret = TG_DbPINVOKE.OdDgDimPoint_getOffsetY(swigCPtr);
86 return ret;
87 }
88
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 flags) {
103 TG_DbPINVOKE.OdDgDimPoint_setPointFlags(swigCPtr, flags /*SIMPLETYPE*/);
105 }
106
112
117
123
128
134
139
145
150
156
161
167
172
178
183
189
194
200
205
211
216
222
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 uRelative) {
237 TG_DbPINVOKE.OdDgDimPoint_setRelative(swigCPtr, uRelative /*SIMPLETYPE*/);
239 }
240
246
251
257
263
269
275
281
287
292
297
302
307
312
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
342
343}
344
345}
static HandleRef getCPtr(OdGePoint3d obj)
static HandleRef getCPtr(OdDgAssocPointRoot obj)
OdGePoint3d getPoint()
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)
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)
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)
void setOffsetToDimLine(double val)
void setPrimaryBottomToleranceText(String text)
static HandleRef getCPtr(OdDgDimPoint obj)
String getSecondaryBottomToleranceText()
void setOffsetY(double val)
virtual void Dispose(bool disposing)
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)