Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
OdDgMultilinePoint.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 OdDgMultilinePoint : 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 OdDgMultilinePoint(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(OdDgMultilinePoint 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 OdDgMultilinePoint() : this(TG_DbPINVOKE.new_OdDgMultilinePoint(), true) {
54 }
55
60
65
66 public UInt32 getBreaksCount() {
67// test csout
68 /*SIMPLETYPE*/
69 UInt32 ret = TG_DbPINVOKE.OdDgMultilinePoint_getBreaksCount(swigCPtr);
71 return ret;
72 }
73
74 public void getBreak(UInt32 index, OdDgMultilineBreak break_) {
75 TG_DbPINVOKE.OdDgMultilinePoint_getBreak(swigCPtr, index /*SIMPLETYPE*/, OdDgMultilineBreak.getCPtr(break_));
77 }
78
83
88
89 public OdDgAssocPointRoot getAssocData() {// OdDgAssocPointRootPtr
90 MemoryManager mMan = MemoryManager.GetMemoryManager();
91 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
92 IntPtr ptr = TG_DbPINVOKE.OdDgMultilinePoint_getAssocData(swigCPtr);
93
94 OdDgAssocPointRoot ret = null;
95 if (null != mTrans)
96 {
97 mTrans.AddObject((OdDgAssocPointRoot)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgAssocPointRoot),ptr, true));
98 ret = (OdDgAssocPointRoot)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgAssocPointRoot),ptr, false);
99 }
100 else
101 {
102 ret = (OdDgAssocPointRoot)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDgAssocPointRoot),ptr, true);
103 }
104
106 return ret;
107}
108
113
114}
115
116}
static HandleRef getCPtr(OdGePoint3d obj)
static HandleRef getCPtr(OdDgAssocPointRoot obj)
static HandleRef getCPtr(OdDgMultilineBreak obj)
void setPoint(OdGePoint3d point)
virtual void Dispose(bool disposing)
void setAssocData(OdDgAssocPointRoot pAssocData)
void getPoint(OdGePoint3d point)
OdDgAssocPointRoot getAssocData()
void getBreak(UInt32 index, OdDgMultilineBreak break_)
OdDgMultilinePoint(IntPtr cPtr, bool cMemoryOwn)
static HandleRef getCPtr(OdDgMultilinePoint obj)
void addBreak(OdDgMultilineBreak break_)
static global::System.Exception Retrieve()
static void delete_OdDgMultilinePoint(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgMultilinePoint_removeAllBreaks(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgMultilinePoint_getPoint(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdDgMultilinePoint_addBreak(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdDgMultilinePoint_setPoint(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdDgMultilinePoint_getAssocData(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgMultilinePoint_getBreak(global::System.Runtime.InteropServices.HandleRef jarg1, UInt32 jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static UInt32 OdDgMultilinePoint_getBreaksCount(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgMultilinePoint_setAssocData(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)