Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGiVertexData.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 OdGiVertexData : 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 OdGiVertexData(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(OdGiVertexData 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 OdGiVertexData() : this(GlobalsPINVOKE.new_OdGiVertexData(), true) {
53 }
54
58 }
59
60 public void setOrientationFlag(OdGiOrientationType orientationType) {
61 GlobalsPINVOKE.OdGiVertexData_setOrientationFlag(swigCPtr, (int)orientationType);
63 }
64
65 public void setTrueColors(OdCmEntityColor colors) {
68 }
69
73 }
74
76 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiVertexData_normals(swigCPtr);
77 OdGeVector3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeVector3d(cPtr, false);
79 return ret;
80 }
81
85 return ret;
86 }
87
89 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiVertexData_trueColors(swigCPtr);
90 OdCmEntityColor ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdCmEntityColor(cPtr, false);
92 return ret;
93 }
94
96 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiVertexData_mappingCoords(swigCPtr, (int)channel);
97 OdGePoint3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGePoint3d(cPtr, false);
99 return ret;
100 }
101
102 public enum MapChannel {
103 kAllChannels = 0
104 }
105
106}
107
108}
static global::System.Exception Retrieve()
static void OdGiVertexData_setNormals(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void delete_OdGiVertexData(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiVertexData_setMappingCoords(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGiVertexData_normals(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGiVertexData_trueColors(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdGiVertexData_setOrientationFlag(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void OdGiVertexData_setTrueColors(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGiVertexData_mappingCoords(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static int OdGiVertexData_orientationFlag(global::System.Runtime.InteropServices.HandleRef jarg1)
static HandleRef getCPtr(OdCmEntityColor obj)
static HandleRef getCPtr(OdGePoint3d obj)
Definition: OdGePoint3d.cs:26
static HandleRef getCPtr(OdGeVector3d obj)
Definition: OdGeVector3d.cs:26
OdGiOrientationType orientationFlag()
OdCmEntityColor trueColors()
void setTrueColors(OdCmEntityColor colors)
virtual void Dispose(bool disposing)
void setOrientationFlag(OdGiOrientationType orientationType)
void setNormals(OdGeVector3d normals)
void setMappingCoords(OdGiVertexData.MapChannel channel, OdGePoint3d coords)
OdGiVertexData(IntPtr cPtr, bool cMemoryOwn)
static HandleRef getCPtr(OdGiVertexData obj)
OdGePoint3d mappingCoords(OdGiVertexData.MapChannel channel)