Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGiProgressiveMeshVertexData.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 OdGiProgressiveMeshVertexData : 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 OdGiProgressiveMeshVertexData(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(OdGiProgressiveMeshVertexData 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
52 set {
55 }
56 get {
57 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiProgressiveMeshVertexData_normals_get(swigCPtr);
58 OdVectorOdGeVector3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdVectorOdGeVector3d(cPtr, false);
60 return ret;
61 }
62 }
63
65 set {
68 }
69 get {
70 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiProgressiveMeshVertexData_colors_get(swigCPtr);
71 OdVectorOdCmEntityColor ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdVectorOdCmEntityColor(cPtr, false);
73 return ret;
74 }
75 }
76
78 set {
81 }
82 get {
83 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiProgressiveMeshVertexData_UV_get(swigCPtr);
84 OdVectorOdGePoint3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdVectorOdGePoint3d(cPtr, false);
86 return ret;
87 }
88 }
89
90 public OdGiProgressiveMeshVertexData() : this(GlobalsPINVOKE.new_OdGiProgressiveMeshVertexData(), true) {
92 }
93
94 public enum VertexDataFlags {
96 kVertexDataColors = 1 << 1,
97 kVertexDataUVs = 1 << 2
98 }
99
100}
101
102}
static global::System.Exception Retrieve()
static void delete_OdGiProgressiveMeshVertexData(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiProgressiveMeshVertexData_colors_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiProgressiveMeshVertexData_normals_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiProgressiveMeshVertexData_UV_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGiProgressiveMeshVertexData_colors_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiProgressiveMeshVertexData_UV_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiProgressiveMeshVertexData_normals_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static HandleRef getCPtr(OdGiProgressiveMeshVertexData obj)
OdGiProgressiveMeshVertexData(IntPtr cPtr, bool cMemoryOwn)
static HandleRef getCPtr(OdVectorOdCmEntityColor obj)
static HandleRef getCPtr(OdVectorOdGePoint3d obj)
static HandleRef getCPtr(OdVectorOdGeVector3d obj)