Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGeEntity3d.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.Core {
12
13using System;
14using System.Runtime.InteropServices;
15
16public class OdGeEntity3d : global::System.IDisposable {
17 private Object locker = new Object();
18 private HandleRef swigCPtr;
19 protected bool swigCMemOwn;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
21 public OdGeEntity3d(IntPtr cPtr, bool cMemoryOwn) {
22 swigCMemOwn = cMemoryOwn;
23 swigCPtr = new HandleRef(this, cPtr);
24 }
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 public static HandleRef getCPtr(OdGeEntity3d obj) {
27 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
28 }
29
31 Dispose(false);
32 }
33
34 public void Dispose() {
35 Dispose(true);
36 global::System.GC.SuppressFinalize(this);
37 }
38
39 protected virtual void Dispose(bool disposing) {
40 lock(this) {
41 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
42 if (swigCMemOwn) {
43 swigCMemOwn = false;
45 }
46 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
47 }
48 }
49 }
50
51 public bool isKindOf(OdGe.EntityId entType) {
52 bool ret = GlobalsPINVOKE.OdGeEntity3d_isKindOf(swigCPtr, (int)entType);
54 return ret;
55 }
56
60 return ret;
61 }
62
63 public OdGeEntity3d copy() {
64 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGeEntity3d_copy(swigCPtr);
65 OdGeEntity3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeEntity3d(cPtr, false);
67 return ret;
68 }
69
73 return this;
74}
75
76 public bool IsEqual(OdGeEntity3d entity) {
77 bool ret = GlobalsPINVOKE.OdGeEntity3d_IsEqual(swigCPtr, OdGeEntity3d.getCPtr(entity));
79 return ret;
80 }
81
82 public bool IsNotEqual(OdGeEntity3d entity) {
83 bool ret = GlobalsPINVOKE.OdGeEntity3d_IsNotEqual(swigCPtr, OdGeEntity3d.getCPtr(entity));
85 return ret;
86 }
87
88 public bool isEqualTo(OdGeEntity3d object_, OdGeTol tol) {
91 return ret;
92 }
93
94 public bool isEqualTo(OdGeEntity3d object_) {
97 return ret;
98 }
99
103 return this;
104}
105
106 public OdGeEntity3d translateBy(OdGeVector3d translateVec) {
107 OdGeEntity3d ret = new OdGeEntity3d(GlobalsPINVOKE.OdGeEntity3d_translateBy(swigCPtr, OdGeVector3d.getCPtr(translateVec)), false);
109 return ret;
110 }
111
112 public OdGeEntity3d rotateBy(double angle, OdGeVector3d vect, OdGePoint3d basePoint) {
115 return this;
116}
117
118 public OdGeEntity3d rotateBy(double angle, OdGeVector3d vect) {
121 return this;
122}
123
127 return this;
128}
129
130 public OdGeEntity3d scaleBy(double scaleFactor, OdGePoint3d basePoint) {
131 OdGeEntity3d ret = new OdGeEntity3d(GlobalsPINVOKE.OdGeEntity3d_scaleBy__SWIG_0(swigCPtr, scaleFactor, OdGePoint3d.getCPtr(basePoint)), false);
133 return ret;
134 }
135
136 public OdGeEntity3d scaleBy(double scaleFactor) {
137 OdGeEntity3d ret = new OdGeEntity3d(GlobalsPINVOKE.OdGeEntity3d_scaleBy__SWIG_1(swigCPtr, scaleFactor), false);
139 return ret;
140 }
141
142 public bool isOn(OdGePoint3d point, OdGeTol tol) {
145 return ret;
146 }
147
148 public bool isOn(OdGePoint3d point) {
149 bool ret = GlobalsPINVOKE.OdGeEntity3d_isOn__SWIG_1(swigCPtr, OdGePoint3d.getCPtr(point));
151 return ret;
152 }
153
158 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
159
160}
161
162}
static global::System.Exception Retrieve()
static global::System.IntPtr OdGeEntity3d_mirror(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGeEntity3d_IsEqual(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeEntity3d_rotateBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdGeEntity3d_isKindOf(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static global::System.IntPtr OdGeEntity3d_copy(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeEntity3d_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeEntity3d_translateBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGeEntity3d_isEqualTo__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGeEntity3d_isEqualTo__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdGeEntity3d_isOn__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeEntity3d_transformBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdGeEntity3d_IsNotEqual(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void delete_OdGeEntity3d(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdGeEntity3d_type(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdGeEntity3d_isOn__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeEntity3d_scaleBy__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeEntity3d_rotateBy__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static global::System.IntPtr OdGeEntity3d_scaleBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
OdGeEntity3d rotateBy(double angle, OdGeVector3d vect, OdGePoint3d basePoint)
bool isEqualTo(OdGeEntity3d object_)
Definition: OdGeEntity3d.cs:94
bool IsEqual(OdGeEntity3d entity)
Definition: OdGeEntity3d.cs:76
OdGeEntity3d scaleBy(double scaleFactor)
OdGeEntity3d(IntPtr cPtr, bool cMemoryOwn)
Definition: OdGeEntity3d.cs:21
Teigha.Core.OdGe.EntityId vb_type()
OdGeEntity3d Assign(OdGeEntity3d entity)
Definition: OdGeEntity3d.cs:70
bool isOn(OdGePoint3d point)
bool isEqualTo(OdGeEntity3d object_, OdGeTol tol)
Definition: OdGeEntity3d.cs:88
virtual void Dispose(bool disposing)
Definition: OdGeEntity3d.cs:39
bool isKindOf(OdGe.EntityId entType)
Definition: OdGeEntity3d.cs:51
bool isOn(OdGePoint3d point, OdGeTol tol)
static HandleRef getCPtr(OdGeEntity3d obj)
Definition: OdGeEntity3d.cs:26
OdGeEntity3d mirror(OdGePlane plane)
bool IsNotEqual(OdGeEntity3d entity)
Definition: OdGeEntity3d.cs:82
OdGeEntity3d rotateBy(double angle, OdGeVector3d vect)
OdGeEntity3d transformBy(OdGeMatrix3d xfm)
OdGeEntity3d scaleBy(double scaleFactor, OdGePoint3d basePoint)
OdGeEntity3d translateBy(OdGeVector3d translateVec)
OdGe.EntityId type()
Definition: OdGeEntity3d.cs:57
static HandleRef getCPtr(OdGeMatrix3d obj)
Definition: OdGeMatrix3d.cs:26
static HandleRef getCPtr(OdGePlane obj)
Definition: OdGePlane.cs:25
static HandleRef getCPtr(OdGePoint3d obj)
Definition: OdGePoint3d.cs:26
static HandleRef getCPtr(OdGeTol obj)
Definition: OdGeTol.cs:26
static HandleRef getCPtr(OdGeVector3d obj)
Definition: OdGeVector3d.cs:26