Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
TempOdGiDummyGeometry.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 TempOdGiDummyGeometry : 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 TempOdGiDummyGeometry(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(TempOdGiDummyGeometry 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;
44 GlobalsPINVOKE.deletePD_TempOdGiDummyGeometry(swigCPtr); // PROTECTED_DTOR_CSHARP
45 }
46 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
47 }
48 }
49 }
50
51 public void circle(OdGePoint3d center, double radius, OdGeVector3d normal) {
54 }
55
56 public void circle(OdGePoint3d firstPoint, OdGePoint3d secondPoint, OdGePoint3d thirdPoint) {
59 }
60
61 public void circularArc(OdGePoint3d center, double radius, OdGeVector3d normal, OdGeVector3d startVector, double sweepAngle, OdGiArcType arcType) {
62 GlobalsPINVOKE.TempOdGiDummyGeometry_circularArc__SWIG_0(swigCPtr, OdGePoint3d.getCPtr(center), radius, OdGeVector3d.getCPtr(normal), OdGeVector3d.getCPtr(startVector), sweepAngle, (int)arcType);
64 }
65
66 public void circularArc(OdGePoint3d center, double radius, OdGeVector3d normal, OdGeVector3d startVector, double sweepAngle) {
67 GlobalsPINVOKE.TempOdGiDummyGeometry_circularArc__SWIG_1(swigCPtr, OdGePoint3d.getCPtr(center), radius, OdGeVector3d.getCPtr(normal), OdGeVector3d.getCPtr(startVector), sweepAngle);
69 }
70
71 public void circularArc(OdGePoint3d firstPoint, OdGePoint3d secondPoint, OdGePoint3d thirdPoint, OdGiArcType arcType) {
72 GlobalsPINVOKE.TempOdGiDummyGeometry_circularArc__SWIG_2(swigCPtr, OdGePoint3d.getCPtr(firstPoint), OdGePoint3d.getCPtr(secondPoint), OdGePoint3d.getCPtr(thirdPoint), (int)arcType);
74 }
75
76 public void circularArc(OdGePoint3d firstPoint, OdGePoint3d secondPoint, OdGePoint3d thirdPoint) {
79 }
80
81 public void polyline(OdGePoint3d[] /*POINTARRAY_TYPEMAP*/ numVertices, OdGeVector3d pNormal, IntPtr /*SIMPLETYPE*/ baseSubEntMarker) {
82IntPtr p_numVertices=Teigha.Core.Helpers.MarshalPoint3dArray(numVertices);
83 try {
84 GlobalsPINVOKE.TempOdGiDummyGeometry_polyline__SWIG_0(swigCPtr, p_numVertices, OdGeVector3d.getCPtr(pNormal), baseSubEntMarker /*SIMPLETYPE*/);
86 } finally {
87Marshal.FreeCoTaskMem(p_numVertices);
88 }
89 }
90
91 public void polyline(OdGePoint3d[] /*POINTARRAY_TYPEMAP*/ numVertices, OdGeVector3d pNormal) {
92IntPtr p_numVertices=Teigha.Core.Helpers.MarshalPoint3dArray(numVertices);
93 try {
96 } finally {
97Marshal.FreeCoTaskMem(p_numVertices);
98 }
99 }
100
101 public void polyline(OdGePoint3d[] /*POINTARRAY_TYPEMAP*/ numVertices) {
102IntPtr p_numVertices=Teigha.Core.Helpers.MarshalPoint3dArray(numVertices);
103 try {
106 } finally {
107Marshal.FreeCoTaskMem(p_numVertices);
108 }
109 }
110
111 public void polygon(OdGePoint3d[] /*POINTARRAY_TYPEMAP*/ numVertices) {
112IntPtr p_numVertices=Teigha.Core.Helpers.MarshalPoint3dArray(numVertices);
113 try {
116 } finally {
117Marshal.FreeCoTaskMem(p_numVertices);
118 }
119 }
120
121 public void polygon(OdGePoint3d[] /*POINTARRAY_TYPEMAP*/ numVertices, OdGeVector3d pNormal) {
122IntPtr p_numVertices=Teigha.Core.Helpers.MarshalPoint3dArray(numVertices);
123 try {
126 } finally {
127Marshal.FreeCoTaskMem(p_numVertices);
128 }
129 }
130
131 public void pline(OdGiPolyline polylPine, UInt32 /*SIMPLETYPE*/ fromIndex, UInt32 /*SIMPLETYPE*/ numSegs) {
132 GlobalsPINVOKE.TempOdGiDummyGeometry_pline__SWIG_0(swigCPtr, OdGiPolyline.getCPtr(polylPine), fromIndex /*SIMPLETYPE*/, numSegs /*SIMPLETYPE*/);
134 }
135
136 public void pline(OdGiPolyline polylPine, UInt32 /*SIMPLETYPE*/ fromIndex) {
137 GlobalsPINVOKE.TempOdGiDummyGeometry_pline__SWIG_1(swigCPtr, OdGiPolyline.getCPtr(polylPine), fromIndex /*SIMPLETYPE*/);
139 }
140
141 public void pline(OdGiPolyline polylPine) {
144 }
145
146 public void shape(OdGePoint3d position, OdGeVector3d normal, OdGeVector3d direction, int shapeNumber, OdGiTextStyle pTextStyle) {
147 GlobalsPINVOKE.TempOdGiDummyGeometry_shape(swigCPtr, OdGePoint3d.getCPtr(position), OdGeVector3d.getCPtr(normal), OdGeVector3d.getCPtr(direction), shapeNumber, OdGiTextStyle.getCPtr(pTextStyle));
149 }
150
151 public void text(OdGePoint3d position, OdGeVector3d normal, OdGeVector3d direction, double height, double width, double oblique, String msg) {
152 GlobalsPINVOKE.TempOdGiDummyGeometry_text__SWIG_0(swigCPtr, OdGePoint3d.getCPtr(position), OdGeVector3d.getCPtr(normal), OdGeVector3d.getCPtr(direction), height, width, oblique, msg);
154 }
155
156 public void text(OdGePoint3d position, OdGeVector3d normal, OdGeVector3d direction, string msg, bool raw, OdGiTextStyle pTextStyle) {
159 }
160
161 public void xline(OdGePoint3d firstPoint, OdGePoint3d secondPoint) {
164 }
165
166 public void ray(OdGePoint3d basePoint, OdGePoint3d throughPoint) {
169 }
170
171 public void nurbs(OdGeNurbCurve3d nurbsCurve) {
174 }
175
176 public void ellipArc(OdGeEllipArc3d ellipArc, OdGePoint3d[] /*ENDPOINTS3D_OVERRIDES*/ endPointsOverrides, OdGiArcType arcType) {
177IntPtr p_endPointsOverrides=Teigha.Core.Helpers.MarshalPointPair(endPointsOverrides);
178 try {
179 GlobalsPINVOKE.TempOdGiDummyGeometry_ellipArc__SWIG_0(swigCPtr, OdGeEllipArc3d.getCPtr(ellipArc), p_endPointsOverrides, (int)arcType);
181 } finally {
182if (p_endPointsOverrides != IntPtr.Zero) Marshal.FreeCoTaskMem(p_endPointsOverrides);
183 }
184 }
185
186 public void ellipArc(OdGeEllipArc3d ellipArc, OdGePoint3d[] /*ENDPOINTS3D_OVERRIDES*/ endPointsOverrides) {
187IntPtr p_endPointsOverrides=Teigha.Core.Helpers.MarshalPointPair(endPointsOverrides);
188 try {
191 } finally {
192if (p_endPointsOverrides != IntPtr.Zero) Marshal.FreeCoTaskMem(p_endPointsOverrides);
193 }
194 }
195
199 }
200
201 public void mesh(MeshData numRows) {
202IntPtr p_numRows=Teigha.Core.Helpers.MarshalMeshData(numRows);
203 try {
204 GlobalsPINVOKE.TempOdGiDummyGeometry_mesh(swigCPtr, p_numRows);
206 } finally {
207Marshal.FreeCoTaskMem(p_numRows);
208 }
209 }
210
211 public void shell(ShellData numVertices) {
212IntPtr p_numVertices=Teigha.Core.Helpers.MarshalShellData(numVertices);
213 try {
214 GlobalsPINVOKE.TempOdGiDummyGeometry_shell(swigCPtr, p_numVertices);
216 } finally {
217Marshal.FreeCoTaskMem(p_numVertices);
218 }
219 }
220
221 public void worldLine(OdGePoint3d points) {
224 }
225
226 public void setExtents(OdGePoint3d newExtents) {
229 }
230
231 public void pushClipBoundary(OdGiClipBoundary pBoundary) {
234 }
235
236 public void popClipBoundary() {
239 }
240
241 public void draw(OdGiDrawable pDrawable) {
244 }
245
249 }
250
251 public void pushModelTransform(OdGeVector3d normal) {
254 }
255
256 public void popModelTransform() {
259 }
260
264 return ret;
265 }
266
270 return ret;
271 }
272
273}
274
275}
static global::System.Exception Retrieve()
static void TempOdGiDummyGeometry_pline__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, UInt32 jarg3)
static void TempOdGiDummyGeometry_polygon__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2)
static void TempOdGiDummyGeometry_shape(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, global::System.Runtime.InteropServices.HandleRef jarg6)
static void TempOdGiDummyGeometry_ellipArc__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, IntPtr jarg3)
static void TempOdGiDummyGeometry_circularArc__SWIG_3(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static void TempOdGiDummyGeometry_ray(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr TempOdGiDummyGeometry_getWorldToModelTransform(global::System.Runtime.InteropServices.HandleRef jarg1)
static void TempOdGiDummyGeometry_pline__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static void TempOdGiDummyGeometry_pushModelTransform__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr deletePD_TempOdGiDummyGeometry(HandleRef jarg1)
static void TempOdGiDummyGeometry_circularArc__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5)
static void TempOdGiDummyGeometry_shell(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2)
static void TempOdGiDummyGeometry_pline__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, UInt32 jarg3, UInt32 jarg4)
static void TempOdGiDummyGeometry_circularArc__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, double jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, double jarg6, int jarg7)
static void TempOdGiDummyGeometry_polygon__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2, global::System.Runtime.InteropServices.HandleRef jarg4)
static void TempOdGiDummyGeometry_pushClipBoundary(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void TempOdGiDummyGeometry_polyline__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2, global::System.Runtime.InteropServices.HandleRef jarg4, IntPtr jarg5)
static void TempOdGiDummyGeometry_popModelTransform(global::System.Runtime.InteropServices.HandleRef jarg1)
static void TempOdGiDummyGeometry_text__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, double jarg5, double jarg6, double jarg7, [MarshalAs(UnmanagedType.LPWStr)]String jarg8)
static void TempOdGiDummyGeometry_polyline__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2, global::System.Runtime.InteropServices.HandleRef jarg4)
static void TempOdGiDummyGeometry_circularArc__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, double jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, double jarg6)
static void TempOdGiDummyGeometry_xline(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr TempOdGiDummyGeometry_getModelToWorldTransform(global::System.Runtime.InteropServices.HandleRef jarg1)
static void TempOdGiDummyGeometry_mesh(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2)
static void TempOdGiDummyGeometry_worldLine(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void TempOdGiDummyGeometry_circle__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, double jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static void TempOdGiDummyGeometry_ellipArc__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void TempOdGiDummyGeometry_circle__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static void TempOdGiDummyGeometry_setExtents(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void TempOdGiDummyGeometry_polyline__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2)
static void TempOdGiDummyGeometry_popClipBoundary(global::System.Runtime.InteropServices.HandleRef jarg1)
static void TempOdGiDummyGeometry_draw(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static void TempOdGiDummyGeometry_text__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, [MarshalAs(UnmanagedType.LPWStr)]string jarg5, bool jarg7, global::System.Runtime.InteropServices.HandleRef jarg8)
static void TempOdGiDummyGeometry_ellipArc__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, IntPtr jarg3, int jarg4)
static void TempOdGiDummyGeometry_nurbs(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void TempOdGiDummyGeometry_pushModelTransform__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static HandleRef getCPtr(OdGeEllipArc3d obj)
static HandleRef getCPtr(OdGeMatrix3d obj)
Definition: OdGeMatrix3d.cs:26
static HandleRef getCPtr(OdGeNurbCurve3d obj)
static HandleRef getCPtr(OdGePoint3d obj)
Definition: OdGePoint3d.cs:26
static HandleRef getCPtr(OdGeVector3d obj)
Definition: OdGeVector3d.cs:26
static HandleRef getCPtr(OdGiClipBoundary obj)
static HandleRef getCPtr(OdGiDrawable obj)
Definition: OdGiDrawable.cs:25
static HandleRef getCPtr(OdGiPolyline obj)
Definition: OdGiPolyline.cs:25
static HandleRef getCPtr(OdGiTextStyle obj)
void pushModelTransform(OdGeMatrix3d xMat)
void ray(OdGePoint3d basePoint, OdGePoint3d throughPoint)
void pushModelTransform(OdGeVector3d normal)
void shape(OdGePoint3d position, OdGeVector3d normal, OdGeVector3d direction, int shapeNumber, OdGiTextStyle pTextStyle)
void text(OdGePoint3d position, OdGeVector3d normal, OdGeVector3d direction, double height, double width, double oblique, String msg)
void ellipArc(OdGeEllipArc3d ellipArc)
virtual void Dispose(bool disposing)
void circularArc(OdGePoint3d center, double radius, OdGeVector3d normal, OdGeVector3d startVector, double sweepAngle)
void shell(ShellData numVertices)
void circle(OdGePoint3d firstPoint, OdGePoint3d secondPoint, OdGePoint3d thirdPoint)
void polygon(OdGePoint3d[] numVertices)
void circularArc(OdGePoint3d center, double radius, OdGeVector3d normal, OdGeVector3d startVector, double sweepAngle, OdGiArcType arcType)
void ellipArc(OdGeEllipArc3d ellipArc, OdGePoint3d[] endPointsOverrides)
void setExtents(OdGePoint3d newExtents)
void circularArc(OdGePoint3d firstPoint, OdGePoint3d secondPoint, OdGePoint3d thirdPoint)
void pushClipBoundary(OdGiClipBoundary pBoundary)
void circle(OdGePoint3d center, double radius, OdGeVector3d normal)
void pline(OdGiPolyline polylPine)
void xline(OdGePoint3d firstPoint, OdGePoint3d secondPoint)
static HandleRef getCPtr(TempOdGiDummyGeometry obj)
void circularArc(OdGePoint3d firstPoint, OdGePoint3d secondPoint, OdGePoint3d thirdPoint, OdGiArcType arcType)
void draw(OdGiDrawable pDrawable)
void polyline(OdGePoint3d[] numVertices, OdGeVector3d pNormal)
TempOdGiDummyGeometry(IntPtr cPtr, bool cMemoryOwn)
void text(OdGePoint3d position, OdGeVector3d normal, OdGeVector3d direction, string msg, bool raw, OdGiTextStyle pTextStyle)
void ellipArc(OdGeEllipArc3d ellipArc, OdGePoint3d[] endPointsOverrides, OdGiArcType arcType)
void pline(OdGiPolyline polylPine, UInt32 fromIndex, UInt32 numSegs)
void polyline(OdGePoint3d[] numVertices)
void pline(OdGiPolyline polylPine, UInt32 fromIndex)
void nurbs(OdGeNurbCurve3d nurbsCurve)
void polyline(OdGePoint3d[] numVertices, OdGeVector3d pNormal, IntPtr baseSubEntMarker)
void polygon(OdGePoint3d[] numVertices, OdGeVector3d pNormal)