Extended .NET SDK Documentation
2025 SP0
Loading...
Searching...
No Matches
SDK
DotNet
dd_inc
TD_SwigCore_TEMP
TargetLangSources
OdGsCullingPrimitiveImpl.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
11
namespace
Teigha.Core
{
12
13
using
System;
14
using
System.Runtime.InteropServices;
15
16
public
class
OdGsCullingPrimitiveImpl
:
OdGsCullingPrimitive
, 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
OdGsCullingPrimitiveImpl
(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
(
OdGsCullingPrimitiveImpl
obj) {
27
return
(obj ==
null
) ?
new
HandleRef(
null
, IntPtr.Zero) : obj.swigCPtr;
28
}
29
30
~OdGsCullingPrimitiveImpl
() {
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
;
44
GlobalsPINVOKE
.
delete_OdGsCullingPrimitiveImpl
(swigCPtr);
45
}
46
swigCPtr =
new
global::System.Runtime.InteropServices.HandleRef(
null
, global::System.IntPtr.Zero);
47
}
48
}
49
}
50
51
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
52
global::System.Runtime.InteropServices.HandleRef
OdGsCullingPrimitive
.
GetInterfaceCPtr
() {
53
return
new
global::System.Runtime.InteropServices.HandleRef(
this
,
GlobalsPINVOKE
.
OdGsCullingPrimitiveImpl_OdGsCullingPrimitive_GetInterfaceCPtr
(swigCPtr.Handle));
54
}
55
56
public
virtual
OdGsCullingPrimitiveImpl.PrimitiveType
primitiveType
() {
57
OdGsCullingPrimitiveImpl.PrimitiveType
ret = (
OdGsCullingPrimitiveImpl
.
PrimitiveType
)
GlobalsPINVOKE
.
OdGsCullingPrimitiveImpl_primitiveType
(swigCPtr);
58
if
(
GlobalsPINVOKE
.
SWIGPendingException
.
Pending
)
throw
GlobalsPINVOKE
.
SWIGPendingException
.
Retrieve
();
59
return
ret;
60
}
61
66
public
virtual
Teigha.Core.OdGsCullingPrimitiveImpl.PrimitiveType
vb_primitiveType
() {
return
this.
primitiveType
(); }
67
68
public
enum
PrimitiveType
{
69
kPrimBBox
,
70
kPrimBSphere
,
71
kPrimOBBox
72
}
73
74
}
75
76
}
Teigha.Core.GlobalsPINVOKE.SWIGPendingException
Definition
GlobalsPINVOKE.cs:130
Teigha.Core.GlobalsPINVOKE.SWIGPendingException.Pending
static bool Pending
Definition
GlobalsPINVOKE.cs:136
Teigha.Core.GlobalsPINVOKE.SWIGPendingException.Retrieve
static global::System.Exception Retrieve()
Definition
GlobalsPINVOKE.cs:155
Teigha.Core.GlobalsPINVOKE
Definition
GlobalsPINVOKE.cs:16
Teigha.Core.GlobalsPINVOKE.OdGsCullingPrimitiveImpl_OdGsCullingPrimitive_GetInterfaceCPtr
static global::System.IntPtr OdGsCullingPrimitiveImpl_OdGsCullingPrimitive_GetInterfaceCPtr(global::System.IntPtr jarg1)
Teigha.Core.GlobalsPINVOKE.OdGsCullingPrimitiveImpl_primitiveType
static int OdGsCullingPrimitiveImpl_primitiveType(global::System.Runtime.InteropServices.HandleRef jarg1)
Teigha.Core.GlobalsPINVOKE.delete_OdGsCullingPrimitiveImpl
static void delete_OdGsCullingPrimitiveImpl(global::System.Runtime.InteropServices.HandleRef jarg1)
Teigha.Core.OdGsCullingPrimitiveImpl
Definition
OdGsCullingPrimitiveImpl.cs:16
Teigha.Core.OdGsCullingPrimitiveImpl.swigCMemOwn
bool swigCMemOwn
Definition
OdGsCullingPrimitiveImpl.cs:19
Teigha.Core.OdGsCullingPrimitiveImpl.Dispose
void Dispose()
Definition
OdGsCullingPrimitiveImpl.cs:34
Teigha.Core.OdGsCullingPrimitiveImpl.vb_primitiveType
virtual Teigha.Core.OdGsCullingPrimitiveImpl.PrimitiveType vb_primitiveType()
Definition
OdGsCullingPrimitiveImpl.cs:66
Teigha.Core.OdGsCullingPrimitiveImpl.Dispose
virtual void Dispose(bool disposing)
Definition
OdGsCullingPrimitiveImpl.cs:39
Teigha.Core.OdGsCullingPrimitiveImpl.getCPtr
static HandleRef getCPtr(OdGsCullingPrimitiveImpl obj)
Definition
OdGsCullingPrimitiveImpl.cs:26
Teigha.Core.OdGsCullingPrimitiveImpl.OdGsCullingPrimitiveImpl
OdGsCullingPrimitiveImpl(IntPtr cPtr, bool cMemoryOwn)
Definition
OdGsCullingPrimitiveImpl.cs:21
Teigha.Core.OdGsCullingPrimitiveImpl.primitiveType
virtual OdGsCullingPrimitiveImpl.PrimitiveType primitiveType()
Definition
OdGsCullingPrimitiveImpl.cs:56
Teigha.Core.OdGsCullingPrimitiveImpl.PrimitiveType
PrimitiveType
Definition
OdGsCullingPrimitiveImpl.cs:68
Teigha.Core.OdGsCullingPrimitiveImpl.PrimitiveType.kPrimBSphere
@ kPrimBSphere
Teigha.Core.OdGsCullingPrimitiveImpl.PrimitiveType.kPrimOBBox
@ kPrimOBBox
Teigha.Core.OdGsCullingPrimitiveImpl.PrimitiveType.kPrimBBox
@ kPrimBBox
Teigha.Core.OdGsCullingPrimitive
Definition
OdGsCullingPrimitive.cs:16
Teigha.Core.OdGsCullingPrimitive.GetInterfaceCPtr
global::System.Runtime.InteropServices.HandleRef GetInterfaceCPtr()
Teigha.Core
Definition
AbstractClipBoundaryArray.cs:11
Generated on Mon Mar 4 2024 12:45:32