Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
OdDgGeoDataDatum.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 OdDgGeoDataDatum : 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 OdDgGeoDataDatum(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(OdDgGeoDataDatum 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 OdDgGeoDataDatum() : this(TG_DbPINVOKE.new_OdDgGeoDataDatum(), true) {
54 }
55
61
66
72
77
83
88
94
99
105
110
111 public double getXRotation() {
112 double ret = TG_DbPINVOKE.OdDgGeoDataDatum_getXRotation(swigCPtr);
114 return ret;
115 }
116
121
122 public double getYRotation() {
123 double ret = TG_DbPINVOKE.OdDgGeoDataDatum_getYRotation(swigCPtr);
125 return ret;
126 }
127
132
133 public double getZRotation() {
134 double ret = TG_DbPINVOKE.OdDgGeoDataDatum_getZRotation(swigCPtr);
136 return ret;
137 }
138
143
144 public double getScale() {
145 double ret = TG_DbPINVOKE.OdDgGeoDataDatum_getScale(swigCPtr);
147 return ret;
148 }
149
150 public void setScale(double dScale) {
151 TG_DbPINVOKE.OdDgGeoDataDatum_setScale(swigCPtr, dScale);
153 }
154
160
165
167 kNone = 0x0,
168 kMolodensky = 0x1,
170 kBursaWolf = 0x3,
171 kNAD27 = 0x4,
172 kNAD83 = 0x5,
173 kWGS84 = 0x6,
174 kWGS72 = 0x7,
175 kHARN = 0x8,
176 k7Params = 0x9,
177 kAGD66 = 0xa,
178 k3Params = 0xb,
179 k6Params = 0xc,
180 k4Params = 0xd,
181 kAGD84 = 0xe,
182 kNZGD4 = 0xf,
183 kATS77 = 0x10,
184 kGDA94 = 0x11,
185 kNZGD2k = 0x12,
186 kCSRS = 0x13,
187 kTOKYO = 0x14,
188 kRGF93 = 0x15,
189 kED50 = 0x16,
190 kDHDN = 0x17,
191 kETRF89 = 0x18,
192 kGeocentric = 0x19,
193 kCHENxy = 0x1a,
194 kPLYNM = 0x1b
195 }
196
197}
198
199}
static HandleRef getCPtr(OdGeMatrix3d obj)
static HandleRef getCPtr(OdGePoint3d obj)
void setXRotation(double dAngle)
virtual void Dispose(bool disposing)
void setScale(double dScale)
void setYRotation(double dAngle)
void setTransformMatrix(OdGeMatrix3d matTransform)
void setOffset(OdGePoint3d ptOffset)
static HandleRef getCPtr(OdDgGeoDataDatum obj)
void setDescription(String strDesc)
OdDgGeoDataDatum.OdDgGeoDataConversionMethod getDatumConversionMethod()
void setZRotation(double dAngle)
OdDgGeoDataDatum(IntPtr cPtr, bool cMemoryOwn)
void setSource(String strSource)
void setDatumConversionMethod(OdDgGeoDataDatum.OdDgGeoDataConversionMethod uMethod)
void setName(String strName)
static global::System.Exception Retrieve()
static global::System.IntPtr OdDgGeoDataDatum_getOffset(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdDgGeoDataDatum_getDatumConversionMethod(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgGeoDataDatum_setScale(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdDgGeoDataDatum_setOffset(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void delete_OdDgGeoDataDatum(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdDgGeoDataDatum_getTransformMatrix(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgGeoDataDatum_setYRotation(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static double OdDgGeoDataDatum_getXRotation(global::System.Runtime.InteropServices.HandleRef jarg1)
static String OdDgGeoDataDatum_getName(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgGeoDataDatum_setXRotation(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void OdDgGeoDataDatum_setTransformMatrix(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdDgGeoDataDatum_setDescription(global::System.Runtime.InteropServices.HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static double OdDgGeoDataDatum_getZRotation(global::System.Runtime.InteropServices.HandleRef jarg1)
static double OdDgGeoDataDatum_getScale(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgGeoDataDatum_setDatumConversionMethod(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void OdDgGeoDataDatum_setSource(global::System.Runtime.InteropServices.HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)
static double OdDgGeoDataDatum_getYRotation(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgGeoDataDatum_setZRotation(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static String OdDgGeoDataDatum_getSource(global::System.Runtime.InteropServices.HandleRef jarg1)
static String OdDgGeoDataDatum_getDescription(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgGeoDataDatum_setName(global::System.Runtime.InteropServices.HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2)