Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGiGeometry.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 OdGiGeometry : OdRxObject {
17 private Object locker = new Object();
18 private HandleRef swigCPtr;
19 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
20 public OdGiGeometry(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGiGeometry_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGiGeometry obj) {
26 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
27 }
28
29 protected override void Dispose(bool disposing) {
30 lock(this) {
31 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
32 if (swigCMemOwn) {
33 swigCMemOwn = false;
35 }
36 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
37 }
38 base.Dispose(disposing);
39 }
40 }
41
42 public static OdGiGeometry cast(OdRxObject pObj) {// OdSmartPtr<OdGiGeometry>
43 MemoryManager mMan = MemoryManager.GetMemoryManager();
44 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
46
47 OdGiGeometry ret = null;
48 if (null != mTrans)
49 {
50 mTrans.AddObject((OdGiGeometry)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiGeometry),ptr, true));
51 ret = (OdGiGeometry)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiGeometry),ptr, false);
52 }
53 else
54 {
55 ret = (OdGiGeometry)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiGeometry),ptr, true);
56 }
57
59 return ret;
60}
61
62 public new static OdRxClass desc() {
63 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),GlobalsPINVOKE.OdGiGeometry_desc(),false); /*createInt 3_2*/
64
66 return ret;
67}
68
69 public override OdRxClass isA() {
70 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),GlobalsPINVOKE.OdGiGeometry_isA(swigCPtr),false); /*createInt 3_2*/
71
73 return ret;
74}
75
76 public override OdRxObject queryX(OdRxClass protocolClass) {
77 OdRxObject ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),GlobalsPINVOKE.OdGiGeometry_queryX(swigCPtr, OdRxClass.getCPtr(protocolClass)),false); /*createInt 3_2*/
78
80 return ret;
81}
82
83 public static OdGiGeometry createObject() {// OdSmartPtr<OdGiGeometry>
84 MemoryManager mMan = MemoryManager.GetMemoryManager();
85 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
87
88 OdGiGeometry ret = null;
89 if (null != mTrans)
90 {
91 mTrans.AddObject((OdGiGeometry)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiGeometry),ptr, true));
92 ret = (OdGiGeometry)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiGeometry),ptr, false);
93 }
94 else
95 {
96 ret = (OdGiGeometry)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdGiGeometry),ptr, true);
97 }
98
100 return ret;
101}
102
106 return ret;
107 }
108
112 return ret;
113 }
114
115 public virtual void pushModelTransform(OdGeVector3d normal) {
118 }
119
120 public virtual void pushModelTransform(OdGeMatrix3d xfm) {
123 }
124
125 public virtual void popModelTransform() {
128 }
129
130 public virtual void circle(OdGePoint3d center, double radius, OdGeVector3d normal) {
133 }
134
135 public virtual void circle(OdGePoint3d firstPoint, OdGePoint3d secondPoint, OdGePoint3d thirdPoint) {
138 }
139
140 public virtual void circularArc(OdGePoint3d center, double radius, OdGeVector3d normal, OdGeVector3d startVector, double sweepAngle, OdGiArcType arcType) {
141 GlobalsPINVOKE.OdGiGeometry_circularArc__SWIG_0(swigCPtr, OdGePoint3d.getCPtr(center), radius, OdGeVector3d.getCPtr(normal), OdGeVector3d.getCPtr(startVector), sweepAngle, (int)arcType);
143 }
144
145 public virtual void circularArc(OdGePoint3d center, double radius, OdGeVector3d normal, OdGeVector3d startVector, double sweepAngle) {
146 GlobalsPINVOKE.OdGiGeometry_circularArc__SWIG_1(swigCPtr, OdGePoint3d.getCPtr(center), radius, OdGeVector3d.getCPtr(normal), OdGeVector3d.getCPtr(startVector), sweepAngle);
148 }
149
150 public virtual void circularArc(OdGePoint3d firstPoint, OdGePoint3d secondPoint, OdGePoint3d thirdPoint, OdGiArcType arcType) {
151 GlobalsPINVOKE.OdGiGeometry_circularArc__SWIG_2(swigCPtr, OdGePoint3d.getCPtr(firstPoint), OdGePoint3d.getCPtr(secondPoint), OdGePoint3d.getCPtr(thirdPoint), (int)arcType);
153 }
154
155 public virtual void circularArc(OdGePoint3d firstPoint, OdGePoint3d secondPoint, OdGePoint3d thirdPoint) {
158 }
159
160 public virtual void polyline(OdGePoint3d[] /*POINTARRAY_TYPEMAP*/ numVertices, OdGeVector3d pNormal, IntPtr /*SIMPLETYPE*/ baseSubEntMarker) {
161IntPtr p_numVertices=Teigha.Core.Helpers.MarshalPoint3dArray(numVertices);
162 try {
163 GlobalsPINVOKE.OdGiGeometry_polyline__SWIG_0(swigCPtr, p_numVertices, OdGeVector3d.getCPtr(pNormal), baseSubEntMarker /*SIMPLETYPE*/);
165 } finally {
166Marshal.FreeCoTaskMem(p_numVertices);
167 }
168 }
169
170 public virtual void polyline(OdGePoint3d[] /*POINTARRAY_TYPEMAP*/ numVertices, OdGeVector3d pNormal) {
171IntPtr p_numVertices=Teigha.Core.Helpers.MarshalPoint3dArray(numVertices);
172 try {
173 GlobalsPINVOKE.OdGiGeometry_polyline__SWIG_1(swigCPtr, p_numVertices, OdGeVector3d.getCPtr(pNormal));
175 } finally {
176Marshal.FreeCoTaskMem(p_numVertices);
177 }
178 }
179
180 public virtual void polyline(OdGePoint3d[] /*POINTARRAY_TYPEMAP*/ numVertices) {
181IntPtr p_numVertices=Teigha.Core.Helpers.MarshalPoint3dArray(numVertices);
182 try {
183 GlobalsPINVOKE.OdGiGeometry_polyline__SWIG_2(swigCPtr, p_numVertices);
185 } finally {
186Marshal.FreeCoTaskMem(p_numVertices);
187 }
188 }
189
190 public virtual void polygon(OdGePoint3d[] /*POINTARRAY_TYPEMAP*/ numVertices) {
191IntPtr p_numVertices=Teigha.Core.Helpers.MarshalPoint3dArray(numVertices);
192 try {
193 GlobalsPINVOKE.OdGiGeometry_polygon__SWIG_0(swigCPtr, p_numVertices);
195 } finally {
196Marshal.FreeCoTaskMem(p_numVertices);
197 }
198 }
199
200 public virtual void polygon(OdGePoint3d[] /*POINTARRAY_TYPEMAP*/ numVertices, OdGeVector3d pNormal) {
201IntPtr p_numVertices=Teigha.Core.Helpers.MarshalPoint3dArray(numVertices);
202 try {
203 GlobalsPINVOKE.OdGiGeometry_polygon__SWIG_1(swigCPtr, p_numVertices, OdGeVector3d.getCPtr(pNormal));
205 } finally {
206Marshal.FreeCoTaskMem(p_numVertices);
207 }
208 }
209
210 public virtual void pline(OdGiPolyline polyline, UInt32 /*SIMPLETYPE*/ fromIndex, UInt32 /*SIMPLETYPE*/ numSegs) {
211 GlobalsPINVOKE.OdGiGeometry_pline__SWIG_0(swigCPtr, OdGiPolyline.getCPtr(polyline), fromIndex /*SIMPLETYPE*/, numSegs /*SIMPLETYPE*/);
213 }
214
215 public virtual void pline(OdGiPolyline polyline, UInt32 /*SIMPLETYPE*/ fromIndex) {
216 GlobalsPINVOKE.OdGiGeometry_pline__SWIG_1(swigCPtr, OdGiPolyline.getCPtr(polyline), fromIndex /*SIMPLETYPE*/);
218 }
219
220 public virtual void pline(OdGiPolyline polyline) {
223 }
224
225 public virtual void mesh(MeshData numRows) {
226IntPtr p_numRows=Teigha.Core.Helpers.MarshalMeshData(numRows);
227 try {
228 GlobalsPINVOKE.OdGiGeometry_mesh(swigCPtr, p_numRows);
230 } finally {
231Marshal.FreeCoTaskMem(p_numRows);
232 }
233 }
234
235 public virtual void shell(ShellData numVertices) {
236IntPtr p_numVertices=Teigha.Core.Helpers.MarshalShellData(numVertices);
237 try {
238 GlobalsPINVOKE.OdGiGeometry_shell(swigCPtr, p_numVertices);
240 } finally {
241Marshal.FreeCoTaskMem(p_numVertices);
242 }
243 }
244
245 public virtual void text(OdGePoint3d position, OdGeVector3d normal, OdGeVector3d direction, double height, double width, double oblique, String msg) {
246 GlobalsPINVOKE.OdGiGeometry_text__SWIG_0(swigCPtr, OdGePoint3d.getCPtr(position), OdGeVector3d.getCPtr(normal), OdGeVector3d.getCPtr(direction), height, width, oblique, msg);
248 }
249
250 public virtual void text(OdGePoint3d position, OdGeVector3d normal, OdGeVector3d direction, string msg, bool raw, OdGiTextStyle pTextStyle) {
251 GlobalsPINVOKE.OdGiGeometry_text__SWIG_1(swigCPtr, OdGePoint3d.getCPtr(position), OdGeVector3d.getCPtr(normal), OdGeVector3d.getCPtr(direction), msg, raw, OdGiTextStyle.getCPtr(pTextStyle));
253 }
254
255 public virtual void xline(OdGePoint3d firstPoint, OdGePoint3d secondPoint) {
256 GlobalsPINVOKE.OdGiGeometry_xline(swigCPtr, OdGePoint3d.getCPtr(firstPoint), OdGePoint3d.getCPtr(secondPoint));
258 }
259
260 public virtual void ray(OdGePoint3d basePoint, OdGePoint3d throughPoint) {
261 GlobalsPINVOKE.OdGiGeometry_ray(swigCPtr, OdGePoint3d.getCPtr(basePoint), OdGePoint3d.getCPtr(throughPoint));
263 }
264
265 public virtual void nurbs(OdGeNurbCurve3d nurbsCurve) {
268 }
269
270 public virtual void ellipticArc(OdGeEllipArc3d ellipArc, OdGePoint3d[] /*ENDPOINTS3D_OVERRIDES*/ endPointsOverrides, OdGiArcType arcType) {
271IntPtr p_endPointsOverrides=Teigha.Core.Helpers.MarshalPointPair(endPointsOverrides);
272 try {
273 GlobalsPINVOKE.OdGiGeometry_ellipticArc__SWIG_0(swigCPtr, OdGeEllipArc3d.getCPtr(ellipArc), p_endPointsOverrides, (int)arcType);
275 } finally {
276if (p_endPointsOverrides != IntPtr.Zero) Marshal.FreeCoTaskMem(p_endPointsOverrides);
277 }
278 }
279
280 public virtual void ellipticArc(OdGeEllipArc3d ellipArc, OdGePoint3d[] /*ENDPOINTS3D_OVERRIDES*/ endPointsOverrides) {
281IntPtr p_endPointsOverrides=Teigha.Core.Helpers.MarshalPointPair(endPointsOverrides);
282 try {
283 GlobalsPINVOKE.OdGiGeometry_ellipticArc__SWIG_1(swigCPtr, OdGeEllipArc3d.getCPtr(ellipArc), p_endPointsOverrides);
285 } finally {
286if (p_endPointsOverrides != IntPtr.Zero) Marshal.FreeCoTaskMem(p_endPointsOverrides);
287 }
288 }
289
290 public virtual void ellipticArc(OdGeEllipArc3d ellipArc) {
293 }
294
295 public virtual void draw(OdGiDrawable pDrawable) {
298 }
299
300 public virtual void pushClipBoundary(OdGiClipBoundary pBoundary) {
303 }
304
305 public virtual void popClipBoundary() {
308 }
309
310 public virtual void image(OdGiImageBGRA32 img, OdGePoint3d origin, OdGeVector3d uVec, OdGeVector3d vVec, OdGiRasterImage.TransparencyMode trpMode) {
313 }
314
315 public virtual void image(OdGiImageBGRA32 img, OdGePoint3d origin, OdGeVector3d uVec, OdGeVector3d vVec) {
318 }
319
320 public virtual void edge(OdGiEdge2dArray edges) {
323 }
324
325 public virtual OdGiPathNode currentGiPath() {
326 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGiGeometry_currentGiPath(swigCPtr);
327 OdGiPathNode ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGiPathNode(cPtr, false);
329 return ret;
330 }
331
332 public virtual void pushClipBoundary(OdGiClipBoundary pBoundary, OdGiAbstractClipBoundary pClipInfo) {
335 }
336
337 public virtual void polypoint(OdGePoint3d[] /*POINTARRAY_TYPEMAP*/ numPoints, OdCmEntityColor pColors, OdCmTransparency pTransparency, OdGeVector3d pNormals, IntPtr[] /*SIMPLE_ARRAY*/ pSubEntMarkers, Int32 /*SIMPLETYPE*/ nPointSize) {
338IntPtr p_numPoints=Teigha.Core.Helpers.MarshalPoint3dArray(numPoints);
339 try {
340 GlobalsPINVOKE.OdGiGeometry_polypoint__SWIG_0(swigCPtr, p_numPoints, OdCmEntityColor.getCPtr(pColors), OdCmTransparency.getCPtr(pTransparency), OdGeVector3d.getCPtr(pNormals), Teigha.Core.Helpers.MarshalIntPtrFixedArray(pSubEntMarkers), nPointSize /*SIMPLETYPE*/);
342 } finally {
343Marshal.FreeCoTaskMem(p_numPoints);
344 }
345 }
346
347 public virtual void polypoint(OdGePoint3d[] /*POINTARRAY_TYPEMAP*/ numPoints, OdCmEntityColor pColors, OdCmTransparency pTransparency, OdGeVector3d pNormals, IntPtr[] /*SIMPLE_ARRAY*/ pSubEntMarkers) {
348IntPtr p_numPoints=Teigha.Core.Helpers.MarshalPoint3dArray(numPoints);
349 try {
350 GlobalsPINVOKE.OdGiGeometry_polypoint__SWIG_1(swigCPtr, p_numPoints, OdCmEntityColor.getCPtr(pColors), OdCmTransparency.getCPtr(pTransparency), OdGeVector3d.getCPtr(pNormals), Teigha.Core.Helpers.MarshalIntPtrFixedArray(pSubEntMarkers));
352 } finally {
353Marshal.FreeCoTaskMem(p_numPoints);
354 }
355 }
356
357 public virtual void polypoint(OdGePoint3d[] /*POINTARRAY_TYPEMAP*/ numPoints, OdCmEntityColor pColors, OdCmTransparency pTransparency, OdGeVector3d pNormals) {
358IntPtr p_numPoints=Teigha.Core.Helpers.MarshalPoint3dArray(numPoints);
359 try {
360 GlobalsPINVOKE.OdGiGeometry_polypoint__SWIG_2(swigCPtr, p_numPoints, OdCmEntityColor.getCPtr(pColors), OdCmTransparency.getCPtr(pTransparency), OdGeVector3d.getCPtr(pNormals));
362 } finally {
363Marshal.FreeCoTaskMem(p_numPoints);
364 }
365 }
366
367 public virtual void polypoint(OdGePoint3d[] /*POINTARRAY_TYPEMAP*/ numPoints, OdCmEntityColor pColors, OdCmTransparency pTransparency) {
368IntPtr p_numPoints=Teigha.Core.Helpers.MarshalPoint3dArray(numPoints);
369 try {
370 GlobalsPINVOKE.OdGiGeometry_polypoint__SWIG_3(swigCPtr, p_numPoints, OdCmEntityColor.getCPtr(pColors), OdCmTransparency.getCPtr(pTransparency));
372 } finally {
373Marshal.FreeCoTaskMem(p_numPoints);
374 }
375 }
376
377 public virtual void polypoint(OdGePoint3d[] /*POINTARRAY_TYPEMAP*/ numPoints, OdCmEntityColor pColors, OdGeVector3d pNormals, IntPtr[] /*SIMPLE_ARRAY*/ pSubEntMarkers) {
378IntPtr p_numPoints=Teigha.Core.Helpers.MarshalPoint3dArray(numPoints);
379 try {
380 GlobalsPINVOKE.OdGiGeometry_polypoint__SWIG_4(swigCPtr, p_numPoints, OdCmEntityColor.getCPtr(pColors), OdGeVector3d.getCPtr(pNormals), Teigha.Core.Helpers.MarshalIntPtrFixedArray(pSubEntMarkers));
382 } finally {
383Marshal.FreeCoTaskMem(p_numPoints);
384 }
385 }
386
387 public virtual void polypoint(OdGePoint3d[] /*POINTARRAY_TYPEMAP*/ numPoints, OdCmEntityColor pColors, OdGeVector3d pNormals) {
388IntPtr p_numPoints=Teigha.Core.Helpers.MarshalPoint3dArray(numPoints);
389 try {
392 } finally {
393Marshal.FreeCoTaskMem(p_numPoints);
394 }
395 }
396
397 public virtual void polypoint(OdGePoint3d[] /*POINTARRAY_TYPEMAP*/ numPoints, OdCmEntityColor pColors) {
398IntPtr p_numPoints=Teigha.Core.Helpers.MarshalPoint3dArray(numPoints);
399 try {
402 } finally {
403Marshal.FreeCoTaskMem(p_numPoints);
404 }
405 }
406
407 public virtual void polypoint(OdGePoint3d[] /*POINTARRAY_TYPEMAP*/ numPoints, OdGeVector3d pNormals, IntPtr[] /*SIMPLE_ARRAY*/ pSubEntMarkers) {
408IntPtr p_numPoints=Teigha.Core.Helpers.MarshalPoint3dArray(numPoints);
409 try {
410 GlobalsPINVOKE.OdGiGeometry_polypoint__SWIG_7(swigCPtr, p_numPoints, OdGeVector3d.getCPtr(pNormals), Teigha.Core.Helpers.MarshalIntPtrFixedArray(pSubEntMarkers));
412 } finally {
413Marshal.FreeCoTaskMem(p_numPoints);
414 }
415 }
416
417 public virtual void polypoint(OdGePoint3d[] /*POINTARRAY_TYPEMAP*/ numPoints, OdGeVector3d pNormals) {
418IntPtr p_numPoints=Teigha.Core.Helpers.MarshalPoint3dArray(numPoints);
419 try {
420 GlobalsPINVOKE.OdGiGeometry_polypoint__SWIG_8(swigCPtr, p_numPoints, OdGeVector3d.getCPtr(pNormals));
422 } finally {
423Marshal.FreeCoTaskMem(p_numPoints);
424 }
425 }
426
427 public virtual void polypoint(OdGePoint3d[] /*POINTARRAY_TYPEMAP*/ numPoints) {
428IntPtr p_numPoints=Teigha.Core.Helpers.MarshalPoint3dArray(numPoints);
429 try {
430 GlobalsPINVOKE.OdGiGeometry_polypoint__SWIG_9(swigCPtr, p_numPoints);
432 } finally {
433Marshal.FreeCoTaskMem(p_numPoints);
434 }
435 }
436
437 public virtual void polyPolygon(UInt32 /*SIMPLETYPE*/ numIndices, ref UInt32 pNumPositions, OdGePoint3d pPositions, ref UInt32 pNumPoints, OdGePoint3d pPoints, OdCmEntityColor pOutlineColors, ref UInt32 pOutlinePsLinetypes, OdCmEntityColor pFillColors, OdCmTransparency pFillTransparencies) {
438 GlobalsPINVOKE.OdGiGeometry_polyPolygon__SWIG_0(swigCPtr, numIndices /*SIMPLETYPE*/, ref pNumPositions, OdGePoint3d.getCPtr(pPositions), ref pNumPoints, OdGePoint3d.getCPtr(pPoints), OdCmEntityColor.getCPtr(pOutlineColors), ref pOutlinePsLinetypes, OdCmEntityColor.getCPtr(pFillColors), OdCmTransparency.getCPtr(pFillTransparencies));
440 }
441
442 public virtual void polyPolygon(UInt32 /*SIMPLETYPE*/ numIndices, ref UInt32 pNumPositions, OdGePoint3d pPositions, ref UInt32 pNumPoints, OdGePoint3d pPoints, OdCmEntityColor pOutlineColors, ref UInt32 pOutlinePsLinetypes, OdCmEntityColor pFillColors) {
443 GlobalsPINVOKE.OdGiGeometry_polyPolygon__SWIG_1(swigCPtr, numIndices /*SIMPLETYPE*/, ref pNumPositions, OdGePoint3d.getCPtr(pPositions), ref pNumPoints, OdGePoint3d.getCPtr(pPoints), OdCmEntityColor.getCPtr(pOutlineColors), ref pOutlinePsLinetypes, OdCmEntityColor.getCPtr(pFillColors));
445 }
446
447 public virtual void polyPolygon(UInt32 /*SIMPLETYPE*/ numIndices, ref UInt32 pNumPositions, OdGePoint3d pPositions, ref UInt32 pNumPoints, OdGePoint3d pPoints, OdCmEntityColor pOutlineColors, ref UInt32 pOutlinePsLinetypes) {
448 GlobalsPINVOKE.OdGiGeometry_polyPolygon__SWIG_2(swigCPtr, numIndices /*SIMPLETYPE*/, ref pNumPositions, OdGePoint3d.getCPtr(pPositions), ref pNumPoints, OdGePoint3d.getCPtr(pPoints), OdCmEntityColor.getCPtr(pOutlineColors), ref pOutlinePsLinetypes);
450 }
451
452 public virtual void polyPolygon(UInt32 /*SIMPLETYPE*/ numIndices, ref UInt32 pNumPositions, OdGePoint3d pPositions, ref UInt32 pNumPoints, OdGePoint3d pPoints, OdCmEntityColor pOutlineColors) {
453 GlobalsPINVOKE.OdGiGeometry_polyPolygon__SWIG_3(swigCPtr, numIndices /*SIMPLETYPE*/, ref pNumPositions, OdGePoint3d.getCPtr(pPositions), ref pNumPoints, OdGePoint3d.getCPtr(pPoints), OdCmEntityColor.getCPtr(pOutlineColors));
455 }
456
457 public virtual void polyPolygon(UInt32 /*SIMPLETYPE*/ numIndices, ref UInt32 pNumPositions, OdGePoint3d pPositions, ref UInt32 pNumPoints, OdGePoint3d pPoints) {
458 GlobalsPINVOKE.OdGiGeometry_polyPolygon__SWIG_4(swigCPtr, numIndices /*SIMPLETYPE*/, ref pNumPositions, OdGePoint3d.getCPtr(pPositions), ref pNumPoints, OdGePoint3d.getCPtr(pPoints));
460 }
461
462 public virtual void rowOfDots(Int32 /*SIMPLETYPE*/ numPoints, OdGePoint3d startPoint, OdGeVector3d dirToNextPoint) {
463 GlobalsPINVOKE.OdGiGeometry_rowOfDots(swigCPtr, numPoints /*SIMPLETYPE*/, OdGePoint3d.getCPtr(startPoint), OdGeVector3d.getCPtr(dirToNextPoint));
465 }
466
467 public virtual void pointCloud(OdGiPointCloud pCloud) {
470 }
471
472 public virtual bool brep(OdGiBrep giBrep) {
473 bool ret = GlobalsPINVOKE.OdGiGeometry_brep(swigCPtr, OdGiBrep.getCPtr(giBrep));
475 return ret;
476 }
477
478 protected static string getRealClassName(IntPtr /*SIMPLETYPE*/ ptr) {
479 string ret = GlobalsPINVOKE.OdGiGeometry_getRealClassName(ptr /*SIMPLETYPE*/);
481 return ret;
482 }
483
484 public virtual void WorldLine(OdGePoint3d startPoint, OdGePoint3d endPoint) {
487 }
488
493 public virtual void vb_edge(Teigha.Core.OdGiEdge2dArray edges) { this.edge(edges); }
494
499 public virtual void vb_mesh(Teigha.Core.MeshData numRows) { this.mesh(numRows); }
500
501}
502
503}
static global::System.Exception Retrieve()
static void OdGiGeometry_polyline__SWIG_0(HandleRef jarg1, IntPtr jarg2, global::System.Runtime.InteropServices.HandleRef jarg4, IntPtr jarg5)
static void OdGiGeometry_polyPolygon__SWIG_1(HandleRef jarg1, UInt32 jarg2, ref UInt32 jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, ref UInt32 jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, ref UInt32 jarg8, global::System.Runtime.InteropServices.HandleRef jarg9)
static string OdGiGeometry_getRealClassName(IntPtr jarg1)
static void OdGiGeometry_pushModelTransform__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiGeometry_ray(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdGiGeometry_brep(HandleRef jarg1, HandleRef jarg2)
static void OdGiGeometry_ellipticArc__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, IntPtr jarg3)
static void OdGiGeometry_circularArc__SWIG_0(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 OdGiGeometry_popModelTransform(HandleRef jarg1)
static void OdGiGeometry_circle__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, double jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static void OdGiGeometry_polygon__SWIG_0(HandleRef jarg1, IntPtr jarg2)
static void OdGiGeometry_image__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static void OdGiGeometry_polypoint__SWIG_9(HandleRef jarg1, IntPtr jarg2)
static IntPtr OdGiGeometry_isA(HandleRef jarg1)
static global::System.IntPtr OdGiGeometry_currentGiPath(HandleRef jarg1)
static void OdGiGeometry_mesh(HandleRef jarg1, IntPtr jarg2)
static void OdGiGeometry_polypoint__SWIG_6(HandleRef jarg1, IntPtr jarg2, global::System.Runtime.InteropServices.HandleRef jarg4)
static void OdGiGeometry_polypoint__SWIG_2(HandleRef jarg1, IntPtr jarg2, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6)
static void OdGiGeometry_nurbs(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiGeometry_polygon__SWIG_1(HandleRef jarg1, IntPtr jarg2, global::System.Runtime.InteropServices.HandleRef jarg4)
static void OdGiGeometry_polyPolygon__SWIG_4(HandleRef jarg1, UInt32 jarg2, ref UInt32 jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, ref UInt32 jarg5, global::System.Runtime.InteropServices.HandleRef jarg6)
static void OdGiGeometry_polyPolygon__SWIG_0(HandleRef jarg1, UInt32 jarg2, ref UInt32 jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, ref UInt32 jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, ref UInt32 jarg8, global::System.Runtime.InteropServices.HandleRef jarg9, global::System.Runtime.InteropServices.HandleRef jarg10)
static void OdGiGeometry_polypoint__SWIG_7(HandleRef jarg1, IntPtr jarg2, global::System.Runtime.InteropServices.HandleRef jarg4, IntPtr jarg5)
static void OdGiGeometry_polyPolygon__SWIG_2(HandleRef jarg1, UInt32 jarg2, ref UInt32 jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, ref UInt32 jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, ref UInt32 jarg8)
static void OdGiGeometry_ellipticArc__SWIG_2(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiGeometry_pushClipBoundary__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void OdGiGeometry_text__SWIG_0(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 OdGiGeometry_popClipBoundary(HandleRef jarg1)
static void OdGiGeometry_edge(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiGeometry_pline__SWIG_1(HandleRef jarg1, HandleRef jarg2, UInt32 jarg3)
static void OdGiGeometry_polypoint__SWIG_5(HandleRef jarg1, IntPtr jarg2, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static void OdGiGeometry_polypoint__SWIG_3(HandleRef jarg1, IntPtr jarg2, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static void OdGiGeometry_polypoint__SWIG_4(HandleRef jarg1, IntPtr jarg2, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, IntPtr jarg6)
static void OdGiGeometry_circularArc__SWIG_2(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5)
static void OdGiGeometry_image__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, int jarg6)
static void delete_OdGiGeometry(HandleRef jarg1)
static IntPtr OdGiGeometry_cast(HandleRef jarg1)
static void OdGiGeometry_xline(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void OdGiGeometry_pushClipBoundary__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiGeometry_draw(HandleRef jarg1, HandleRef jarg2)
static void OdGiGeometry_polyPolygon__SWIG_3(HandleRef jarg1, UInt32 jarg2, ref UInt32 jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, ref UInt32 jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7)
static void OdGiGeometry_WorldLine(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void OdGiGeometry_shell(HandleRef jarg1, IntPtr jarg2)
static void OdGiGeometry_pline__SWIG_0(HandleRef jarg1, HandleRef jarg2, UInt32 jarg3, UInt32 jarg4)
static void OdGiGeometry_text__SWIG_1(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 OdGiGeometry_circularArc__SWIG_3(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static void OdGiGeometry_polypoint__SWIG_1(HandleRef jarg1, IntPtr jarg2, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, IntPtr jarg7)
static void OdGiGeometry_pline__SWIG_2(HandleRef jarg1, HandleRef jarg2)
static IntPtr OdGiGeometry_desc()
static global::System.IntPtr OdGiGeometry_getModelToWorldTransform(HandleRef jarg1)
static void OdGiGeometry_polypoint__SWIG_8(HandleRef jarg1, IntPtr jarg2, global::System.Runtime.InteropServices.HandleRef jarg4)
static void OdGiGeometry_pointCloud(HandleRef jarg1, HandleRef jarg2)
static void OdGiGeometry_circularArc__SWIG_1(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 OdGiGeometry_polypoint__SWIG_0(HandleRef jarg1, IntPtr jarg2, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, IntPtr jarg7, Int32 jarg8)
static void OdGiGeometry_polyline__SWIG_1(HandleRef jarg1, IntPtr jarg2, global::System.Runtime.InteropServices.HandleRef jarg4)
static void OdGiGeometry_polyline__SWIG_2(HandleRef jarg1, IntPtr jarg2)
static IntPtr OdGiGeometry_queryX(HandleRef jarg1, HandleRef jarg2)
static IntPtr OdGiGeometry_createObject()
static void OdGiGeometry_ellipticArc__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, IntPtr jarg3, int jarg4)
static void OdGiGeometry_pushModelTransform__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGiGeometry_getWorldToModelTransform(HandleRef jarg1)
static void OdGiGeometry_circle__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static void OdGiGeometry_rowOfDots(HandleRef jarg1, Int32 jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static HandleRef getCPtr(OdCmEntityColor obj)
static HandleRef getCPtr(OdCmTransparency obj)
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(OdGiAbstractClipBoundary obj)
static HandleRef getCPtr(OdGiBrep obj)
Definition: OdGiBrep.cs:25
static HandleRef getCPtr(OdGiClipBoundary obj)
static HandleRef getCPtr(OdGiDrawable obj)
Definition: OdGiDrawable.cs:25
static HandleRef getCPtr(OdGiEdge2dArray obj)
virtual void pushModelTransform(OdGeVector3d normal)
virtual void pointCloud(OdGiPointCloud pCloud)
virtual OdGeMatrix3d getModelToWorldTransform()
OdGiGeometry(IntPtr cPtr, bool cMemoryOwn)
Definition: OdGiGeometry.cs:20
virtual bool brep(OdGiBrep giBrep)
virtual void pushClipBoundary(OdGiClipBoundary pBoundary)
virtual void pline(OdGiPolyline polyline)
virtual void polypoint(OdGePoint3d[] numPoints, OdCmEntityColor pColors, OdCmTransparency pTransparency, OdGeVector3d pNormals, IntPtr[] pSubEntMarkers, Int32 nPointSize)
virtual void ellipticArc(OdGeEllipArc3d ellipArc, OdGePoint3d[] endPointsOverrides)
virtual void pline(OdGiPolyline polyline, UInt32 fromIndex, UInt32 numSegs)
virtual void polypoint(OdGePoint3d[] numPoints, OdCmEntityColor pColors, OdGeVector3d pNormals, IntPtr[] pSubEntMarkers)
virtual void pushClipBoundary(OdGiClipBoundary pBoundary, OdGiAbstractClipBoundary pClipInfo)
static OdGiGeometry createObject()
Definition: OdGiGeometry.cs:83
virtual void popClipBoundary()
virtual void circularArc(OdGePoint3d center, double radius, OdGeVector3d normal, OdGeVector3d startVector, double sweepAngle)
virtual void text(OdGePoint3d position, OdGeVector3d normal, OdGeVector3d direction, string msg, bool raw, OdGiTextStyle pTextStyle)
virtual void ellipticArc(OdGeEllipArc3d ellipArc)
virtual void polypoint(OdGePoint3d[] numPoints, OdCmEntityColor pColors, OdCmTransparency pTransparency, OdGeVector3d pNormals, IntPtr[] pSubEntMarkers)
virtual void vb_mesh(Teigha.Core.MeshData numRows)
virtual void circularArc(OdGePoint3d firstPoint, OdGePoint3d secondPoint, OdGePoint3d thirdPoint)
virtual void circle(OdGePoint3d center, double radius, OdGeVector3d normal)
override OdRxClass isA()
Definition: OdGiGeometry.cs:69
virtual void polypoint(OdGePoint3d[] numPoints, OdGeVector3d pNormals)
virtual void pushModelTransform(OdGeMatrix3d xfm)
virtual void shell(ShellData numVertices)
static OdGiGeometry cast(OdRxObject pObj)
Definition: OdGiGeometry.cs:42
virtual void polypoint(OdGePoint3d[] numPoints, OdCmEntityColor pColors, OdGeVector3d pNormals)
virtual void edge(OdGiEdge2dArray edges)
virtual void image(OdGiImageBGRA32 img, OdGePoint3d origin, OdGeVector3d uVec, OdGeVector3d vVec, OdGiRasterImage.TransparencyMode trpMode)
virtual void polypoint(OdGePoint3d[] numPoints, OdGeVector3d pNormals, IntPtr[] pSubEntMarkers)
virtual void popModelTransform()
virtual void nurbs(OdGeNurbCurve3d nurbsCurve)
virtual void image(OdGiImageBGRA32 img, OdGePoint3d origin, OdGeVector3d uVec, OdGeVector3d vVec)
virtual void polyline(OdGePoint3d[] numVertices, OdGeVector3d pNormal, IntPtr baseSubEntMarker)
virtual void polyPolygon(UInt32 numIndices, ref UInt32 pNumPositions, OdGePoint3d pPositions, ref UInt32 pNumPoints, OdGePoint3d pPoints, OdCmEntityColor pOutlineColors, ref UInt32 pOutlinePsLinetypes, OdCmEntityColor pFillColors)
virtual void circle(OdGePoint3d firstPoint, OdGePoint3d secondPoint, OdGePoint3d thirdPoint)
virtual void polygon(OdGePoint3d[] numVertices, OdGeVector3d pNormal)
virtual void WorldLine(OdGePoint3d startPoint, OdGePoint3d endPoint)
virtual void polypoint(OdGePoint3d[] numPoints, OdCmEntityColor pColors)
virtual void polyPolygon(UInt32 numIndices, ref UInt32 pNumPositions, OdGePoint3d pPositions, ref UInt32 pNumPoints, OdGePoint3d pPoints, OdCmEntityColor pOutlineColors, ref UInt32 pOutlinePsLinetypes, OdCmEntityColor pFillColors, OdCmTransparency pFillTransparencies)
virtual void polyline(OdGePoint3d[] numVertices, OdGeVector3d pNormal)
virtual void polyPolygon(UInt32 numIndices, ref UInt32 pNumPositions, OdGePoint3d pPositions, ref UInt32 pNumPoints, OdGePoint3d pPoints)
virtual void polygon(OdGePoint3d[] numVertices)
virtual void mesh(MeshData numRows)
static new OdRxClass desc()
Definition: OdGiGeometry.cs:62
virtual void polyline(OdGePoint3d[] numVertices)
override OdRxObject queryX(OdRxClass protocolClass)
Definition: OdGiGeometry.cs:76
virtual void vb_edge(Teigha.Core.OdGiEdge2dArray edges)
virtual void ray(OdGePoint3d basePoint, OdGePoint3d throughPoint)
virtual void xline(OdGePoint3d firstPoint, OdGePoint3d secondPoint)
virtual void circularArc(OdGePoint3d firstPoint, OdGePoint3d secondPoint, OdGePoint3d thirdPoint, OdGiArcType arcType)
virtual OdGiPathNode currentGiPath()
virtual void polypoint(OdGePoint3d[] numPoints, OdCmEntityColor pColors, OdCmTransparency pTransparency)
virtual OdGeMatrix3d getWorldToModelTransform()
virtual void circularArc(OdGePoint3d center, double radius, OdGeVector3d normal, OdGeVector3d startVector, double sweepAngle, OdGiArcType arcType)
virtual void polypoint(OdGePoint3d[] numPoints, OdCmEntityColor pColors, OdCmTransparency pTransparency, OdGeVector3d pNormals)
static string getRealClassName(IntPtr ptr)
virtual void draw(OdGiDrawable pDrawable)
virtual void rowOfDots(Int32 numPoints, OdGePoint3d startPoint, OdGeVector3d dirToNextPoint)
virtual void ellipticArc(OdGeEllipArc3d ellipArc, OdGePoint3d[] endPointsOverrides, OdGiArcType arcType)
virtual void text(OdGePoint3d position, OdGeVector3d normal, OdGeVector3d direction, double height, double width, double oblique, String msg)
virtual void polyPolygon(UInt32 numIndices, ref UInt32 pNumPositions, OdGePoint3d pPositions, ref UInt32 pNumPoints, OdGePoint3d pPoints, OdCmEntityColor pOutlineColors, ref UInt32 pOutlinePsLinetypes)
virtual void polypoint(OdGePoint3d[] numPoints)
virtual void pline(OdGiPolyline polyline, UInt32 fromIndex)
override void Dispose(bool disposing)
Definition: OdGiGeometry.cs:29
static HandleRef getCPtr(OdGiGeometry obj)
Definition: OdGiGeometry.cs:25
virtual void polyPolygon(UInt32 numIndices, ref UInt32 pNumPositions, OdGePoint3d pPositions, ref UInt32 pNumPoints, OdGePoint3d pPoints, OdCmEntityColor pOutlineColors)
static HandleRef getCPtr(OdGiImageBGRA32 obj)
static HandleRef getCPtr(OdGiPointCloud obj)
static HandleRef getCPtr(OdGiPolyline obj)
Definition: OdGiPolyline.cs:25
static HandleRef getCPtr(OdGiTextStyle obj)
static HandleRef getCPtr(OdRxClass obj)
Definition: OdRxClass.cs:25
static HandleRef getCPtr(OdRxObject obj)
Definition: OdRxObject.cs:26