Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
CFxOsnapPoint.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 PCAD_DOT_NET {
12
13using System;
14using System.Runtime.InteropServices;
15using Teigha.Core;
16using Teigha.TD;
17
18public class CFxOsnapPoint : global::System.IDisposable {
19 private Object locker = new Object();
20 private HandleRef swigCPtr;
21 protected bool swigCMemOwn;
22 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
23 public CFxOsnapPoint(IntPtr cPtr, bool cMemoryOwn) {
24 swigCMemOwn = cMemoryOwn;
25 swigCPtr = new HandleRef(this, cPtr);
26 }
27 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
28 public static HandleRef getCPtr(CFxOsnapPoint obj) {
29 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
30 }
31
33 Dispose(false);
34 }
35
36 public void Dispose() {
37 Dispose(true);
38 global::System.GC.SuppressFinalize(this);
39 }
40
41 protected virtual void Dispose(bool disposing) {
42 lock(this) {
43 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
44 if (swigCMemOwn) {
45 swigCMemOwn = false;
47 }
48 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
49 }
50 }
51 }
52
53 public static CFxOsnapPoint.OsnapMode ConvertOsnapMode(Teigha.Core.OsnapMode osnapMode) {
56 return ret;
57 }
58
59 public virtual CFxOsnapPoint Assign(CFxOsnapPoint osnapPoint) {
62 return ret;
63 }
64
65 public virtual void Clear() {
68 }
69
70 public virtual void Set(CFxOsnapPoint osnapPoint) {
73 }
74
75 public virtual void Set(CFxOsnapPoint.OsnapMode osnapMode, OdGePoint3d point, OdDbFullSubentPath first, OdDbFullSubentPath second) {
78 }
79
83 return ret;
84 }
85
86 public virtual CFxString GetModeName() {
89 return ret;
90 }
91
92 public virtual OdGePoint3d GetPoint() {
95 return ret;
96 }
97
98 public virtual OdDbFullSubentPath GetSubentPath(bool first) {
101 return ret;
102 }
103
107 return ret;
108 }
109
110 public virtual bool IsEqualTo(CFxOsnapPoint osnapPoint, double pointTol) {
111 bool ret = PCADGlobalsPINVOKE.CFxOsnapPoint_IsEqualTo(swigCPtr, CFxOsnapPoint.getCPtr(osnapPoint), pointTol);
113 return ret;
114 }
115
116 public static uint GetOsnapSize() {
119 return ret;
120 }
121
122 public static uint GetOsnapDistance() {
125 return ret;
126 }
127
128 public static UInt32 GetOsnapColor() {
129// test csout
130 /*SIMPLETYPE*/
133 return ret;
134 }
135
136 public static int GetCenterSize() {
139 return ret;
140 }
141
142 public static UInt32 GetCenterColor(CFxTrackerContext pContext) {
143// test csout
144 /*SIMPLETYPE*/
147 return ret;
148 }
149
153 return ret;
154 }
155
156 public enum OsnapMode {
157 kOsModeStart = -2,
158 kOsModeUndefined = -1,
159 kOsModeNone = 0,
160 kOsModeFirst = 1,
161 kOsModeEnd = 1,
162 kOsModeMid = 2,
163 kOsModeCen = 3,
164 kOsModeNode = 4,
165 kOsModeQuad = 5,
166 kOsModeIntersec = 6,
167 kOsModeIns = 7,
168 kOsModePerp = 8,
169 kOsModeTan = 9,
170 kOsModeNear = 10,
171 kOsModeGeoCen = 11,
172 kOsModeApint = 12,
173 kOsModeExt = 13,
174 kOsModePar = 14,
175 kOsModeDisabled = 15,
176 kOsModeCustom = 16,
177 kOsModeLast = 16
178 }
179
180}
181
182}
virtual CFxOsnapPoint.OsnapMode GetMode()
virtual CFxString GetModeName()
static uint GetOsnapDistance()
virtual void Set(CFxOsnapPoint.OsnapMode osnapMode, OdGePoint3d point, OdDbFullSubentPath first, OdDbFullSubentPath second)
static CFxOsnapPoint.OsnapMode ConvertOsnapMode(Teigha.Core.OsnapMode osnapMode)
static UInt32 GetCenterColor(CFxTrackerContext pContext)
virtual bool IsEqualTo(CFxOsnapPoint osnapPoint, double pointTol)
virtual void Set(CFxOsnapPoint osnapPoint)
virtual OdGePoint3d GetPoint()
static OsnapMode ConvertOsnapMode(CFxOsnapPoint.OsnapMode osnapMode)
static HandleRef getCPtr(CFxOsnapPoint obj)
virtual void Dispose(bool disposing)
CFxOsnapPoint(IntPtr cPtr, bool cMemoryOwn)
virtual OdDbFullSubentPath GetSubentPath(bool first)
static UInt32 GetOsnapColor()
virtual OdDbFullSubentPath GetSubentPath()
virtual CFxOsnapPoint Assign(CFxOsnapPoint osnapPoint)
static HandleRef getCPtr(CFxTrackerContext obj)
static global::System.IntPtr CFxOsnapPoint_GetModeName(global::System.Runtime.InteropServices.HandleRef jarg1)
static UInt32 CFxOsnapPoint_GetOsnapColor()
static uint CFxOsnapPoint_GetOsnapSize()
static void CFxOsnapPoint_Set__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static global::System.IntPtr CFxOsnapPoint_GetSubentPath__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1)
static CFxOsnapPoint.OsnapMode ConvertOsnapMode(Teigha.Core.OsnapMode osnapMode)
static uint CFxOsnapPoint_GetOsnapDistance()
static int CFxOsnapPoint_GetMode(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxOsnapPoint_GetSubentPath__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static global::System.IntPtr CFxOsnapPoint_GetPoint(global::System.Runtime.InteropServices.HandleRef jarg1)
static int CFxOsnapPoint_GetCenterSize()
static void delete_CFxOsnapPoint(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CFxOsnapPoint_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void CFxOsnapPoint_Set__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int CFxOsnapPoint_ConvertOsnapMode(int jarg1)
static void CFxOsnapPoint_Clear(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool CFxOsnapPoint_IsEqualTo(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, double jarg3)
static UInt32 CFxOsnapPoint_GetCenterColor(global::System.Runtime.InteropServices.HandleRef jarg1)
static HandleRef getCPtr(OdGePoint3d obj)
Definition: OdGePoint3d.cs:26
static HandleRef getCPtr(OdDbFullSubentPath obj)