Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
OdGsRayTraceReactor.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 OdGsRayTraceReactor : 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 OdGsRayTraceReactor(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(OdGsRayTraceReactor 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 class TraceResult : global::System.IDisposable {
52 private Object locker = new Object();
53 private HandleRef swigCPtr;
54 protected bool swigCMemOwn;
55 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
56 public TraceResult(IntPtr cPtr, bool cMemoryOwn) {
57 swigCMemOwn = cMemoryOwn;
58 swigCPtr = new HandleRef(this, cPtr);
59 }
60 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
61 public static HandleRef getCPtr(TraceResult obj) {
62 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
63 }
64
65 ~TraceResult() {
66 Dispose(false);
67 }
68
69 public void Dispose() {
70 Dispose(true);
71 global::System.GC.SuppressFinalize(this);
72 }
73
74 protected virtual void Dispose(bool disposing) {
75 lock(this) {
76 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
77 if (swigCMemOwn) {
78 swigCMemOwn = false;
80 }
81 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
82 }
83 }
84 }
85
95
103
104 public TraceResult(OdGePoint3d origin, OdGeVector3d direction) : this(GlobalsPINVOKE.new_OdGsRayTraceReactor_TraceResult(OdGePoint3d.getCPtr(origin), OdGeVector3d.getCPtr(direction)), true) {
106 }
107
114
120
121 }
122
130
131 public const int kContinue = 0;
132 public const int kBreak = 1;
133
134}
135
136}
static global::System.Exception Retrieve()
static global::System.IntPtr OdGsRayTraceReactor_TraceResult_point(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGsRayTraceReactor_TraceResult_normal(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGsRayTraceReactor_TraceResult_m_origin_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGsRayTraceReactor_TraceResult_m_direction_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static UInt32 OdGsRayTraceReactor_rayIntersection(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, HandleRef jarg5)
static void delete_OdGsRayTraceReactor_TraceResult(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdGsRayTraceReactor(global::System.Runtime.InteropServices.HandleRef jarg1)
static HandleRef getCPtr(OdGiPathNode obj)
static HandleRef getCPtr(OdGiViewport obj)
TraceResult(OdGePoint3d origin, OdGeVector3d direction)
static HandleRef getCPtr(TraceResult obj)
virtual UInt32 rayIntersection(OdGiPathNode pathNode, OdGsRayTraceReactor.TraceResult intResult, OdGsRayTraceReactor.TraceResult ray, OdGiViewport viewInfo)
virtual void Dispose(bool disposing)
static HandleRef getCPtr(OdGsRayTraceReactor obj)
OdGsRayTraceReactor(IntPtr cPtr, bool cMemoryOwn)