Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdDbMPolygon.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.TD {
12
13using System;
14using System.Runtime.InteropServices;
15using Teigha.Core;
16
17public class OdDbMPolygon : OdDbEntity {
18 private Object locker = new Object();
19 private HandleRef swigCPtr;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
21 public OdDbMPolygon(IntPtr cPtr, bool cMemoryOwn) : base(TD_DbPINVOKE.OdDbMPolygon_SWIGUpcast(cPtr), cMemoryOwn) {
22 swigCPtr = new HandleRef(this, cPtr);
23 }
24
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 public static HandleRef getCPtr(OdDbMPolygon obj) {
27 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
28 }
29
30 protected override void Dispose(bool disposing) {
31 lock(this) {
32 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
33 if (swigCMemOwn) {
34 swigCMemOwn = false;
36 }
37 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
38 }
39 base.Dispose(disposing);
40 }
41 }
42
43 public static OdDbMPolygon cast(OdRxObject pObj) {// OdSmartPtr<OdDbMPolygon>
44 MemoryManager mMan = MemoryManager.GetMemoryManager();
45 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
47
48 OdDbMPolygon ret = null;
49 if (null != mTrans)
50 {
51 mTrans.AddObject((OdDbMPolygon)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbMPolygon),ptr, true));
52 ret = (OdDbMPolygon)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbMPolygon),ptr, false);
53 }
54 else
55 {
56 ret = (OdDbMPolygon)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbMPolygon),ptr, true);
57 }
58
60 return ret;
61}
62
63 public new static OdRxClass desc() {
64 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),TD_DbPINVOKE.OdDbMPolygon_desc(),false); /*createInt 3_2*/
65
67 return ret;
68}
69
70 public override OdRxClass isA() {
71 OdRxClass ret = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),TD_DbPINVOKE.OdDbMPolygon_isA(swigCPtr),false); /*createInt 3_2*/
72
74 return ret;
75}
76
77 public override OdRxObject queryX(OdRxClass protocolClass) {
78 OdRxObject ret = (OdRxObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxObject),TD_DbPINVOKE.OdDbMPolygon_queryX(swigCPtr, OdRxClass.getCPtr(protocolClass)),false); /*createInt 3_2*/
79
81 return ret;
82}
83
84 public new static OdDbMPolygon createObject() {// OdSmartPtr<OdDbMPolygon>
85 MemoryManager mMan = MemoryManager.GetMemoryManager();
86 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
88
89 OdDbMPolygon ret = null;
90 if (null != mTrans)
91 {
92 mTrans.AddObject((OdDbMPolygon)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbMPolygon),ptr, true));
93 ret = (OdDbMPolygon)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbMPolygon),ptr, false);
94 }
95 else
96 {
97 ret = (OdDbMPolygon)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbMPolygon),ptr, true);
98 }
99
101 return ret;
102}
103
104 public virtual OdDbHatch hatch() {// OdDbHatchPtr
105 MemoryManager mMan = MemoryManager.GetMemoryManager();
106 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
107 IntPtr ptr = TD_DbPINVOKE.OdDbMPolygon_hatch__SWIG_0(swigCPtr);
108
109 OdDbHatch ret = null;
110 if (null != mTrans)
111 {
112 mTrans.AddObject((OdDbHatch)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbHatch),ptr, true));
113 ret = (OdDbHatch)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbHatch),ptr, false);
114 }
115 else
116 {
117 ret = (OdDbHatch)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbHatch),ptr, true);
118 }
119
121 return ret;
122}
123
124 public virtual double elevation() {
125 double ret = TD_DbPINVOKE.OdDbMPolygon_elevation(swigCPtr);
127 return ret;
128 }
129
130 public virtual void setElevation(double elevation) {
133 }
134
135 public virtual OdGeVector3d normal() {
138 return ret;
139 }
140
141 public virtual void setNormal(OdGeVector3d normal) {
144 }
145
146 public virtual OdResult evaluateHatch(bool bUnderestimateNumLines) {
147 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbMPolygon_evaluateHatch__SWIG_0(swigCPtr, bUnderestimateNumLines);
149 return ret;
150 }
151
152 public virtual OdResult evaluateHatch() {
155 return ret;
156 }
157
161 return ret;
162 }
163
164 public virtual String patternName() {
165 string ret = TD_DbPINVOKE.OdDbMPolygon_patternName(swigCPtr);
167 return ret;
168}
169
170 public virtual void setPattern(OdDbHatch.HatchPatternType patType, String patName) {
171 TD_DbPINVOKE.OdDbMPolygon_setPattern(swigCPtr, (int)patType, patName);
173 }
174
175 public virtual double patternAngle() {
176 double ret = TD_DbPINVOKE.OdDbMPolygon_patternAngle(swigCPtr);
178 return ret;
179 }
180
181 public virtual void setPatternAngle(double angle) {
184 }
185
186 public virtual double patternSpace() {
187 double ret = TD_DbPINVOKE.OdDbMPolygon_patternSpace(swigCPtr);
189 return ret;
190 }
191
192 public virtual void setPatternSpace(double space) {
195 }
196
197 public virtual double patternScale() {
198 double ret = TD_DbPINVOKE.OdDbMPolygon_patternScale(swigCPtr);
200 return ret;
201 }
202
203 public virtual void setPatternScale(double scale) {
206 }
207
208 public virtual bool patternDouble() {
209 bool ret = TD_DbPINVOKE.OdDbMPolygon_patternDouble(swigCPtr);
211 return ret;
212 }
213
214 public virtual void setPatternDouble(bool isDouble) {
217 }
218
219 public virtual int numPatternDefinitions() {
222 return ret;
223 }
224
225 public virtual void getPatternDefinitionAt(int index, out double angle, out double baseX, out double baseY, out double offsetX, out double offsetY, OdGeDoubleArray dashes) {
226 TD_DbPINVOKE.OdDbMPolygon_getPatternDefinitionAt(swigCPtr, index, out angle, out baseX, out baseY, out offsetX, out offsetY, OdGeDoubleArray.getCPtr(dashes));
228 }
229
230 public void setGradientAngle(double angle) {
233 }
234
235 public void setGradientShift(float shiftValue) {
236 TD_DbPINVOKE.OdDbMPolygon_setGradientShift(swigCPtr, shiftValue);
238 }
239
240 public void setGradientOneColorMode(bool oneColorMode) {
243 }
244
245 public void setGradientColors(uint count, OdCmColor colors, double /*SIMPLETYPE*/ values) {
246 TD_DbPINVOKE.OdDbMPolygon_setGradientColors(swigCPtr, count, OdCmColor.getCPtr(colors), values /*SIMPLETYPE*/);
248 }
249
250 public void setGradient(OdDbHatch.GradientPatternType gradType, String gradName) {
251 TD_DbPINVOKE.OdDbMPolygon_setGradient(swigCPtr, (int)gradType, gradName);
253 }
254
255 public virtual OdCmColor patternColor() {
258 return ret;
259 }
260
261 public virtual void setPatternColor(OdCmColor pc) {
264 }
265
266 public virtual OdResult getArea(out double area, bool areaViaHatch) {
267 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbMPolygon_getArea__SWIG_0(swigCPtr, out area, areaViaHatch);
269 return ret;
270 }
271
272 public virtual OdResult getArea(out double area) {
275 return ret;
276 }
277
278 public virtual OdGeVector2d getOffsetVector() {
281 return ret;
282 }
283
284 public virtual OdResult appendLoopFromBoundary(OdDbCircle pCircle, bool excludeCrossing, double tol) {
285 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbMPolygon_appendLoopFromBoundary__SWIG_0(swigCPtr, OdDbCircle.getCPtr(pCircle), excludeCrossing, tol);
287 return ret;
288 }
289
290 public virtual OdResult appendLoopFromBoundary(OdDbCircle pCircle, bool excludeCrossing) {
293 return ret;
294 }
295
299 return ret;
300 }
301
302 public virtual OdResult appendLoopFromBoundary(OdDbPolyline pPoly, bool excludeCrossing, double tol) {
305 return ret;
306 }
307
308 public virtual OdResult appendLoopFromBoundary(OdDbPolyline pPoly, bool excludeCrossing) {
311 return ret;
312 }
313
317 return ret;
318 }
319
320 public virtual OdResult appendLoopFromBoundary(OdDb2dPolyline pPoly, bool excludeCrossing, double tol) {
323 return ret;
324 }
325
326 public virtual OdResult appendLoopFromBoundary(OdDb2dPolyline pPoly, bool excludeCrossing) {
329 return ret;
330 }
331
335 return ret;
336 }
337
338 public virtual int numMPolygonLoops() {
341 return ret;
342 }
343
344 public virtual OdResult getMPolygonLoopAt(int loopIndex, OdGePoint2dArray vertices, OdGeDoubleArray bulges) {
347 return ret;
348 }
349
350 public virtual OdResult appendMPolygonLoop(OdGePoint2dArray vertices, OdGeDoubleArray bulges, bool excludeCrossing, double tol) {
351 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbMPolygon_appendMPolygonLoop__SWIG_0(swigCPtr, OdGePoint2dArray.getCPtr(vertices).Handle, OdGeDoubleArray.getCPtr(bulges), excludeCrossing, tol);
353 return ret;
354 }
355
356 public virtual OdResult appendMPolygonLoop(OdGePoint2dArray vertices, OdGeDoubleArray bulges, bool excludeCrossing) {
359 return ret;
360 }
361
365 return ret;
366 }
367
368 public virtual OdResult insertMPolygonLoopAt(int loopIndex, OdGePoint2dArray vertices, OdGeDoubleArray bulges, bool excludeCrossing, double tol) {
369 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbMPolygon_insertMPolygonLoopAt__SWIG_0(swigCPtr, loopIndex, OdGePoint2dArray.getCPtr(vertices).Handle, OdGeDoubleArray.getCPtr(bulges), excludeCrossing, tol);
371 return ret;
372 }
373
374 public virtual OdResult insertMPolygonLoopAt(int loopIndex, OdGePoint2dArray vertices, OdGeDoubleArray bulges, bool excludeCrossing) {
375 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbMPolygon_insertMPolygonLoopAt__SWIG_1(swigCPtr, loopIndex, OdGePoint2dArray.getCPtr(vertices).Handle, OdGeDoubleArray.getCPtr(bulges), excludeCrossing);
377 return ret;
378 }
379
380 public virtual OdResult insertMPolygonLoopAt(int loopIndex, OdGePoint2dArray vertices, OdGeDoubleArray bulges) {
383 return ret;
384 }
385
386 public virtual OdResult replaceMPolygonLoopAt(int loopIndex, OdGePoint2dArray vertices, OdGeDoubleArray bulges, bool excludeCrossing, double tol) {
387 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbMPolygon_replaceMPolygonLoopAt__SWIG_0(swigCPtr, loopIndex, OdGePoint2dArray.getCPtr(vertices).Handle, OdGeDoubleArray.getCPtr(bulges), excludeCrossing, tol);
389 return ret;
390 }
391
392 public virtual OdResult replaceMPolygonLoopAt(int loopIndex, OdGePoint2dArray vertices, OdGeDoubleArray bulges, bool excludeCrossing) {
393 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbMPolygon_replaceMPolygonLoopAt__SWIG_1(swigCPtr, loopIndex, OdGePoint2dArray.getCPtr(vertices).Handle, OdGeDoubleArray.getCPtr(bulges), excludeCrossing);
395 return ret;
396 }
397
398 public virtual OdResult replaceMPolygonLoopAt(int loopIndex, OdGePoint2dArray vertices, OdGeDoubleArray bulges) {
401 return ret;
402 }
403
404 public virtual OdResult replaceMPolygonLoopAt(OdIntArray loopIndices, OdGePoint2dArrayArray vertices, OdGeDoubleArray2d bulges, OdIntArray rejectedLoop, bool excludeCrossing, double tol) {
405 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbMPolygon_replaceMPolygonLoopAt__SWIG_3(swigCPtr, OdIntArray.getCPtr(loopIndices).Handle, OdGePoint2dArrayArray.getCPtr(vertices), bulges, OdIntArray.getCPtr(rejectedLoop).Handle, excludeCrossing, tol);
407 return ret;
408 }
409
410 public virtual OdResult replaceMPolygonLoopAt(OdIntArray loopIndices, OdGePoint2dArrayArray vertices, OdGeDoubleArray2d bulges, OdIntArray rejectedLoop, bool excludeCrossing) {
411 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbMPolygon_replaceMPolygonLoopAt__SWIG_4(swigCPtr, OdIntArray.getCPtr(loopIndices).Handle, OdGePoint2dArrayArray.getCPtr(vertices), bulges, OdIntArray.getCPtr(rejectedLoop).Handle, excludeCrossing);
413 return ret;
414 }
415
416 public virtual OdResult replaceMPolygonLoopAt(OdIntArray loopIndices, OdGePoint2dArrayArray vertices, OdGeDoubleArray2d bulges, OdIntArray rejectedLoop) {
417 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbMPolygon_replaceMPolygonLoopAt__SWIG_5(swigCPtr, OdIntArray.getCPtr(loopIndices).Handle, OdGePoint2dArrayArray.getCPtr(vertices), bulges, OdIntArray.getCPtr(rejectedLoop).Handle);
419 return ret;
420 }
421
422 public virtual OdResult removeMPolygonLoopAt(int loopIndex) {
425 return ret;
426 }
427
428 public virtual OdResult getLoopDirection(int lindex, out OdDbMPolygon.loopDir dir) {
429 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbMPolygon_getLoopDirection(swigCPtr, lindex, out dir);
431 return ret;
432 }
433
434 public virtual OdResult setLoopDirection(int lindex, OdDbMPolygon.loopDir dir) {
435 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbMPolygon_setLoopDirection(swigCPtr, lindex, (int)dir);
437 return ret;
438 }
439
440 public virtual bool isPointOnLoopBoundary(OdGePoint3d worldPt, int loop, double tol) {
441 bool ret = TD_DbPINVOKE.OdDbMPolygon_isPointOnLoopBoundary__SWIG_0(swigCPtr, OdGePoint3d.getCPtr(worldPt), loop, tol);
443 return ret;
444 }
445
446 public virtual bool isPointOnLoopBoundary(OdGePoint3d worldPt, int loop) {
449 return ret;
450 }
451
452 public virtual int isPointInsideMPolygon(OdGePoint3d worldPt, OdIntArray loopsArray, double tol) {
453 int ret = TD_DbPINVOKE.OdDbMPolygon_isPointInsideMPolygon__SWIG_0(swigCPtr, OdGePoint3d.getCPtr(worldPt), OdIntArray.getCPtr(loopsArray).Handle, tol);
455 return ret;
456 }
457
458 public virtual int isPointInsideMPolygon(OdGePoint3d worldPt, OdIntArray loopsArray) {
459 int ret = TD_DbPINVOKE.OdDbMPolygon_isPointInsideMPolygon__SWIG_1(swigCPtr, OdGePoint3d.getCPtr(worldPt), OdIntArray.getCPtr(loopsArray).Handle);
461 return ret;
462 }
463
464 public virtual int getParentLoop(int curLoop) {
465 int ret = TD_DbPINVOKE.OdDbMPolygon_getParentLoop(swigCPtr, curLoop);
467 return ret;
468 }
469
470 public virtual OdResult getMPolygonTree(OdDbMPolygonNode loopNode) {
473 return ret;
474 }
475
476 public virtual void deleteMPolygonTree(OdDbMPolygonNode loopNode) {
479 }
480
481 public virtual int getClosestLoopTo(OdGePoint3d worldPt) {
484 return ret;
485 }
486
487 public virtual double getPerimeter() {
488 double ret = TD_DbPINVOKE.OdDbMPolygon_getPerimeter(swigCPtr);
490 return ret;
491 }
492
493 public virtual OdResult balanceTree() {
496 return ret;
497 }
498
499 public virtual bool isBalanced() {
500 bool ret = TD_DbPINVOKE.OdDbMPolygon_isBalanced(swigCPtr);
502 return ret;
503 }
504
505 public virtual OdResult balanceDisplay() {
508 return ret;
509 }
510
511 public virtual OdResult createLoopsFromBoundaries(OdDbObjectIdArray ids, OdIntArray rejectedObjs, bool excludeCrossing, double tol) {
512 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbMPolygon_createLoopsFromBoundaries__SWIG_0(swigCPtr, OdDbObjectIdArray.getCPtr(ids), OdIntArray.getCPtr(rejectedObjs).Handle, excludeCrossing, tol);
514 return ret;
515 }
516
517 public virtual OdResult createLoopsFromBoundaries(OdDbObjectIdArray ids, OdIntArray rejectedObjs, bool excludeCrossing) {
520 return ret;
521 }
522
526 return ret;
527 }
528
529 public virtual OdResult createLoops(OdGePoint2dArrayArray vertices, OdGeDoubleArray2d bulges, OdIntArray rejectedObjs, bool excludeCrossing, double tol) {
530 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbMPolygon_createLoops__SWIG_0(swigCPtr, OdGePoint2dArrayArray.getCPtr(vertices), bulges, OdIntArray.getCPtr(rejectedObjs).Handle, excludeCrossing, tol);
532 return ret;
533 }
534
535 public virtual OdResult createLoops(OdGePoint2dArrayArray vertices, OdGeDoubleArray2d bulges, OdIntArray rejectedObjs, bool excludeCrossing) {
536 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbMPolygon_createLoops__SWIG_1(swigCPtr, OdGePoint2dArrayArray.getCPtr(vertices), bulges, OdIntArray.getCPtr(rejectedObjs).Handle, excludeCrossing);
538 return ret;
539 }
540
541 public virtual OdResult createLoops(OdGePoint2dArrayArray vertices, OdGeDoubleArray2d bulges, OdIntArray rejectedObjs) {
542 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbMPolygon_createLoops__SWIG_2(swigCPtr, OdGePoint2dArrayArray.getCPtr(vertices), bulges, OdIntArray.getCPtr(rejectedObjs).Handle);
544 return ret;
545 }
546
547 public virtual OdResult getChildLoops(int curLoop, OdIntArray selectedLoopIndexes) {
548 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbMPolygon_getChildLoops(swigCPtr, curLoop, OdIntArray.getCPtr(selectedLoopIndexes).Handle);
550 return ret;
551 }
552
553 public virtual new OdDbEntity subSubentPtr(OdDbFullSubentPath path) {// OdDbEntityPtr
554 MemoryManager mMan = MemoryManager.GetMemoryManager();
555 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
557
558 OdDbEntity ret = null;
559 if (null != mTrans)
560 {
561 mTrans.AddObject((OdDbEntity)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbEntity),ptr, true));
562 ret = (OdDbEntity)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbEntity),ptr, false);
563 }
564 else
565 {
566 ret = (OdDbEntity)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbEntity),ptr, true);
567 }
568
570 return ret;
571}
572
573 public virtual new OdResult subExplode(OdRxObjectPtrArray entitySet) {
576 return ret;
577 }
578
579 public virtual new OdResult subTransformBy(OdGeMatrix3d xfn) {
582 return ret;
583 }
584
585 public override OdResult dwgInFields(OdDbDwgFiler pFiler) {
588 return ret;
589 }
590
591 public override void dwgOutFields(OdDbDwgFiler pFiler) {
594 }
595
596 public override OdResult dxfInFields(OdDbDxfFiler pFiler) {
599 return ret;
600 }
601
602 public override void dxfOutFields(OdDbDxfFiler pFiler) {
605 }
606
607 public override bool subWorldDraw(OdGiWorldDraw pWd) {
610 return ret;
611 }
612
613 public override void subSetDatabaseDefaults(OdDbDatabase pDb, bool doSubents) {
616 }
617
618 public override void saveAs(OdGiWorldDraw pWd, DwgVersion ver) {
619 TD_DbPINVOKE.OdDbMPolygon_saveAs(swigCPtr, OdGiWorldDraw.getCPtr(pWd), (int)ver);
621 }
622
623 protected static string getRealClassName(IntPtr /*SIMPLETYPE*/ ptr) {
624 string ret = TD_DbPINVOKE.OdDbMPolygon_getRealClassName(ptr /*SIMPLETYPE*/);
626 return ret;
627 }
628
633 public void vb_gripStatus(Teigha.Core.GripStat status) { this.gripStatus(status); }
634
640
646
651 public string vb_material() { return this.material(); }
652
657 public virtual Teigha.TD.CollisionType vb_collisionType() { return this.collisionType(); }
658
663 public string vb_linetype() { return this.linetype(); }
664
670
676
677 public enum loopDir {
678 kExterior = 0,
679 kInterior = 1,
680 kAnnotation = 2
681 }
682
683}
684
685}
static HandleRef getCPtr(OdGeDoubleArray obj)
static HandleRef getCPtr(OdGeMatrix3d obj)
Definition: OdGeMatrix3d.cs:26
static HandleRef getCPtr(OdGePoint2dArrayArray obj)
static HandleRef getCPtr(OdGePoint2dArray obj)
static HandleRef getCPtr(OdGePoint3d obj)
Definition: OdGePoint3d.cs:26
static HandleRef getCPtr(OdGeVector3d obj)
Definition: OdGeVector3d.cs:26
virtual OdGiDrawable.DrawableType drawableType()
static HandleRef getCPtr(OdGiWorldDraw obj)
static HandleRef getCPtr(OdIntArray obj)
Definition: OdIntArray.cs:28
static HandleRef getCPtr(OdRxClass obj)
Definition: OdRxClass.cs:25
static HandleRef getCPtr(OdRxObject obj)
Definition: OdRxObject.cs:26
static HandleRef getCPtr(OdRxObjectPtrArray obj)
static HandleRef getCPtr(OdCmColor obj)
Definition: OdCmColor.cs:26
static HandleRef getCPtr(OdDb2dPolyline obj)
static HandleRef getCPtr(OdDbCircle obj)
Definition: OdDbCircle.cs:26
static HandleRef getCPtr(OdDbDatabase obj)
Definition: OdDbDatabase.cs:26
static HandleRef getCPtr(OdDbDwgFiler obj)
Definition: OdDbDwgFiler.cs:26
static HandleRef getCPtr(OdDbDxfFiler obj)
Definition: OdDbDxfFiler.cs:26
LineWeight lineWeight()
Definition: OdDbEntity.cs:556
virtual CollisionType collisionType()
Definition: OdDbEntity.cs:596
virtual void gripStatus(GripStat status)
Definition: OdDbEntity.cs:935
Visibility visibility()
Definition: OdDbEntity.cs:527
static HandleRef getCPtr(OdDbFullSubentPath obj)
virtual new OdDbEntity subSubentPtr(OdDbFullSubentPath path)
virtual double patternSpace()
virtual int isPointInsideMPolygon(OdGePoint3d worldPt, OdIntArray loopsArray)
OdDbMPolygon(IntPtr cPtr, bool cMemoryOwn)
Definition: OdDbMPolygon.cs:21
Teigha.Core.LineWeight vb_lineWeight()
virtual void setPatternAngle(double angle)
virtual OdResult appendMPolygonLoop(OdGePoint2dArray vertices, OdGeDoubleArray bulges)
virtual OdResult getArea(out double area)
virtual OdResult insertMPolygonLoopAt(int loopIndex, OdGePoint2dArray vertices, OdGeDoubleArray bulges, bool excludeCrossing)
virtual bool isBalanced()
virtual void deleteMPolygonTree(OdDbMPolygonNode loopNode)
override void dwgOutFields(OdDbDwgFiler pFiler)
virtual OdGeVector2d getOffsetVector()
virtual OdResult removeMPolygonLoopAt(int loopIndex)
override OdResult dxfInFields(OdDbDxfFiler pFiler)
virtual OdResult appendLoopFromBoundary(OdDb2dPolyline pPoly)
virtual OdResult appendLoopFromBoundary(OdDb2dPolyline pPoly, bool excludeCrossing)
virtual OdResult evaluateHatch()
virtual OdResult setLoopDirection(int lindex, OdDbMPolygon.loopDir dir)
static HandleRef getCPtr(OdDbMPolygon obj)
Definition: OdDbMPolygon.cs:26
virtual int getParentLoop(int curLoop)
virtual OdResult replaceMPolygonLoopAt(OdIntArray loopIndices, OdGePoint2dArrayArray vertices, OdGeDoubleArray2d bulges, OdIntArray rejectedLoop, bool excludeCrossing)
virtual OdResult appendLoopFromBoundary(OdDbCircle pCircle, bool excludeCrossing, double tol)
virtual new OdResult subTransformBy(OdGeMatrix3d xfn)
void setGradientShift(float shiftValue)
virtual Teigha.Core.OdGiDrawable.DrawableType vb_drawableType()
virtual OdResult evaluateHatch(bool bUnderestimateNumLines)
void setGradient(OdDbHatch.GradientPatternType gradType, String gradName)
override OdRxClass isA()
Definition: OdDbMPolygon.cs:70
virtual OdDbHatch.HatchPatternType patternType()
virtual OdResult appendLoopFromBoundary(OdDbCircle pCircle)
void setGradientColors(uint count, OdCmColor colors, double values)
virtual OdGeVector3d normal()
void setGradientOneColorMode(bool oneColorMode)
virtual OdResult replaceMPolygonLoopAt(int loopIndex, OdGePoint2dArray vertices, OdGeDoubleArray bulges, bool excludeCrossing, double tol)
override void saveAs(OdGiWorldDraw pWd, DwgVersion ver)
virtual int isPointInsideMPolygon(OdGePoint3d worldPt, OdIntArray loopsArray, double tol)
virtual Teigha.TD.OdDbHatch.HatchPatternType vb_patternType()
virtual OdResult appendLoopFromBoundary(OdDbCircle pCircle, bool excludeCrossing)
virtual void setPatternDouble(bool isDouble)
virtual new OdResult subExplode(OdRxObjectPtrArray entitySet)
virtual int getClosestLoopTo(OdGePoint3d worldPt)
void setGradientAngle(double angle)
virtual void setPatternSpace(double space)
override OdRxObject queryX(OdRxClass protocolClass)
Definition: OdDbMPolygon.cs:77
virtual OdResult createLoopsFromBoundaries(OdDbObjectIdArray ids, OdIntArray rejectedObjs)
override void dxfOutFields(OdDbDxfFiler pFiler)
override void Dispose(bool disposing)
Definition: OdDbMPolygon.cs:30
virtual OdResult getChildLoops(int curLoop, OdIntArray selectedLoopIndexes)
virtual double patternAngle()
virtual OdResult balanceTree()
static string getRealClassName(IntPtr ptr)
virtual OdResult replaceMPolygonLoopAt(OdIntArray loopIndices, OdGePoint2dArrayArray vertices, OdGeDoubleArray2d bulges, OdIntArray rejectedLoop, bool excludeCrossing, double tol)
virtual int numMPolygonLoops()
virtual bool patternDouble()
virtual int numPatternDefinitions()
static new OdRxClass desc()
Definition: OdDbMPolygon.cs:63
virtual double elevation()
virtual OdResult getMPolygonLoopAt(int loopIndex, OdGePoint2dArray vertices, OdGeDoubleArray bulges)
virtual OdResult appendMPolygonLoop(OdGePoint2dArray vertices, OdGeDoubleArray bulges, bool excludeCrossing)
virtual OdResult replaceMPolygonLoopAt(int loopIndex, OdGePoint2dArray vertices, OdGeDoubleArray bulges, bool excludeCrossing)
virtual OdResult createLoopsFromBoundaries(OdDbObjectIdArray ids, OdIntArray rejectedObjs, bool excludeCrossing)
virtual OdResult replaceMPolygonLoopAt(OdIntArray loopIndices, OdGePoint2dArrayArray vertices, OdGeDoubleArray2d bulges, OdIntArray rejectedLoop)
override OdResult dwgInFields(OdDbDwgFiler pFiler)
virtual String patternName()
static new OdDbMPolygon createObject()
Definition: OdDbMPolygon.cs:84
virtual OdResult createLoopsFromBoundaries(OdDbObjectIdArray ids, OdIntArray rejectedObjs, bool excludeCrossing, double tol)
virtual void setNormal(OdGeVector3d normal)
virtual OdResult appendMPolygonLoop(OdGePoint2dArray vertices, OdGeDoubleArray bulges, bool excludeCrossing, double tol)
virtual double getPerimeter()
virtual OdResult createLoops(OdGePoint2dArrayArray vertices, OdGeDoubleArray2d bulges, OdIntArray rejectedObjs, bool excludeCrossing, double tol)
virtual OdResult getMPolygonTree(OdDbMPolygonNode loopNode)
override bool subWorldDraw(OdGiWorldDraw pWd)
virtual OdResult appendLoopFromBoundary(OdDb2dPolyline pPoly, bool excludeCrossing, double tol)
void vb_gripStatus(Teigha.Core.GripStat status)
virtual OdDbHatch hatch()
virtual void getPatternDefinitionAt(int index, out double angle, out double baseX, out double baseY, out double offsetX, out double offsetY, OdGeDoubleArray dashes)
virtual OdResult appendLoopFromBoundary(OdDbPolyline pPoly, bool excludeCrossing, double tol)
virtual void setPatternScale(double scale)
static OdDbMPolygon cast(OdRxObject pObj)
Definition: OdDbMPolygon.cs:43
virtual OdResult insertMPolygonLoopAt(int loopIndex, OdGePoint2dArray vertices, OdGeDoubleArray bulges, bool excludeCrossing, double tol)
virtual OdResult createLoops(OdGePoint2dArrayArray vertices, OdGeDoubleArray2d bulges, OdIntArray rejectedObjs)
virtual OdResult appendLoopFromBoundary(OdDbPolyline pPoly)
virtual OdResult replaceMPolygonLoopAt(int loopIndex, OdGePoint2dArray vertices, OdGeDoubleArray bulges)
virtual bool isPointOnLoopBoundary(OdGePoint3d worldPt, int loop)
virtual Teigha.TD.CollisionType vb_collisionType()
virtual OdResult insertMPolygonLoopAt(int loopIndex, OdGePoint2dArray vertices, OdGeDoubleArray bulges)
virtual OdResult getLoopDirection(int lindex, out OdDbMPolygon.loopDir dir)
virtual bool isPointOnLoopBoundary(OdGePoint3d worldPt, int loop, double tol)
Teigha.TD.Visibility vb_visibility()
virtual OdResult appendLoopFromBoundary(OdDbPolyline pPoly, bool excludeCrossing)
virtual OdCmColor patternColor()
virtual OdResult getArea(out double area, bool areaViaHatch)
virtual double patternScale()
virtual void setPatternColor(OdCmColor pc)
override void subSetDatabaseDefaults(OdDbDatabase pDb, bool doSubents)
virtual void setElevation(double elevation)
virtual void setPattern(OdDbHatch.HatchPatternType patType, String patName)
virtual OdResult balanceDisplay()
virtual OdResult createLoops(OdGePoint2dArrayArray vertices, OdGeDoubleArray2d bulges, OdIntArray rejectedObjs, bool excludeCrossing)
static HandleRef getCPtr(OdDbMPolygonNode obj)
static HandleRef getCPtr(OdDbObjectIdArray obj)
static HandleRef getCPtr(OdDbPolyline obj)
Definition: OdDbPolyline.cs:26
static global::System.Exception Retrieve()
static int OdDbMPolygon_balanceTree(HandleRef jarg1)
static int OdDbMPolygon_replaceMPolygonLoopAt__SWIG_2(HandleRef jarg1, int jarg2, IntPtr jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static int OdDbMPolygon_getChildLoops(HandleRef jarg1, int jarg2, IntPtr jarg3)
static int OdDbMPolygon_dxfInFields(HandleRef jarg1, HandleRef jarg2)
static int OdDbMPolygon_appendLoopFromBoundary__SWIG_7(HandleRef jarg1, HandleRef jarg2, bool jarg3)
static int OdDbMPolygon_createLoops__SWIG_2(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, OdGeDoubleArray2d jarg3, IntPtr jarg4)
static void OdDbMPolygon_setPatternSpace(HandleRef jarg1, double jarg2)
static void OdDbMPolygon_setGradientShift(HandleRef jarg1, float jarg2)
static bool OdDbMPolygon_isPointOnLoopBoundary__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3)
static int OdDbMPolygon_getArea__SWIG_0(HandleRef jarg1, out double jarg2, bool jarg3)
static int OdDbMPolygon_getMPolygonLoopAt(HandleRef jarg1, int jarg2, IntPtr jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static int OdDbMPolygon_appendMPolygonLoop__SWIG_1(HandleRef jarg1, IntPtr jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, bool jarg4)
static int OdDbMPolygon_evaluateHatch__SWIG_1(HandleRef jarg1)
static int OdDbMPolygon_getParentLoop(HandleRef jarg1, int jarg2)
static int OdDbMPolygon_createLoops__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, OdGeDoubleArray2d jarg3, IntPtr jarg4, bool jarg5)
static int OdDbMPolygon_insertMPolygonLoopAt__SWIG_0(HandleRef jarg1, int jarg2, IntPtr jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, bool jarg5, double jarg6)
static void OdDbMPolygon_setPatternAngle(HandleRef jarg1, double jarg2)
static int OdDbMPolygon_isPointInsideMPolygon__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, IntPtr jarg3, double jarg4)
static int OdDbMPolygon_dwgInFields(HandleRef jarg1, HandleRef jarg2)
static int OdDbMPolygon_getArea__SWIG_1(HandleRef jarg1, out double jarg2)
static double OdDbMPolygon_patternAngle(HandleRef jarg1)
static int OdDbMPolygon_appendLoopFromBoundary__SWIG_1(HandleRef jarg1, HandleRef jarg2, bool jarg3)
static int OdDbMPolygon_replaceMPolygonLoopAt__SWIG_4(HandleRef jarg1, IntPtr jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, OdGeDoubleArray2d jarg4, IntPtr jarg5, bool jarg6)
static int OdDbMPolygon_createLoopsFromBoundaries__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, IntPtr jarg3, bool jarg4)
static void OdDbMPolygon_dxfOutFields(HandleRef jarg1, HandleRef jarg2)
static void OdDbMPolygon_setGradientOneColorMode(HandleRef jarg1, bool jarg2)
static int OdDbMPolygon_appendMPolygonLoop__SWIG_2(HandleRef jarg1, IntPtr jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDbMPolygon_getMPolygonTree(HandleRef jarg1, IntPtr jarg2)
static IntPtr OdDbMPolygon_cast(HandleRef jarg1)
static void OdDbMPolygon_setPattern(HandleRef jarg1, int jarg2, [MarshalAs(UnmanagedType.LPWStr)]String jarg3)
static int OdDbMPolygon_createLoopsFromBoundaries__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, IntPtr jarg3, bool jarg4, double jarg5)
static int OdDbMPolygon_numPatternDefinitions(HandleRef jarg1)
static int OdDbMPolygon_replaceMPolygonLoopAt__SWIG_1(HandleRef jarg1, int jarg2, IntPtr jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, bool jarg5)
static void OdDbMPolygon_saveAs(HandleRef jarg1, HandleRef jarg2, int jarg3)
static String OdDbMPolygon_patternName(HandleRef jarg1)
static global::System.IntPtr OdDbMPolygon_normal(HandleRef jarg1)
static int OdDbMPolygon_getClosestLoopTo(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static double OdDbMPolygon_patternScale(HandleRef jarg1)
static bool OdDbMPolygon_isPointOnLoopBoundary__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, double jarg4)
static int OdDbMPolygon_appendLoopFromBoundary__SWIG_3(HandleRef jarg1, HandleRef jarg2, bool jarg3, double jarg4)
static int OdDbMPolygon_evaluateHatch__SWIG_0(HandleRef jarg1, bool jarg2)
static int OdDbMPolygon_createLoops__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, OdGeDoubleArray2d jarg3, IntPtr jarg4, bool jarg5, double jarg6)
static global::System.IntPtr OdDbMPolygon_getOffsetVector(HandleRef jarg1)
static int OdDbMPolygon_subTransformBy(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdDbMPolygon_replaceMPolygonLoopAt__SWIG_5(HandleRef jarg1, IntPtr jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, OdGeDoubleArray2d jarg4, IntPtr jarg5)
static int OdDbMPolygon_appendLoopFromBoundary__SWIG_8(HandleRef jarg1, HandleRef jarg2)
static int OdDbMPolygon_subExplode(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static string OdDbMPolygon_getRealClassName(IntPtr jarg1)
static int OdDbMPolygon_appendLoopFromBoundary__SWIG_6(HandleRef jarg1, HandleRef jarg2, bool jarg3, double jarg4)
static int OdDbMPolygon_isPointInsideMPolygon__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, IntPtr jarg3)
static void OdDbMPolygon_getPatternDefinitionAt(HandleRef jarg1, int jarg2, out double jarg3, out double jarg4, out double jarg5, out double jarg6, out double jarg7, global::System.Runtime.InteropServices.HandleRef jarg8)
static void OdDbMPolygon_dwgOutFields(HandleRef jarg1, HandleRef jarg2)
static global::System.IntPtr OdDbMPolygon_patternColor(HandleRef jarg1)
static void OdDbMPolygon_setNormal(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdDbMPolygon_setPatternColor(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdDbMPolygon_subSubentPtr(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdDbMPolygon_setPatternScale(HandleRef jarg1, double jarg2)
static double OdDbMPolygon_getPerimeter(HandleRef jarg1)
static void OdDbMPolygon_setGradientColors(HandleRef jarg1, uint jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, double jarg4)
static void OdDbMPolygon_deleteMPolygonTree(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdDbMPolygon_desc()
static int OdDbMPolygon_appendLoopFromBoundary__SWIG_5(HandleRef jarg1, HandleRef jarg2)
static int OdDbMPolygon_setLoopDirection(HandleRef jarg1, int jarg2, int jarg3)
static int OdDbMPolygon_replaceMPolygonLoopAt__SWIG_3(HandleRef jarg1, IntPtr jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, OdGeDoubleArray2d jarg4, IntPtr jarg5, bool jarg6, double jarg7)
static double OdDbMPolygon_elevation(HandleRef jarg1)
static int OdDbMPolygon_getLoopDirection(HandleRef jarg1, int jarg2, out OdDbMPolygon.loopDir jarg3)
static int OdDbMPolygon_appendMPolygonLoop__SWIG_0(HandleRef jarg1, IntPtr jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, bool jarg4, double jarg5)
static int OdDbMPolygon_appendLoopFromBoundary__SWIG_0(HandleRef jarg1, HandleRef jarg2, bool jarg3, double jarg4)
static int OdDbMPolygon_insertMPolygonLoopAt__SWIG_1(HandleRef jarg1, int jarg2, IntPtr jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, bool jarg5)
static int OdDbMPolygon_replaceMPolygonLoopAt__SWIG_0(HandleRef jarg1, int jarg2, IntPtr jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, bool jarg5, double jarg6)
static void OdDbMPolygon_setGradient(HandleRef jarg1, int jarg2, [MarshalAs(UnmanagedType.LPWStr)]String jarg3)
static void delete_OdDbMPolygon(HandleRef jarg1)
static IntPtr OdDbMPolygon_queryX(HandleRef jarg1, HandleRef jarg2)
static void OdDbMPolygon_subSetDatabaseDefaults(HandleRef jarg1, HandleRef jarg2, bool jarg3)
static int OdDbMPolygon_balanceDisplay(HandleRef jarg1)
static int OdDbMPolygon_insertMPolygonLoopAt__SWIG_2(HandleRef jarg1, int jarg2, IntPtr jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static IntPtr OdDbMPolygon_createObject()
static double OdDbMPolygon_patternSpace(HandleRef jarg1)
static int OdDbMPolygon_appendLoopFromBoundary__SWIG_2(HandleRef jarg1, HandleRef jarg2)
static void OdDbMPolygon_setPatternDouble(HandleRef jarg1, bool jarg2)
static int OdDbMPolygon_appendLoopFromBoundary__SWIG_4(HandleRef jarg1, HandleRef jarg2, bool jarg3)
static IntPtr OdDbMPolygon_isA(HandleRef jarg1)
static void OdDbMPolygon_setGradientAngle(HandleRef jarg1, double jarg2)
static void OdDbMPolygon_setElevation(HandleRef jarg1, double jarg2)
static int OdDbMPolygon_numMPolygonLoops(HandleRef jarg1)
static bool OdDbMPolygon_patternDouble(HandleRef jarg1)
static bool OdDbMPolygon_subWorldDraw(HandleRef jarg1, HandleRef jarg2)
static IntPtr OdDbMPolygon_hatch__SWIG_0(HandleRef jarg1)
static int OdDbMPolygon_patternType(HandleRef jarg1)
static int OdDbMPolygon_createLoopsFromBoundaries__SWIG_2(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, IntPtr jarg3)
static bool OdDbMPolygon_isBalanced(HandleRef jarg1)
static int OdDbMPolygon_removeMPolygonLoopAt(HandleRef jarg1, int jarg2)