Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdIBrHit.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 OdIBrHit : 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 OdIBrHit(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(OdIBrHit obj) {
27 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
28 }
29
30 ~OdIBrHit() {
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 virtual bool isEqualTo(OdIBrHit pIBrHit) {
52 bool ret = GlobalsPINVOKE.OdIBrHit_isEqualTo(swigCPtr, OdIBrHit.getCPtr(pIBrHit));
54 return ret;
55 }
56
57 public virtual OdIBrHit copy() {
58 global::System.IntPtr cPtr = GlobalsPINVOKE.OdIBrHit_copy(swigCPtr);
59 OdIBrHit ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdIBrHit(cPtr, false);
61 return ret;
62 }
63
64 public virtual bool isNull() {
65 bool ret = GlobalsPINVOKE.OdIBrHit_isNull(swigCPtr);
67 return ret;
68 }
69
70 public virtual bool brepChanged() {
71 bool ret = GlobalsPINVOKE.OdIBrHit_brepChanged(swigCPtr);
73 return ret;
74 }
75
76 public virtual OdBrErrorStatus getEntityHit(OdIBrEntity entityHit, out UInt32 /*SIMPLETYPE*/ subentType) {
77 OdBrErrorStatus ret = (OdBrErrorStatus)GlobalsPINVOKE.OdIBrHit_getEntityHit(swigCPtr, OdIBrEntity.getCPtr(entityHit).Handle, out subentType);
79 return ret;
80 }
81
82 public virtual OdBrErrorStatus getEntityEntered(OdIBrEntity entityEntered, out UInt32 /*SIMPLETYPE*/ subentType) {
83 OdBrErrorStatus ret = (OdBrErrorStatus)GlobalsPINVOKE.OdIBrHit_getEntityEntered(swigCPtr, OdIBrEntity.getCPtr(entityEntered).Handle, out subentType);
85 return ret;
86 }
87
88 public virtual OdBrErrorStatus getEntityAssociated(OdIBrEntity entityEntered, out UInt32 /*SIMPLETYPE*/ subentType) {
89 OdBrErrorStatus ret = (OdBrErrorStatus)GlobalsPINVOKE.OdIBrHit_getEntityAssociated(swigCPtr, OdIBrEntity.getCPtr(entityEntered).Handle, out subentType);
91 return ret;
92 }
93
94 public virtual OdBrErrorStatus getPoint(OdGePoint3d point) {
97 return ret;
98 }
99
100}
101
102}
static global::System.Exception Retrieve()
static int OdIBrHit_getPoint(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void delete_OdIBrHit(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdIBrHit_brepChanged(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdIBrHit_getEntityAssociated(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2, out UInt32 jarg3)
static bool OdIBrHit_isNull(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdIBrHit_getEntityEntered(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2, out UInt32 jarg3)
static int OdIBrHit_getEntityHit(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2, out UInt32 jarg3)
static global::System.IntPtr OdIBrHit_copy(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdIBrHit_isEqualTo(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static HandleRef getCPtr(OdGePoint3d obj)
Definition: OdGePoint3d.cs:26
static HandleRef getCPtr(OdIBrEntity obj)
Definition: OdIBrEntity.cs:26
virtual OdBrErrorStatus getPoint(OdGePoint3d point)
Definition: OdIBrHit.cs:94
virtual OdBrErrorStatus getEntityHit(OdIBrEntity entityHit, out UInt32 subentType)
Definition: OdIBrHit.cs:76
virtual void Dispose(bool disposing)
Definition: OdIBrHit.cs:39
virtual OdBrErrorStatus getEntityAssociated(OdIBrEntity entityEntered, out UInt32 subentType)
Definition: OdIBrHit.cs:88
OdIBrHit(IntPtr cPtr, bool cMemoryOwn)
Definition: OdIBrHit.cs:21
virtual bool isEqualTo(OdIBrHit pIBrHit)
Definition: OdIBrHit.cs:51
virtual OdBrErrorStatus getEntityEntered(OdIBrEntity entityEntered, out UInt32 subentType)
Definition: OdIBrHit.cs:82
virtual OdIBrHit copy()
Definition: OdIBrHit.cs:57
virtual bool isNull()
Definition: OdIBrHit.cs:64
virtual bool brepChanged()
Definition: OdIBrHit.cs:70
static HandleRef getCPtr(OdIBrHit obj)
Definition: OdIBrHit.cs:26