Extended .NET SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
OdDbSurface.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 OdDbSurface : OdDbEntity {
18 private Object locker = new Object();
19 private HandleRef swigCPtr;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
21 public OdDbSurface(IntPtr cPtr, bool cMemoryOwn) : base(TD_DbPINVOKE.OdDbSurface_SWIGUpcast(cPtr), cMemoryOwn) {
22 swigCPtr = new HandleRef(this, cPtr);
23 }
24
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 public static HandleRef getCPtr(OdDbSurface 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 OdDbSurface cast(OdRxObject pObj) {// OdSmartPtr<OdDbSurface>
44 MemoryManager mMan = MemoryManager.GetMemoryManager();
45 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
47
48 OdDbSurface ret = null;
49 if (null != mTrans)
50 {
51 mTrans.AddObject((OdDbSurface)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbSurface),ptr, true));
52 ret = (OdDbSurface)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbSurface),ptr, false);
53 }
54 else
55 {
56 ret = (OdDbSurface)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbSurface),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.OdDbSurface_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.OdDbSurface_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.OdDbSurface_queryX(swigCPtr, OdRxClass.getCPtr(protocolClass)),false); /*createInt 3_2*/
79
81 return ret;
82}
83
84 public new static OdDbSurface createObject() {// OdSmartPtr<OdDbSurface>
85 MemoryManager mMan = MemoryManager.GetMemoryManager();
86 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
88
89 OdDbSurface ret = null;
90 if (null != mTrans)
91 {
92 mTrans.AddObject((OdDbSurface)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbSurface),ptr, true));
93 ret = (OdDbSurface)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbSurface),ptr, false);
94 }
95 else
96 {
97 ret = (OdDbSurface)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbSurface),ptr, true);
98 }
99
101 return ret;
102}
103
104 public virtual UInt16 uIsolineDensity() {
105// test csout
106 /*SIMPLETYPE*/
107 UInt16 ret = TD_DbPINVOKE.OdDbSurface_uIsolineDensity(swigCPtr);
109 return ret;
110 }
111
112 public virtual void setUIsolineDensity(UInt16 numIsolines) {
113 TD_DbPINVOKE.OdDbSurface_setUIsolineDensity(swigCPtr, numIsolines /*SIMPLETYPE*/);
115 }
116
117 public virtual UInt16 vIsolineDensity() {
118// test csout
119 /*SIMPLETYPE*/
120 UInt16 ret = TD_DbPINVOKE.OdDbSurface_vIsolineDensity(swigCPtr);
122 return ret;
123 }
124
125 public virtual void setVIsolineDensity(UInt16 numIsolines) {
126 TD_DbPINVOKE.OdDbSurface_setVIsolineDensity(swigCPtr, numIsolines /*SIMPLETYPE*/);
128 }
129
130 public static OdResult createFrom(OdDbEntity pFromEntity, ref OdDbSurface /*OUT_PARAM for SMARTPTR*/ pNewSurface) {
131 /*OUT_PARAM for SMARTPTR pre*/ IntPtr tmp_pNewSurface = pNewSurface == null ? IntPtr.Zero : OdDbSurface.getCPtr(pNewSurface).Handle;
132 IntPtr saved_pNewSurface = tmp_pNewSurface;
133 /*OUT_PARAM for SMARTPTR pre*/
134 try {
135 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbSurface_createFrom(OdDbEntity.getCPtr(pFromEntity), ref tmp_pNewSurface /*OUT_PARAM for SMARTPTR*/);
137 return ret;
138 } finally {
139if(tmp_pNewSurface == IntPtr.Zero) pNewSurface = null;
140 if(tmp_pNewSurface != IntPtr.Zero && tmp_pNewSurface != saved_pNewSurface)
141 {
142 MemoryTransaction mTrans_pNewSurface = MemoryManager.GetMemoryManager().GetCurrentTransaction();
143 if(mTrans_pNewSurface != null)
144 mTrans_pNewSurface.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdDbSurface>(typeof(OdDbSurface), tmp_pNewSurface, true));
145 pNewSurface = Teigha.Core.Helpers.odCreateObjectInternal<OdDbSurface>(typeof(OdDbSurface), tmp_pNewSurface, mTrans_pNewSurface == null);
146 /*OUT_PARAM for SMARTPTR*/
147 }
148 }
149 }
150
156
157 public virtual OdResult thicken(double thickness, bool bBothSides, ref OdDb3dSolid /*OUT_PARAM for SMARTPTR*/ pSolid) {
158 /*OUT_PARAM for SMARTPTR pre*/ IntPtr tmp_pSolid = pSolid == null ? IntPtr.Zero : OdDb3dSolid.getCPtr(pSolid).Handle;
159 IntPtr saved_pSolid = tmp_pSolid;
160 /*OUT_PARAM for SMARTPTR pre*/
161 try {
162 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbSurface_thicken(swigCPtr, thickness, bBothSides, ref tmp_pSolid /*OUT_PARAM for SMARTPTR*/);
164 return ret;
165 } finally {
166if(tmp_pSolid == IntPtr.Zero) pSolid = null;
167 if(tmp_pSolid != IntPtr.Zero && tmp_pSolid != saved_pSolid)
168 {
169 MemoryTransaction mTrans_pSolid = MemoryManager.GetMemoryManager().GetCurrentTransaction();
170 if(mTrans_pSolid != null)
171 mTrans_pSolid.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdDb3dSolid>(typeof(OdDb3dSolid), tmp_pSolid, true));
172 pSolid = Teigha.Core.Helpers.odCreateObjectInternal<OdDb3dSolid>(typeof(OdDb3dSolid), tmp_pSolid, mTrans_pSolid == null);
173 /*OUT_PARAM for SMARTPTR*/
174 }
175 }
176 }
177
178 public virtual OdResult getArea(out double area) {
179 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbSurface_getArea(swigCPtr, out area);
181 return ret;
182 }
183
184 public bool isNull() {
185 bool ret = TD_DbPINVOKE.OdDbSurface_isNull(swigCPtr);
187 return ret;
188 }
189
190 public OdResult acisOut(OdStreamBuf pStreamBuf, int typeVer) {
191 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbSurface_acisOut__SWIG_0(swigCPtr, OdStreamBuf.getCPtr(pStreamBuf), typeVer);
193 return ret;
194 }
195
201
202 public OdResult acisIn(OdStreamBuf pStreamBuf, out int pTypeVer) {
203 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbSurface_acisIn__SWIG_0(swigCPtr, OdStreamBuf.getCPtr(pStreamBuf), out pTypeVer);
205 return ret;
206 }
207
213
218
219 public bool getFaceMesh(OdGeTrMesh mesh, IntPtr iFace, wrTriangulationParams triangulationParams) {
220 bool ret = TD_DbPINVOKE.OdDbSurface_getFaceMesh(swigCPtr, OdGeTrMesh.getCPtr(mesh), iFace /*SIMPLETYPE*/, wrTriangulationParams.getCPtr(triangulationParams));
222 return ret;
223 }
224
225 public override OdDbObject decomposeForSave(DwgVersion ver, OdDbObjectId replaceId, out bool exchangeXData) {// OdDbObjectPtr
226 MemoryManager mMan = MemoryManager.GetMemoryManager();
227 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
228 IntPtr ptr = TD_DbPINVOKE.OdDbSurface_decomposeForSave(swigCPtr, (int)ver, OdDbObjectId.getCPtr(replaceId), out exchangeXData);
229
230 OdDbObject ret = null;
231 if (null != mTrans)
232 {
233 mTrans.AddObject((OdDbObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbObject),ptr, true));
234 ret = (OdDbObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbObject),ptr, false);
235 }
236 else
237 {
238 ret = (OdDbObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbObject),ptr, true);
239 }
240
242 return ret;
243}
244
250
256
261
262 public virtual OdResult setBody(IntPtr pGeometry) {
263 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbSurface_setBody(swigCPtr, pGeometry /*SIMPLETYPE*/);
265 return ret;
266 }
267
268 public virtual IntPtr body() {
269// test csout
270 /*SIMPLETYPE*/
271 IntPtr ret = TD_DbPINVOKE.OdDbSurface_body(swigCPtr);
273 return ret;
274 }
275
281
286
292
297
298 public override bool subWorldDraw(OdGiWorldDraw pWd) {
301 return ret;
302 }
303
308
309 public override OdResult subGetClassID(IntPtr pClsid) {
310 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbSurface_subGetClassID(swigCPtr, pClsid /*SIMPLETYPE*/);
312 return ret;
313 }
314
315 public virtual OdDbSubentId internalSubentId(IntPtr ent) {
316 OdDbSubentId ret = new OdDbSubentId(TD_DbPINVOKE.OdDbSurface_internalSubentId(swigCPtr, ent /*SIMPLETYPE*/), true);
318 return ret;
319 }
320
321 public virtual IntPtr internalSubentPtr(OdDbSubentId id) {
322// test csout
323 /*SIMPLETYPE*/
326 return ret;
327 }
328
329 public virtual new OdDbEntity subSubentPtr(OdDbFullSubentPath id) {// OdDbEntityPtr
330 MemoryManager mMan = MemoryManager.GetMemoryManager();
331 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
333
334 OdDbEntity ret = null;
335 if (null != mTrans)
336 {
337 mTrans.AddObject((OdDbEntity)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbEntity),ptr, true));
338 ret = (OdDbEntity)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbEntity),ptr, false);
339 }
340 else
341 {
342 ret = (OdDbEntity)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbEntity),ptr, true);
343 }
344
346 return ret;
347}
348
349 public virtual OdResult createInterferenceObjects(OdDbEntityPtrArray interferenceObjects, OdDbEntity pEntity, uint flags) {
352 return ret;
353 }
354
355 public virtual OdResult booleanUnion(OdDbSurface pSurface, ref OdDbSurface /*OUT_PARAM for SMARTPTR*/ pNewSurface) {
356 /*OUT_PARAM for SMARTPTR pre*/ IntPtr tmp_pNewSurface = pNewSurface == null ? IntPtr.Zero : OdDbSurface.getCPtr(pNewSurface).Handle;
357 IntPtr saved_pNewSurface = tmp_pNewSurface;
358 /*OUT_PARAM for SMARTPTR pre*/
359 try {
360 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbSurface_booleanUnion(swigCPtr, OdDbSurface.getCPtr(pSurface), ref tmp_pNewSurface /*OUT_PARAM for SMARTPTR*/);
362 return ret;
363 } finally {
364if(tmp_pNewSurface == IntPtr.Zero) pNewSurface = null;
365 if(tmp_pNewSurface != IntPtr.Zero && tmp_pNewSurface != saved_pNewSurface)
366 {
367 MemoryTransaction mTrans_pNewSurface = MemoryManager.GetMemoryManager().GetCurrentTransaction();
368 if(mTrans_pNewSurface != null)
369 mTrans_pNewSurface.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdDbSurface>(typeof(OdDbSurface), tmp_pNewSurface, true));
370 pNewSurface = Teigha.Core.Helpers.odCreateObjectInternal<OdDbSurface>(typeof(OdDbSurface), tmp_pNewSurface, mTrans_pNewSurface == null);
371 /*OUT_PARAM for SMARTPTR*/
372 }
373 }
374 }
375
376 public virtual OdResult booleanSubtract(OdDbSurface pSurface, ref OdDbSurface /*OUT_PARAM for SMARTPTR*/ pNewSurface) {
377 /*OUT_PARAM for SMARTPTR pre*/ IntPtr tmp_pNewSurface = pNewSurface == null ? IntPtr.Zero : OdDbSurface.getCPtr(pNewSurface).Handle;
378 IntPtr saved_pNewSurface = tmp_pNewSurface;
379 /*OUT_PARAM for SMARTPTR pre*/
380 try {
381 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbSurface_booleanSubtract__SWIG_0(swigCPtr, OdDbSurface.getCPtr(pSurface), ref tmp_pNewSurface /*OUT_PARAM for SMARTPTR*/);
383 return ret;
384 } finally {
385if(tmp_pNewSurface == IntPtr.Zero) pNewSurface = null;
386 if(tmp_pNewSurface != IntPtr.Zero && tmp_pNewSurface != saved_pNewSurface)
387 {
388 MemoryTransaction mTrans_pNewSurface = MemoryManager.GetMemoryManager().GetCurrentTransaction();
389 if(mTrans_pNewSurface != null)
390 mTrans_pNewSurface.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdDbSurface>(typeof(OdDbSurface), tmp_pNewSurface, true));
391 pNewSurface = Teigha.Core.Helpers.odCreateObjectInternal<OdDbSurface>(typeof(OdDbSurface), tmp_pNewSurface, mTrans_pNewSurface == null);
392 /*OUT_PARAM for SMARTPTR*/
393 }
394 }
395 }
396
397 public virtual OdResult booleanSubtract(OdDb3dSolid pSolid, ref OdDbSurface /*OUT_PARAM for SMARTPTR*/ pNewSurface) {
398 /*OUT_PARAM for SMARTPTR pre*/ IntPtr tmp_pNewSurface = pNewSurface == null ? IntPtr.Zero : OdDbSurface.getCPtr(pNewSurface).Handle;
399 IntPtr saved_pNewSurface = tmp_pNewSurface;
400 /*OUT_PARAM for SMARTPTR pre*/
401 try {
402 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbSurface_booleanSubtract__SWIG_1(swigCPtr, OdDb3dSolid.getCPtr(pSolid), ref tmp_pNewSurface /*OUT_PARAM for SMARTPTR*/);
404 return ret;
405 } finally {
406if(tmp_pNewSurface == IntPtr.Zero) pNewSurface = null;
407 if(tmp_pNewSurface != IntPtr.Zero && tmp_pNewSurface != saved_pNewSurface)
408 {
409 MemoryTransaction mTrans_pNewSurface = MemoryManager.GetMemoryManager().GetCurrentTransaction();
410 if(mTrans_pNewSurface != null)
411 mTrans_pNewSurface.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdDbSurface>(typeof(OdDbSurface), tmp_pNewSurface, true));
412 pNewSurface = Teigha.Core.Helpers.odCreateObjectInternal<OdDbSurface>(typeof(OdDbSurface), tmp_pNewSurface, mTrans_pNewSurface == null);
413 /*OUT_PARAM for SMARTPTR*/
414 }
415 }
416 }
417
418 public virtual OdResult booleanIntersect(OdDbSurface pSurface, OdDbEntityPtrArray intersectionEntities) {
421 return ret;
422 }
423
429
435
436 public virtual OdResult createSectionObjects(OdGePlane sectionPlane, OdDbEntityPtrArray sectionObjects) {
439 return ret;
440 }
441
442 public virtual OdResult sliceByPlane(OdGePlane slicePlane, ref OdDbSurface /*OUT_PARAM for SMARTPTR*/ pNegHalfSurface, ref OdDbSurface /*OUT_PARAM for SMARTPTR*/ pNewSurface) {
443 /*OUT_PARAM for SMARTPTR pre*/ IntPtr tmp_pNegHalfSurface = pNegHalfSurface == null ? IntPtr.Zero : OdDbSurface.getCPtr(pNegHalfSurface).Handle;
444 IntPtr saved_pNegHalfSurface = tmp_pNegHalfSurface;
445 /*OUT_PARAM for SMARTPTR pre*/
446 /*OUT_PARAM for SMARTPTR pre*/ IntPtr tmp_pNewSurface = pNewSurface == null ? IntPtr.Zero : OdDbSurface.getCPtr(pNewSurface).Handle;
447 IntPtr saved_pNewSurface = tmp_pNewSurface;
448 /*OUT_PARAM for SMARTPTR pre*/
449 try {
450 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbSurface_sliceByPlane(swigCPtr, OdGePlane.getCPtr(slicePlane), ref tmp_pNegHalfSurface /*OUT_PARAM for SMARTPTR*/, ref tmp_pNewSurface /*OUT_PARAM for SMARTPTR*/);
452 return ret;
453 } finally {
454if(tmp_pNegHalfSurface == IntPtr.Zero) pNegHalfSurface = null;
455 if(tmp_pNegHalfSurface != IntPtr.Zero && tmp_pNegHalfSurface != saved_pNegHalfSurface)
456 {
457 MemoryTransaction mTrans_pNegHalfSurface = MemoryManager.GetMemoryManager().GetCurrentTransaction();
458 if(mTrans_pNegHalfSurface != null)
459 mTrans_pNegHalfSurface.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdDbSurface>(typeof(OdDbSurface), tmp_pNegHalfSurface, true));
460 pNegHalfSurface = Teigha.Core.Helpers.odCreateObjectInternal<OdDbSurface>(typeof(OdDbSurface), tmp_pNegHalfSurface, mTrans_pNegHalfSurface == null);
461 /*OUT_PARAM for SMARTPTR*/
462 }
463if(tmp_pNewSurface == IntPtr.Zero) pNewSurface = null;
464 if(tmp_pNewSurface != IntPtr.Zero && tmp_pNewSurface != saved_pNewSurface)
465 {
466 MemoryTransaction mTrans_pNewSurface = MemoryManager.GetMemoryManager().GetCurrentTransaction();
467 if(mTrans_pNewSurface != null)
468 mTrans_pNewSurface.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdDbSurface>(typeof(OdDbSurface), tmp_pNewSurface, true));
469 pNewSurface = Teigha.Core.Helpers.odCreateObjectInternal<OdDbSurface>(typeof(OdDbSurface), tmp_pNewSurface, mTrans_pNewSurface == null);
470 /*OUT_PARAM for SMARTPTR*/
471 }
472 }
473 }
474
475 public virtual OdResult sliceBySurface(OdDbSurface pSlicingSurface, ref OdDbSurface /*OUT_PARAM for SMARTPTR*/ pNegHalfSurface, ref OdDbSurface /*OUT_PARAM for SMARTPTR*/ pNewSurface) {
476 /*OUT_PARAM for SMARTPTR pre*/ IntPtr tmp_pNegHalfSurface = pNegHalfSurface == null ? IntPtr.Zero : OdDbSurface.getCPtr(pNegHalfSurface).Handle;
477 IntPtr saved_pNegHalfSurface = tmp_pNegHalfSurface;
478 /*OUT_PARAM for SMARTPTR pre*/
479 /*OUT_PARAM for SMARTPTR pre*/ IntPtr tmp_pNewSurface = pNewSurface == null ? IntPtr.Zero : OdDbSurface.getCPtr(pNewSurface).Handle;
480 IntPtr saved_pNewSurface = tmp_pNewSurface;
481 /*OUT_PARAM for SMARTPTR pre*/
482 try {
483 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbSurface_sliceBySurface(swigCPtr, OdDbSurface.getCPtr(pSlicingSurface), ref tmp_pNegHalfSurface /*OUT_PARAM for SMARTPTR*/, ref tmp_pNewSurface /*OUT_PARAM for SMARTPTR*/);
485 return ret;
486 } finally {
487if(tmp_pNegHalfSurface == IntPtr.Zero) pNegHalfSurface = null;
488 if(tmp_pNegHalfSurface != IntPtr.Zero && tmp_pNegHalfSurface != saved_pNegHalfSurface)
489 {
490 MemoryTransaction mTrans_pNegHalfSurface = MemoryManager.GetMemoryManager().GetCurrentTransaction();
491 if(mTrans_pNegHalfSurface != null)
492 mTrans_pNegHalfSurface.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdDbSurface>(typeof(OdDbSurface), tmp_pNegHalfSurface, true));
493 pNegHalfSurface = Teigha.Core.Helpers.odCreateObjectInternal<OdDbSurface>(typeof(OdDbSurface), tmp_pNegHalfSurface, mTrans_pNegHalfSurface == null);
494 /*OUT_PARAM for SMARTPTR*/
495 }
496if(tmp_pNewSurface == IntPtr.Zero) pNewSurface = null;
497 if(tmp_pNewSurface != IntPtr.Zero && tmp_pNewSurface != saved_pNewSurface)
498 {
499 MemoryTransaction mTrans_pNewSurface = MemoryManager.GetMemoryManager().GetCurrentTransaction();
500 if(mTrans_pNewSurface != null)
501 mTrans_pNewSurface.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdDbSurface>(typeof(OdDbSurface), tmp_pNewSurface, true));
502 pNewSurface = Teigha.Core.Helpers.odCreateObjectInternal<OdDbSurface>(typeof(OdDbSurface), tmp_pNewSurface, mTrans_pNewSurface == null);
503 /*OUT_PARAM for SMARTPTR*/
504 }
505 }
506 }
507
508 public virtual OdResult chamferEdges(OdDbSubentIdArray edgeSubentIds, OdDbSubentId baseFaceSubentId, double baseDist, double otherDist) {
509 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbSurface_chamferEdges(swigCPtr, OdDbSubentIdArray.getCPtr(edgeSubentIds), OdDbSubentId.getCPtr(baseFaceSubentId), baseDist, otherDist);
511 return ret;
512 }
513
514 public virtual OdResult filletEdges(OdDbSubentIdArray edgeSubentIds, OdGeDoubleArray radius, OdGeDoubleArray startSetback, OdGeDoubleArray endSetback) {
517 return ret;
518 }
519
525
531
537
543
549
555
561
562 public virtual new OdResult subGetSubentPathsAtGsMarker(Teigha.Core.SubentType type, IntPtr gsMark, OdGePoint3d pickPoint, OdGeMatrix3d viewXform, OdDbFullSubentPathArray subentPaths, OdDbObjectIdArray pEntAndInsertStack) {
563 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbSurface_subGetSubentPathsAtGsMarker__SWIG_0(swigCPtr, (int)type, gsMark /*SIMPLETYPE*/, OdGePoint3d.getCPtr(pickPoint), OdGeMatrix3d.getCPtr(viewXform), OdDbFullSubentPathArray.getCPtr(subentPaths), OdDbObjectIdArray.getCPtr(pEntAndInsertStack));
565 return ret;
566 }
567
568 public virtual new OdResult subGetSubentPathsAtGsMarker(Teigha.Core.SubentType type, IntPtr gsMark, OdGePoint3d pickPoint, OdGeMatrix3d viewXform, OdDbFullSubentPathArray subentPaths) {
569 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbSurface_subGetSubentPathsAtGsMarker__SWIG_1(swigCPtr, (int)type, gsMark /*SIMPLETYPE*/, OdGePoint3d.getCPtr(pickPoint), OdGeMatrix3d.getCPtr(viewXform), OdDbFullSubentPathArray.getCPtr(subentPaths));
571 return ret;
572 }
573
574 public virtual new OdResult subGetTransformedCopy(OdGeMatrix3d mat, ref OdDbEntity /*OUT_PARAM for SMARTPTR*/ pCopy) {
575 /*OUT_PARAM for SMARTPTR pre*/ IntPtr tmp_pCopy = pCopy == null ? IntPtr.Zero : OdDbEntity.getCPtr(pCopy).Handle;
576 IntPtr saved_pCopy = tmp_pCopy;
577 /*OUT_PARAM for SMARTPTR pre*/
578 try {
579 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbSurface_subGetTransformedCopy(swigCPtr, OdGeMatrix3d.getCPtr(mat), ref tmp_pCopy /*OUT_PARAM for SMARTPTR*/);
581 return ret;
582 } finally {
583if(tmp_pCopy == IntPtr.Zero) pCopy = null;
584 if(tmp_pCopy != IntPtr.Zero && tmp_pCopy != saved_pCopy)
585 {
586 MemoryTransaction mTrans_pCopy = MemoryManager.GetMemoryManager().GetCurrentTransaction();
587 if(mTrans_pCopy != null)
588 mTrans_pCopy.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdDbEntity>(typeof(OdDbEntity), tmp_pCopy, true));
589 pCopy = Teigha.Core.Helpers.odCreateObjectInternal<OdDbEntity>(typeof(OdDbEntity), tmp_pCopy, mTrans_pCopy == null);
590 /*OUT_PARAM for SMARTPTR*/
591 }
592 }
593 }
594
600
601 public override UInt32 subSetAttributes(OdGiDrawableTraits pTraits) {
602// test csout
603 /*SIMPLETYPE*/
606 return ret;
607 }
608
609 public static OdResult trimSurface(OdDbObjectId blankSurfaceId, OdDbObjectIdArray toolIds, OdDbObjectIdArray toolCurveIds, OdGeVector3dArray projVectors, OdGePoint3d pickPoint, OdGeVector3d viewVector, bool bAutoExtend, bool bAssociativeEnabled) {
610 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbSurface_trimSurface(OdDbObjectId.getCPtr(blankSurfaceId), OdDbObjectIdArray.getCPtr(toolIds), OdDbObjectIdArray.getCPtr(toolCurveIds), OdGeVector3dArray.getCPtr(projVectors), OdGePoint3d.getCPtr(pickPoint), OdGeVector3d.getCPtr(viewVector), bAutoExtend, bAssociativeEnabled);
612 return ret;
613 }
614
615 public OdResult projectOnToSurface(OdDbEntity pEntityToProject, OdGeVector3d projectionDirection, OdDbEntityPtrArray projectedEntities) {
616 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbSurface_projectOnToSurface(swigCPtr, OdDbEntity.getCPtr(pEntityToProject), OdGeVector3d.getCPtr(projectionDirection), OdDbEntityPtrArray.getCPtr(projectedEntities));
618 return ret;
619 }
620
621 public OdResult getPerimeter(out double arg0) {
622 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbSurface_getPerimeter(swigCPtr, out arg0);
624 return ret;
625 }
626
627 public OdResult rayTest(OdGePoint3d rayBasePoint, OdGeVector3d rayDir, double rayRadius, OdDbSubentIdArraySt subEntIds, OdGeDoubleArray parameters) {
628 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbSurface_rayTest(swigCPtr, OdGePoint3d.getCPtr(rayBasePoint), OdGeVector3d.getCPtr(rayDir), rayRadius, OdDbSubentIdArraySt.getCPtr(subEntIds), OdGeDoubleArray.getCPtr(parameters));
630 return ret;
631 }
632
633 public static OdResult createOffsetSurface(OdDbEntity pInputSurface, double dOffsetDistance, ref OdDbEntity /*OUT_PARAM for SMARTPTR*/ offsetSurface) {
634 /*OUT_PARAM for SMARTPTR pre*/ IntPtr tmp_offsetSurface = offsetSurface == null ? IntPtr.Zero : OdDbEntity.getCPtr(offsetSurface).Handle;
635 IntPtr saved_offsetSurface = tmp_offsetSurface;
636 /*OUT_PARAM for SMARTPTR pre*/
637 try {
638 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbSurface_createOffsetSurface__SWIG_0(OdDbEntity.getCPtr(pInputSurface), dOffsetDistance, ref tmp_offsetSurface /*OUT_PARAM for SMARTPTR*/);
640 return ret;
641 } finally {
642if(tmp_offsetSurface == IntPtr.Zero) offsetSurface = null;
643 if(tmp_offsetSurface != IntPtr.Zero && tmp_offsetSurface != saved_offsetSurface)
644 {
645 MemoryTransaction mTrans_offsetSurface = MemoryManager.GetMemoryManager().GetCurrentTransaction();
646 if(mTrans_offsetSurface != null)
647 mTrans_offsetSurface.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdDbEntity>(typeof(OdDbEntity), tmp_offsetSurface, true));
648 offsetSurface = Teigha.Core.Helpers.odCreateObjectInternal<OdDbEntity>(typeof(OdDbEntity), tmp_offsetSurface, mTrans_offsetSurface == null);
649 /*OUT_PARAM for SMARTPTR*/
650 }
651 }
652 }
653
654 public static OdResult createOffsetSurface(OdDbEntity pInputSurface, double dOffsetDistance, bool bAssociativeEnabled, OdDbObjectId offsetSurfaceId) {
655 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbSurface_createOffsetSurface__SWIG_1(OdDbEntity.getCPtr(pInputSurface), dOffsetDistance, bAssociativeEnabled, OdDbObjectId.getCPtr(offsetSurfaceId));
657 return ret;
658 }
659
660 public static OdResult createFilletSurface(OdDbObjectId surfId1, OdGePoint3d pickPt1, OdDbObjectId surfId2, OdGePoint3d pickPt2, double dRadius, FilletTrimMode trimMode, OdGeVector3d projDir, ref OdDbSurface /*OUT_PARAM for SMARTPTR*/ filletSurface) {
661 /*OUT_PARAM for SMARTPTR pre*/ IntPtr tmp_filletSurface = filletSurface == null ? IntPtr.Zero : OdDbSurface.getCPtr(filletSurface).Handle;
662 IntPtr saved_filletSurface = tmp_filletSurface;
663 /*OUT_PARAM for SMARTPTR pre*/
664 try {
665 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbSurface_createFilletSurface__SWIG_0(OdDbObjectId.getCPtr(surfId1), OdGePoint3d.getCPtr(pickPt1), OdDbObjectId.getCPtr(surfId2), OdGePoint3d.getCPtr(pickPt2), dRadius, (int)trimMode, OdGeVector3d.getCPtr(projDir), ref tmp_filletSurface /*OUT_PARAM for SMARTPTR*/);
667 return ret;
668 } finally {
669if(tmp_filletSurface == IntPtr.Zero) filletSurface = null;
670 if(tmp_filletSurface != IntPtr.Zero && tmp_filletSurface != saved_filletSurface)
671 {
672 MemoryTransaction mTrans_filletSurface = MemoryManager.GetMemoryManager().GetCurrentTransaction();
673 if(mTrans_filletSurface != null)
674 mTrans_filletSurface.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdDbSurface>(typeof(OdDbSurface), tmp_filletSurface, true));
675 filletSurface = Teigha.Core.Helpers.odCreateObjectInternal<OdDbSurface>(typeof(OdDbSurface), tmp_filletSurface, mTrans_filletSurface == null);
676 /*OUT_PARAM for SMARTPTR*/
677 }
678 }
679 }
680
681 public static OdResult createFilletSurface(OdDbObjectId surfId1, OdGePoint3d pickPt1, OdDbObjectId surfId2, OdGePoint3d pickPt2, double dRadius, FilletTrimMode trimMode, OdGeVector3d projDir, bool bAssociativeEnabled, OdDbObjectId filletSurfaceId) {
682 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbSurface_createFilletSurface__SWIG_1(OdDbObjectId.getCPtr(surfId1), OdGePoint3d.getCPtr(pickPt1), OdDbObjectId.getCPtr(surfId2), OdGePoint3d.getCPtr(pickPt2), dRadius, (int)trimMode, OdGeVector3d.getCPtr(projDir), bAssociativeEnabled, OdDbObjectId.getCPtr(filletSurfaceId));
684 return ret;
685 }
686
687 public static OdResult createExtendSurface(OdDbObjectId sourceSurface, OdDbSubentIdArraySt edgesId, double dExtDist, OdDbSurface.EdgeExtensionType extOption, bool bAssociativeEnabled, OdDbObjectId newExtendSurfaceId) {
688 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbSurface_createExtendSurface(OdDbObjectId.getCPtr(sourceSurface), OdDbSubentIdArraySt.getCPtr(edgesId), dExtDist, (int)extOption, bAssociativeEnabled, OdDbObjectId.getCPtr(newExtendSurfaceId));
690 return ret;
691 }
692
694 /*OUT_PARAM for SMARTPTR pre*/ IntPtr tmp_newSurface = newSurface == null ? IntPtr.Zero : OdDbSurface.getCPtr(newSurface).Handle;
695 IntPtr saved_newSurface = tmp_newSurface;
696 /*OUT_PARAM for SMARTPTR pre*/
697 try {
700 return ret;
701 } finally {
702if(tmp_newSurface == IntPtr.Zero) newSurface = null;
703 if(tmp_newSurface != IntPtr.Zero && tmp_newSurface != saved_newSurface)
704 {
705 MemoryTransaction mTrans_newSurface = MemoryManager.GetMemoryManager().GetCurrentTransaction();
706 if(mTrans_newSurface != null)
707 mTrans_newSurface.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdDbSurface>(typeof(OdDbSurface), tmp_newSurface, true));
708 newSurface = Teigha.Core.Helpers.odCreateObjectInternal<OdDbSurface>(typeof(OdDbSurface), tmp_newSurface, mTrans_newSurface == null);
709 /*OUT_PARAM for SMARTPTR*/
710 }
711 }
712 }
713
714 public OdResult extendEdges(OdDbFullSubentPathArray edgesId, double dExtDist, OdDbSurface.EdgeExtensionType extOption, bool bAssociativeEnabled) {
715 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbSurface_extendEdges(swigCPtr, OdDbFullSubentPathArray.getCPtr(edgesId), dExtDist, (int)extOption, bAssociativeEnabled);
717 return ret;
718 }
719
725
730
735
736 public virtual UInt32 numChanges() {
737// test csout
738 /*SIMPLETYPE*/
739 UInt32 ret = TD_DbPINVOKE.OdDbSurface_numChanges(swigCPtr);
741 return ret;
742 }
743
748
749 protected static string getRealClassName(IntPtr ptr) {
750 string ret = TD_DbPINVOKE.OdDbSurface_getRealClassName(ptr /*SIMPLETYPE*/);
752 return ret;
753 }
754
759 public virtual IntPtr vb_body() { return this.body(); }
760
765 public void vb_gripStatus(Teigha.Core.GripStat status) { this.gripStatus(status); }
766
772
777 public string vb_material() { return this.material(); }
778
783 public virtual Teigha.TD.CollisionType vb_collisionType() { return this.collisionType(); }
784
789 public string vb_linetype() { return this.linetype(); }
790
796
802
803 public enum EdgeExtensionType {
804 kExtendEdge = 0x00,
805 kStretchEdge = 0x01
806 }
807
808}
809
810}
static HandleRef getCPtr(OdBrBrep obj)
Definition OdBrBrep.cs:25
static HandleRef getCPtr(OdDbSubentId obj)
static HandleRef getCPtr(OdGeDoubleArray obj)
static HandleRef getCPtr(OdGeExtents3d obj)
static HandleRef getCPtr(OdGeMatrix3d obj)
static HandleRef getCPtr(OdGePlane obj)
Definition OdGePlane.cs:25
static HandleRef getCPtr(OdGePoint3d obj)
static HandleRef getCPtr(OdGeTrMesh obj)
Definition OdGeTrMesh.cs:25
static HandleRef getCPtr(OdGeVector3dArray obj)
static HandleRef getCPtr(OdGeVector3d obj)
virtual OdGiDrawable.DrawableType drawableType()
static HandleRef getCPtr(OdGiDrawableTraits obj)
static HandleRef getCPtr(OdGiMapper obj)
Definition OdGiMapper.cs:26
static HandleRef getCPtr(OdGiViewportDraw obj)
static HandleRef getCPtr(OdGiWorldDraw obj)
static HandleRef getCPtr(OdGsMarkerArray obj)
static HandleRef getCPtr(OdRxClass obj)
Definition OdRxClass.cs:25
OdRxObject(IntPtr cPtr, bool cMemoryOwn)
Definition OdRxObject.cs:21
static HandleRef getCPtr(OdRxObject obj)
Definition OdRxObject.cs:26
static HandleRef getCPtr(OdRxObjectPtrArray obj)
static HandleRef getCPtr(OdStreamBuf obj)
static HandleRef getCPtr(wrTriangulationParams obj)
static HandleRef getCPtr(OdCmColor obj)
Definition OdCmColor.cs:26
static HandleRef getCPtr(OdDb3dSolid obj)
static HandleRef getCPtr(OdDbDwgFiler obj)
static HandleRef getCPtr(OdDbDxfFiler obj)
LineWeight lineWeight()
virtual CollisionType collisionType()
static HandleRef getCPtr(OdDbEntity obj)
Definition OdDbEntity.cs:26
virtual void gripStatus(GripStat status)
Visibility visibility()
static HandleRef getCPtr(OdDbEntityPtrArray obj)
static HandleRef getCPtr(OdDbFullSubentPathArray obj)
static HandleRef getCPtr(OdDbFullSubentPath obj)
static HandleRef getCPtr(OdDbNurbSurfacePtrArray obj)
static HandleRef getCPtr(OdDbObject obj)
Definition OdDbObject.cs:26
OdDbObject(IntPtr cPtr, bool cMemoryOwn)
Definition OdDbObject.cs:21
static HandleRef getCPtr(OdDbObjectIdArray obj)
static HandleRef getCPtr(OdDbObjectId obj)
static HandleRef getCPtr(OdDbSubentIdArray obj)
static HandleRef getCPtr(OdDbSubentIdArraySt obj)
override void saveAs(OdGiWorldDraw pWd, DwgVersion ver)
virtual new OdDbEntity subSubentPtr(OdDbFullSubentPath id)
virtual IntPtr body()
void vb_gripStatus(Teigha.Core.GripStat status)
OdResult acisIn(OdStreamBuf pStreamBuf, out int pTypeVer)
override OdResult dwgInFields(OdDbDwgFiler pFiler)
override void copyFrom(OdRxObject pSource)
virtual new OdResult subTransformBy(OdGeMatrix3d xfm)
virtual OdResult convertToRegion(OdDbEntityPtrArray regions)
virtual UInt32 numChanges()
virtual OdResult booleanSubtract(OdDb3dSolid pSolid, ref OdDbSurface pNewSurface)
virtual OdResult thicken(double thickness, bool bBothSides, ref OdDb3dSolid pSolid)
virtual new OdResult subExplode(OdRxObjectPtrArray entitySet)
virtual OdResult imprintEntity(OdDbEntity pEntity)
virtual IntPtr vb_body()
virtual OdResult setSubentMaterialMapper(OdDbSubentId subentId, OdGiMapper mapper)
virtual OdResult setBody(IntPtr pGeometry)
virtual OdResult getSubentMaterial(OdDbSubentId subentId, OdDbObjectId matId)
override OdResult subGetClassID(IntPtr pClsid)
override void dwgOutFields(OdDbDwgFiler pFiler)
virtual OdResult filletEdges(OdDbSubentIdArray edgeSubentIds, OdGeDoubleArray radius, OdGeDoubleArray startSetback, OdGeDoubleArray endSetback)
override void subHandOverTo(OdDbObject pNewObject)
static new OdDbSurface createObject()
static string getRealClassName(IntPtr ptr)
virtual OdResult booleanIntersect(OdDb3dSolid pSolid, OdDbEntityPtrArray intersectionEntities)
virtual OdResult getSubentColor(OdDbSubentId subentId, OdCmColor color)
virtual OdResult getArea(out double area)
virtual new OdResult subGetSubentPathsAtGsMarker(Teigha.Core.SubentType type, IntPtr gsMark, OdGePoint3d pickPoint, OdGeMatrix3d viewXform, OdDbFullSubentPathArray subentPaths, OdDbObjectIdArray pEntAndInsertStack)
virtual OdResult chamferEdges(OdDbSubentIdArray edgeSubentIds, OdDbSubentId baseFaceSubentId, double baseDist, double otherDist)
static OdResult createFrom(OdDbEntity pFromEntity, ref OdDbSurface pNewSurface)
static OdResult trimSurface(OdDbObjectId blankSurfaceId, OdDbObjectIdArray toolIds, OdDbObjectIdArray toolCurveIds, OdGeVector3dArray projVectors, OdGePoint3d pickPoint, OdGeVector3d viewVector, bool bAutoExtend, bool bAssociativeEnabled)
Teigha.TD.Visibility vb_visibility()
virtual OdResult booleanIntersect(OdDbSurface pSurface, OdDbEntityPtrArray intersectionEntities)
virtual UInt16 uIsolineDensity()
override UInt32 subSetAttributes(OdGiDrawableTraits pTraits)
virtual void setVIsolineDensity(UInt16 numIsolines)
OdDbSurface(IntPtr cPtr, bool cMemoryOwn)
override OdRxObject queryX(OdRxClass protocolClass)
virtual Teigha.TD.CollisionType vb_collisionType()
virtual IntPtr internalSubentPtr(OdDbSubentId id)
virtual OdResult convertToNurbSurface(OdDbNurbSurfacePtrArray nurbSurfaceArray)
virtual new OdResult subGetGeomExtents(OdGeExtents3d extents)
static OdResult createFilletSurface(OdDbObjectId surfId1, OdGePoint3d pickPt1, OdDbObjectId surfId2, OdGePoint3d pickPt2, double dRadius, FilletTrimMode trimMode, OdGeVector3d projDir, bool bAssociativeEnabled, OdDbObjectId filletSurfaceId)
override OdDbObject decomposeForSave(DwgVersion ver, OdDbObjectId replaceId, out bool exchangeXData)
OdResult getPerimeter(out double arg0)
void brep(OdBrBrep brep)
static OdResult createNetworkSurface(SWIGTYPE_p_OdArrayT_OdSmartPtrT_OdDb3dProfile_t_t uProfiles, SWIGTYPE_p_OdArrayT_OdSmartPtrT_OdDb3dProfile_t_t vProfiles, ref OdDbSurface newSurface)
static OdResult createOffsetSurface(OdDbEntity pInputSurface, double dOffsetDistance, ref OdDbEntity offsetSurface)
static OdDbSurface cast(OdRxObject pObj)
OdResult projectOnToSurface(OdDbEntity pEntityToProject, OdGeVector3d projectionDirection, OdDbEntityPtrArray projectedEntities)
virtual new OdResult subGetGsMarkersAtSubentPath(OdDbFullSubentPath subPath, OdGsMarkerArray gsMarkers)
OdResult rayTest(OdGePoint3d rayBasePoint, OdGeVector3d rayDir, double rayRadius, OdDbSubentIdArraySt subEntIds, OdGeDoubleArray parameters)
override void Dispose(bool disposing)
virtual OdResult createSectionObjects(OdGePlane sectionPlane, OdDbEntityPtrArray sectionObjects)
OdResult acisOut(OdStreamBuf pStreamBuf, int typeVer)
Teigha.Core.LineWeight vb_lineWeight()
override void subViewportDraw(OdGiViewportDraw pVd)
virtual new OdResult subGetTransformedCopy(OdGeMatrix3d mat, ref OdDbEntity pCopy)
static new OdRxClass desc()
virtual new OdResult subGetSubentPathsAtGsMarker(Teigha.Core.SubentType type, IntPtr gsMark, OdGePoint3d pickPoint, OdGeMatrix3d viewXform, OdDbFullSubentPathArray subentPaths)
virtual OdResult sliceByPlane(OdGePlane slicePlane, ref OdDbSurface pNegHalfSurface, ref OdDbSurface pNewSurface)
override void dxfOutFields(OdDbDxfFiler pFiler)
virtual OdResult getSubentMaterialMapper(OdDbSubentId subentId, OdGiMapper mapper)
override OdResult dxfInFields(OdDbDxfFiler pFiler)
static OdResult createOffsetSurface(OdDbEntity pInputSurface, double dOffsetDistance, bool bAssociativeEnabled, OdDbObjectId offsetSurfaceId)
static OdResult createExtendSurface(OdDbObjectId sourceSurface, OdDbSubentIdArraySt edgesId, double dExtDist, OdDbSurface.EdgeExtensionType extOption, bool bAssociativeEnabled, OdDbObjectId newExtendSurfaceId)
virtual OdResult booleanSubtract(OdDbSurface pSurface, ref OdDbSurface pNewSurface)
virtual OdDbSubentId internalSubentId(IntPtr ent)
static HandleRef getCPtr(OdDbSurface obj)
OdResult extendEdges(OdDbFullSubentPathArray edgesId, double dExtDist, OdDbSurface.EdgeExtensionType extOption, bool bAssociativeEnabled)
virtual UInt16 vIsolineDensity()
virtual OdResult booleanUnion(OdDbSurface pSurface, ref OdDbSurface pNewSurface)
override void subClose()
virtual OdResult setSubentColor(OdDbSubentId subentId, OdCmColor color)
override OdRxClass isA()
OdResult acisOut(OdStreamBuf pStreamBuf)
OdResult acisIn(OdStreamBuf pStreamBuf)
virtual Teigha.Core.OdGiDrawable.DrawableType vb_drawableType()
static OdResult createFilletSurface(OdDbObjectId surfId1, OdGePoint3d pickPt1, OdDbObjectId surfId2, OdGePoint3d pickPt2, double dRadius, FilletTrimMode trimMode, OdGeVector3d projDir, ref OdDbSurface filletSurface)
bool getFaceMesh(OdGeTrMesh mesh, IntPtr iFace, wrTriangulationParams triangulationParams)
override bool subWorldDraw(OdGiWorldDraw pWd)
virtual void setUIsolineDensity(UInt16 numIsolines)
virtual OdResult setSubentMaterial(OdDbSubentId subentId, OdDbObjectId matId)
virtual OdResult sliceBySurface(OdDbSurface pSlicingSurface, ref OdDbSurface pNegHalfSurface, ref OdDbSurface pNewSurface)
virtual OdResult createInterferenceObjects(OdDbEntityPtrArray interferenceObjects, OdDbEntity pEntity, uint flags)
static global::System.Exception Retrieve()
static int OdDbSurface_getSubentMaterialMapper(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDbSurface_booleanIntersect__SWIG_1(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDbSurface_convertToNurbSurface(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdDbSurface_booleanUnion(HandleRef jarg1, HandleRef jarg2, ref IntPtr jarg3)
static int OdDbSurface_subGetSubentPathsAtGsMarker__SWIG_0(HandleRef jarg1, int jarg2, IntPtr jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7)
static bool OdDbSurface_subWorldDraw(HandleRef jarg1, HandleRef jarg2)
static int OdDbSurface_subExplode(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdDbSurface_createInterferenceObjects(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, HandleRef jarg3, uint jarg4)
static void delete_OdDbSurface(HandleRef jarg1)
static int OdDbSurface_setSubentMaterialMapper(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static IntPtr OdDbSurface_createObject()
static int OdDbSurface_extendEdges(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, double jarg3, int jarg4, bool jarg5)
static int OdDbSurface_acisOut__SWIG_0(HandleRef jarg1, HandleRef jarg2, int jarg3)
static int OdDbSurface_acisOut__SWIG_1(HandleRef jarg1, HandleRef jarg2)
static UInt32 OdDbSurface_subSetAttributes(HandleRef jarg1, HandleRef jarg2)
static int OdDbSurface_dxfInFields(HandleRef jarg1, HandleRef jarg2)
static int OdDbSurface_acisIn__SWIG_0(HandleRef jarg1, HandleRef jarg2, out int jarg3)
static int OdDbSurface_imprintEntity(HandleRef jarg1, HandleRef jarg2)
static int OdDbSurface_subGetClassID(HandleRef jarg1, IntPtr jarg2)
static void OdDbSurface_subHandOverTo(HandleRef jarg1, HandleRef jarg2)
static IntPtr OdDbSurface_cast(HandleRef jarg1)
static int OdDbSurface_projectOnToSurface(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static int OdDbSurface_getSubentColor(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void OdDbSurface_dwgOutFields(HandleRef jarg1, HandleRef jarg2)
static global::System.IntPtr OdDbSurface_internalSubentId(HandleRef jarg1, IntPtr jarg2)
static void OdDbSurface_dxfOutFields(HandleRef jarg1, HandleRef jarg2)
static int OdDbSurface_acisIn__SWIG_1(HandleRef jarg1, HandleRef jarg2)
static int OdDbSurface_subTransformBy(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdDbSurface_subGetSubentPathsAtGsMarker__SWIG_1(HandleRef jarg1, int jarg2, IntPtr jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6)
static int OdDbSurface_sliceBySurface(HandleRef jarg1, HandleRef jarg2, ref IntPtr jarg3, ref IntPtr jarg4)
static int OdDbSurface_filletEdges(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 int OdDbSurface_createOffsetSurface__SWIG_1(HandleRef jarg1, double jarg2, bool jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static int OdDbSurface_setSubentMaterial(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void OdDbSurface_copyFrom(HandleRef jarg1, HandleRef jarg2)
static void OdDbSurface_subClose(HandleRef jarg1)
static bool OdDbSurface_getFaceMesh(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, IntPtr jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static void OdDbSurface_setVIsolineDensity(HandleRef jarg1, UInt16 jarg2)
static int OdDbSurface_convertToRegion(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdDbSurface_subViewportDraw(HandleRef jarg1, HandleRef jarg2)
static string OdDbSurface_getRealClassName(IntPtr jarg1)
static bool OdDbSurface_isNull(HandleRef jarg1)
static IntPtr OdDbSurface_internalSubentPtr(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdDbSurface_subGetTransformedCopy(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, ref IntPtr jarg3)
static int OdDbSurface_createSectionObjects(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static IntPtr OdDbSurface_body(HandleRef jarg1)
static int OdDbSurface_dwgInFields(HandleRef jarg1, HandleRef jarg2)
static int OdDbSurface_thicken(HandleRef jarg1, double jarg2, bool jarg3, ref IntPtr jarg4)
static void OdDbSurface_brep(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdDbSurface_trimSurface(global::System.Runtime.InteropServices.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, global::System.Runtime.InteropServices.HandleRef jarg6, bool jarg7, bool jarg8)
static int OdDbSurface_createFilletSurface__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, double jarg5, int jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, bool jarg8, global::System.Runtime.InteropServices.HandleRef jarg9)
static UInt16 OdDbSurface_uIsolineDensity(HandleRef jarg1)
static int OdDbSurface_createOffsetSurface__SWIG_0(HandleRef jarg1, double jarg2, ref IntPtr jarg3)
static IntPtr OdDbSurface_decomposeForSave(HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, out bool jarg4)
static UInt32 OdDbSurface_numChanges(HandleRef jarg1)
static int OdDbSurface_getArea(HandleRef jarg1, out double jarg2)
static int OdDbSurface_getSubentMaterial(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDbSurface_subGetGsMarkersAtSubentPath(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static IntPtr OdDbSurface_desc()
static int OdDbSurface_sliceByPlane(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, ref IntPtr jarg3, ref IntPtr jarg4)
static int OdDbSurface_rayTest(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, double jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6)
static int OdDbSurface_createNetworkSurface(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, ref IntPtr jarg3)
static IntPtr OdDbSurface_queryX(HandleRef jarg1, HandleRef jarg2)
static int OdDbSurface_booleanSubtract__SWIG_0(HandleRef jarg1, HandleRef jarg2, ref IntPtr jarg3)
static IntPtr OdDbSurface_subSubentPtr(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdDbSurface_isA(HandleRef jarg1)
static int OdDbSurface_createFrom(HandleRef jarg1, ref IntPtr jarg2)
static int OdDbSurface_setSubentColor(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDbSurface_setBody(HandleRef jarg1, IntPtr jarg2)
static int OdDbSurface_getPerimeter(HandleRef jarg1, out double jarg2)
static UInt16 OdDbSurface_vIsolineDensity(HandleRef jarg1)
static void OdDbSurface_setUIsolineDensity(HandleRef jarg1, UInt16 jarg2)
static int OdDbSurface_chamferEdges(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, double jarg4, double jarg5)
static void OdDbSurface_saveAs(HandleRef jarg1, HandleRef jarg2, int jarg3)
static int OdDbSurface_booleanSubtract__SWIG_1(HandleRef jarg1, HandleRef jarg2, ref IntPtr jarg3)
static int OdDbSurface_createExtendSurface(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, double jarg3, int jarg4, bool jarg5, global::System.Runtime.InteropServices.HandleRef jarg6)
static int OdDbSurface_createFilletSurface__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, int jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, ref IntPtr jarg8)
static int OdDbSurface_subGetGeomExtents(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdDbSurface_booleanIntersect__SWIG_0(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)