Extended .NET SDK Documentation 2025 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
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
75
76 public bool IsEqual(OdGeEntity3d entity) {
77 bool ret = GlobalsPINVOKE.OdGeEntity3d_IsEqual(swigCPtr, OdGeEntity3d.getCPtr(entity));
79 return ret;
80 }
81
87
93
99
105
111
117
123
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_)
bool IsEqual(OdGeEntity3d entity)
OdGeEntity3d scaleBy(double scaleFactor)
OdGeEntity3d(IntPtr cPtr, bool cMemoryOwn)
Teigha.Core.OdGe.EntityId vb_type()
OdGeEntity3d Assign(OdGeEntity3d entity)
bool isOn(OdGePoint3d point)
bool isEqualTo(OdGeEntity3d object_, OdGeTol tol)
virtual void Dispose(bool disposing)
bool isKindOf(OdGe.EntityId entType)
bool isOn(OdGePoint3d point, OdGeTol tol)
static HandleRef getCPtr(OdGeEntity3d obj)
OdGeEntity3d mirror(OdGePlane plane)
bool IsNotEqual(OdGeEntity3d entity)
OdGeEntity3d rotateBy(double angle, OdGeVector3d vect)
OdGeEntity3d transformBy(OdGeMatrix3d xfm)
OdGeEntity3d scaleBy(double scaleFactor, OdGePoint3d basePoint)
OdGeEntity3d translateBy(OdGeVector3d translateVec)
static HandleRef getCPtr(OdGeMatrix3d obj)
static HandleRef getCPtr(OdGePlane obj)
Definition OdGePlane.cs:25
static HandleRef getCPtr(OdGePoint3d obj)
static HandleRef getCPtr(OdGeTol obj)
Definition OdGeTol.cs:26
static HandleRef getCPtr(OdGeVector3d obj)