Extended .NET SDK Documentation 2024 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 /*SIMPLETYPE*/ 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 /*SIMPLETYPE*/ 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
154 return ret;
155 }
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
196 public OdResult acisOut(OdStreamBuf pStreamBuf) {
199 return ret;
200 }
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
208 public OdResult acisIn(OdStreamBuf pStreamBuf) {
211 return ret;
212 }
213
214 public void brep(OdBrBrep brep) {
217 }
218
219 public bool getFaceMesh(OdGeTrMesh mesh, IntPtr /*SIMPLETYPE*/ 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
245 public virtual new OdResult subExplode(OdRxObjectPtrArray entitySet) {
248 return ret;
249 }
250
251 public virtual new OdResult subTransformBy(OdGeMatrix3d xfm) {
254 return ret;
255 }
256
257 public override void saveAs(OdGiWorldDraw pWd, DwgVersion ver) {
258 TD_DbPINVOKE.OdDbSurface_saveAs(swigCPtr, OdGiWorldDraw.getCPtr(pWd), (int)ver);
260 }
261
262 public virtual OdResult setBody(IntPtr /*SIMPLETYPE*/ 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
276 public override OdResult dwgInFields(OdDbDwgFiler pFiler) {
279 return ret;
280 }
281
282 public override void dwgOutFields(OdDbDwgFiler pFiler) {
285 }
286
287 public override OdResult dxfInFields(OdDbDxfFiler pFiler) {
290 return ret;
291 }
292
293 public override void dxfOutFields(OdDbDxfFiler pFiler) {
296 }
297
298 public override bool subWorldDraw(OdGiWorldDraw pWd) {
301 return ret;
302 }
303
304 public override void subViewportDraw(OdGiViewportDraw pVd) {
307 }
308
309 public override OdResult subGetClassID(IntPtr /*SIMPLETYPE*/ pClsid) {
310 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbSurface_subGetClassID(swigCPtr, pClsid /*SIMPLETYPE*/);
312 return ret;
313 }
314
315 public virtual OdDbSubentId internalSubentId(IntPtr /*SIMPLETYPE*/ 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
424 public virtual OdResult booleanIntersect(OdDb3dSolid pSolid, OdDbEntityPtrArray intersectionEntities) {
427 return ret;
428 }
429
430 public virtual OdResult imprintEntity(OdDbEntity pEntity) {
433 return ret;
434 }
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
523 return ret;
524 }
525
529 return ret;
530 }
531
532 public virtual OdResult setSubentMaterial(OdDbSubentId subentId, OdDbObjectId matId) {
535 return ret;
536 }
537
538 public virtual OdResult getSubentMaterial(OdDbSubentId subentId, OdDbObjectId matId) {
541 return ret;
542 }
543
544 public virtual OdResult setSubentMaterialMapper(OdDbSubentId subentId, OdGiMapper mapper) {
547 return ret;
548 }
549
550 public virtual OdResult getSubentMaterialMapper(OdDbSubentId subentId, OdGiMapper mapper) {
553 return ret;
554 }
555
559 return ret;
560 }
561
562 public virtual new OdResult subGetSubentPathsAtGsMarker(Teigha.Core.SubentType type, IntPtr /*SIMPLETYPE*/ 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 /*SIMPLETYPE*/ 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
595 public virtual OdResult convertToNurbSurface(OdDbNurbSurfacePtrArray nurbSurfaceArray) {
598 return ret;
599 }
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, OdDbSurface filletSurface) {
661 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), filletSurface);
663 return ret;
664 }
665
666 public static OdResult createFilletSurface(OdDbObjectId surfId1, OdGePoint3d pickPt1, OdDbObjectId surfId2, OdGePoint3d pickPt2, double dRadius, FilletTrimMode trimMode, OdGeVector3d projDir, bool bAssociativeEnabled, OdDbObjectId filletSurfaceId) {
667 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));
669 return ret;
670 }
671
672 public static OdResult createExtendSurface(OdDbObjectId sourceSurface, OdDbSubentIdArraySt edgesId, double dExtDist, EdgeExtensionType extOption, bool bAssociativeEnabled, OdDbObjectId newExtendSurfaceId) {
673 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbSurface_createExtendSurface(OdDbObjectId.getCPtr(sourceSurface), OdDbSubentIdArraySt.getCPtr(edgesId), dExtDist, (int)extOption, bAssociativeEnabled, OdDbObjectId.getCPtr(newExtendSurfaceId));
675 return ret;
676 }
677
678 public OdResult extendEdges(OdDbFullSubentPathArray edgesId, double dExtDist, EdgeExtensionType extOption, bool bAssociativeEnabled) {
679 OdResult ret = (OdResult)TD_DbPINVOKE.OdDbSurface_extendEdges(swigCPtr, OdDbFullSubentPathArray.getCPtr(edgesId), dExtDist, (int)extOption, bAssociativeEnabled);
681 return ret;
682 }
683
684 public virtual new OdResult subGetGeomExtents(OdGeExtents3d extents) {
687 return ret;
688 }
689
690 public override void subHandOverTo(OdDbObject pNewObject) {
693 }
694
695 public override void subClose() {
698 }
699
700 public virtual UInt32 numChanges() {
701// test csout
702 /*SIMPLETYPE*/
703 UInt32 ret = TD_DbPINVOKE.OdDbSurface_numChanges(swigCPtr);
705 return ret;
706 }
707
708 public override void copyFrom(OdRxObject pSource) {
711 }
712
713 protected static string getRealClassName(IntPtr /*SIMPLETYPE*/ ptr) {
714 string ret = TD_DbPINVOKE.OdDbSurface_getRealClassName(ptr /*SIMPLETYPE*/);
716 return ret;
717 }
718
723 public virtual IntPtr vb_body() { return this.body(); }
724
729 public void vb_gripStatus(Teigha.Core.GripStat status) { this.gripStatus(status); }
730
736
741 public string vb_material() { return this.material(); }
742
747 public virtual Teigha.TD.CollisionType vb_collisionType() { return this.collisionType(); }
748
753 public string vb_linetype() { return this.linetype(); }
754
760
766
767}
768
769}
static HandleRef getCPtr(OdBrBrep obj)
Definition: OdBrBrep.cs:25
static HandleRef getCPtr(OdDbSubentId obj)
Definition: OdDbSubentId.cs:26
static HandleRef getCPtr(OdGeDoubleArray obj)
static HandleRef getCPtr(OdGeExtents3d obj)
static HandleRef getCPtr(OdGeMatrix3d obj)
Definition: OdGeMatrix3d.cs:26
static HandleRef getCPtr(OdGePlane obj)
Definition: OdGePlane.cs:25
static HandleRef getCPtr(OdGePoint3d obj)
Definition: OdGePoint3d.cs:26
static HandleRef getCPtr(OdGeTrMesh obj)
Definition: OdGeTrMesh.cs:25
static HandleRef getCPtr(OdGeVector3dArray obj)
static HandleRef getCPtr(OdGeVector3d obj)
Definition: OdGeVector3d.cs:26
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
static HandleRef getCPtr(OdRxObject obj)
Definition: OdRxObject.cs:26
static HandleRef getCPtr(OdRxObjectPtrArray obj)
static HandleRef getCPtr(OdStreamBuf obj)
Definition: OdStreamBuf.cs:25
static HandleRef getCPtr(wrTriangulationParams obj)
static HandleRef getCPtr(OdCmColor obj)
Definition: OdCmColor.cs:26
static HandleRef getCPtr(OdDb3dSolid obj)
Definition: OdDb3dSolid.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
static HandleRef getCPtr(OdDbEntity obj)
Definition: OdDbEntity.cs:26
virtual void gripStatus(GripStat status)
Definition: OdDbEntity.cs:935
OdCmColor color()
Definition: OdDbEntity.cs:136
Visibility visibility()
Definition: OdDbEntity.cs:527
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
static HandleRef getCPtr(OdDbObjectIdArray obj)
static HandleRef getCPtr(OdDbObjectId obj)
Definition: OdDbObjectId.cs:27
static HandleRef getCPtr(OdDbSubentIdArray obj)
static HandleRef getCPtr(OdDbSubentIdArraySt obj)
override void saveAs(OdGiWorldDraw pWd, DwgVersion ver)
Definition: OdDbSurface.cs:257
virtual new OdDbEntity subSubentPtr(OdDbFullSubentPath id)
Definition: OdDbSurface.cs:329
virtual IntPtr body()
Definition: OdDbSurface.cs:268
void vb_gripStatus(Teigha.Core.GripStat status)
Definition: OdDbSurface.cs:729
OdResult acisIn(OdStreamBuf pStreamBuf, out int pTypeVer)
Definition: OdDbSurface.cs:202
override OdResult dwgInFields(OdDbDwgFiler pFiler)
Definition: OdDbSurface.cs:276
override void copyFrom(OdRxObject pSource)
Definition: OdDbSurface.cs:708
virtual new OdResult subTransformBy(OdGeMatrix3d xfm)
Definition: OdDbSurface.cs:251
virtual OdResult convertToRegion(OdDbEntityPtrArray regions)
Definition: OdDbSurface.cs:151
virtual UInt32 numChanges()
Definition: OdDbSurface.cs:700
virtual OdResult booleanSubtract(OdDb3dSolid pSolid, ref OdDbSurface pNewSurface)
Definition: OdDbSurface.cs:397
virtual OdResult thicken(double thickness, bool bBothSides, ref OdDb3dSolid pSolid)
Definition: OdDbSurface.cs:157
virtual new OdResult subExplode(OdRxObjectPtrArray entitySet)
Definition: OdDbSurface.cs:245
virtual OdResult imprintEntity(OdDbEntity pEntity)
Definition: OdDbSurface.cs:430
virtual IntPtr vb_body()
Definition: OdDbSurface.cs:723
virtual OdResult setSubentMaterialMapper(OdDbSubentId subentId, OdGiMapper mapper)
Definition: OdDbSurface.cs:544
virtual OdResult setBody(IntPtr pGeometry)
Definition: OdDbSurface.cs:262
virtual OdResult getSubentMaterial(OdDbSubentId subentId, OdDbObjectId matId)
Definition: OdDbSurface.cs:538
override OdResult subGetClassID(IntPtr pClsid)
Definition: OdDbSurface.cs:309
override void dwgOutFields(OdDbDwgFiler pFiler)
Definition: OdDbSurface.cs:282
virtual OdResult filletEdges(OdDbSubentIdArray edgeSubentIds, OdGeDoubleArray radius, OdGeDoubleArray startSetback, OdGeDoubleArray endSetback)
Definition: OdDbSurface.cs:514
override void subHandOverTo(OdDbObject pNewObject)
Definition: OdDbSurface.cs:690
static new OdDbSurface createObject()
Definition: OdDbSurface.cs:84
static string getRealClassName(IntPtr ptr)
Definition: OdDbSurface.cs:713
virtual OdResult booleanIntersect(OdDb3dSolid pSolid, OdDbEntityPtrArray intersectionEntities)
Definition: OdDbSurface.cs:424
virtual OdResult getSubentColor(OdDbSubentId subentId, OdCmColor color)
Definition: OdDbSurface.cs:526
virtual OdResult getArea(out double area)
Definition: OdDbSurface.cs:178
virtual new OdResult subGetSubentPathsAtGsMarker(Teigha.Core.SubentType type, IntPtr gsMark, OdGePoint3d pickPoint, OdGeMatrix3d viewXform, OdDbFullSubentPathArray subentPaths, OdDbObjectIdArray pEntAndInsertStack)
Definition: OdDbSurface.cs:562
virtual OdResult chamferEdges(OdDbSubentIdArray edgeSubentIds, OdDbSubentId baseFaceSubentId, double baseDist, double otherDist)
Definition: OdDbSurface.cs:508
static OdResult createFrom(OdDbEntity pFromEntity, ref OdDbSurface pNewSurface)
Definition: OdDbSurface.cs:130
static OdResult trimSurface(OdDbObjectId blankSurfaceId, OdDbObjectIdArray toolIds, OdDbObjectIdArray toolCurveIds, OdGeVector3dArray projVectors, OdGePoint3d pickPoint, OdGeVector3d viewVector, bool bAutoExtend, bool bAssociativeEnabled)
Definition: OdDbSurface.cs:609
Teigha.TD.Visibility vb_visibility()
Definition: OdDbSurface.cs:735
static OdResult createExtendSurface(OdDbObjectId sourceSurface, OdDbSubentIdArraySt edgesId, double dExtDist, EdgeExtensionType extOption, bool bAssociativeEnabled, OdDbObjectId newExtendSurfaceId)
Definition: OdDbSurface.cs:672
virtual OdResult booleanIntersect(OdDbSurface pSurface, OdDbEntityPtrArray intersectionEntities)
Definition: OdDbSurface.cs:418
virtual UInt16 uIsolineDensity()
Definition: OdDbSurface.cs:104
override UInt32 subSetAttributes(OdGiDrawableTraits pTraits)
Definition: OdDbSurface.cs:601
virtual void setVIsolineDensity(UInt16 numIsolines)
Definition: OdDbSurface.cs:125
OdDbSurface(IntPtr cPtr, bool cMemoryOwn)
Definition: OdDbSurface.cs:21
override OdRxObject queryX(OdRxClass protocolClass)
Definition: OdDbSurface.cs:77
virtual Teigha.TD.CollisionType vb_collisionType()
Definition: OdDbSurface.cs:747
virtual IntPtr internalSubentPtr(OdDbSubentId id)
Definition: OdDbSurface.cs:321
virtual OdResult convertToNurbSurface(OdDbNurbSurfacePtrArray nurbSurfaceArray)
Definition: OdDbSurface.cs:595
virtual new OdResult subGetGeomExtents(OdGeExtents3d extents)
Definition: OdDbSurface.cs:684
static OdResult createFilletSurface(OdDbObjectId surfId1, OdGePoint3d pickPt1, OdDbObjectId surfId2, OdGePoint3d pickPt2, double dRadius, FilletTrimMode trimMode, OdGeVector3d projDir, bool bAssociativeEnabled, OdDbObjectId filletSurfaceId)
Definition: OdDbSurface.cs:666
override OdDbObject decomposeForSave(DwgVersion ver, OdDbObjectId replaceId, out bool exchangeXData)
Definition: OdDbSurface.cs:225
OdResult getPerimeter(out double arg0)
Definition: OdDbSurface.cs:621
void brep(OdBrBrep brep)
Definition: OdDbSurface.cs:214
static OdResult createOffsetSurface(OdDbEntity pInputSurface, double dOffsetDistance, ref OdDbEntity offsetSurface)
Definition: OdDbSurface.cs:633
static OdDbSurface cast(OdRxObject pObj)
Definition: OdDbSurface.cs:43
OdResult projectOnToSurface(OdDbEntity pEntityToProject, OdGeVector3d projectionDirection, OdDbEntityPtrArray projectedEntities)
Definition: OdDbSurface.cs:615
virtual new OdResult subGetGsMarkersAtSubentPath(OdDbFullSubentPath subPath, OdGsMarkerArray gsMarkers)
Definition: OdDbSurface.cs:556
OdResult rayTest(OdGePoint3d rayBasePoint, OdGeVector3d rayDir, double rayRadius, OdDbSubentIdArraySt subEntIds, OdGeDoubleArray parameters)
Definition: OdDbSurface.cs:627
override void Dispose(bool disposing)
Definition: OdDbSurface.cs:30
virtual OdResult createSectionObjects(OdGePlane sectionPlane, OdDbEntityPtrArray sectionObjects)
Definition: OdDbSurface.cs:436
OdResult acisOut(OdStreamBuf pStreamBuf, int typeVer)
Definition: OdDbSurface.cs:190
Teigha.Core.LineWeight vb_lineWeight()
Definition: OdDbSurface.cs:759
override void subViewportDraw(OdGiViewportDraw pVd)
Definition: OdDbSurface.cs:304
virtual new OdResult subGetTransformedCopy(OdGeMatrix3d mat, ref OdDbEntity pCopy)
Definition: OdDbSurface.cs:574
static new OdRxClass desc()
Definition: OdDbSurface.cs:63
virtual new OdResult subGetSubentPathsAtGsMarker(Teigha.Core.SubentType type, IntPtr gsMark, OdGePoint3d pickPoint, OdGeMatrix3d viewXform, OdDbFullSubentPathArray subentPaths)
Definition: OdDbSurface.cs:568
virtual OdResult sliceByPlane(OdGePlane slicePlane, ref OdDbSurface pNegHalfSurface, ref OdDbSurface pNewSurface)
Definition: OdDbSurface.cs:442
override void dxfOutFields(OdDbDxfFiler pFiler)
Definition: OdDbSurface.cs:293
virtual OdResult getSubentMaterialMapper(OdDbSubentId subentId, OdGiMapper mapper)
Definition: OdDbSurface.cs:550
override OdResult dxfInFields(OdDbDxfFiler pFiler)
Definition: OdDbSurface.cs:287
static OdResult createOffsetSurface(OdDbEntity pInputSurface, double dOffsetDistance, bool bAssociativeEnabled, OdDbObjectId offsetSurfaceId)
Definition: OdDbSurface.cs:654
virtual OdResult booleanSubtract(OdDbSurface pSurface, ref OdDbSurface pNewSurface)
Definition: OdDbSurface.cs:376
virtual OdDbSubentId internalSubentId(IntPtr ent)
Definition: OdDbSurface.cs:315
static HandleRef getCPtr(OdDbSurface obj)
Definition: OdDbSurface.cs:26
virtual UInt16 vIsolineDensity()
Definition: OdDbSurface.cs:117
virtual OdResult booleanUnion(OdDbSurface pSurface, ref OdDbSurface pNewSurface)
Definition: OdDbSurface.cs:355
static OdResult createFilletSurface(OdDbObjectId surfId1, OdGePoint3d pickPt1, OdDbObjectId surfId2, OdGePoint3d pickPt2, double dRadius, FilletTrimMode trimMode, OdGeVector3d projDir, OdDbSurface filletSurface)
Definition: OdDbSurface.cs:660
override void subClose()
Definition: OdDbSurface.cs:695
virtual OdResult setSubentColor(OdDbSubentId subentId, OdCmColor color)
Definition: OdDbSurface.cs:520
override OdRxClass isA()
Definition: OdDbSurface.cs:70
OdResult extendEdges(OdDbFullSubentPathArray edgesId, double dExtDist, EdgeExtensionType extOption, bool bAssociativeEnabled)
Definition: OdDbSurface.cs:678
OdResult acisOut(OdStreamBuf pStreamBuf)
Definition: OdDbSurface.cs:196
OdResult acisIn(OdStreamBuf pStreamBuf)
Definition: OdDbSurface.cs:208
virtual Teigha.Core.OdGiDrawable.DrawableType vb_drawableType()
Definition: OdDbSurface.cs:765
bool getFaceMesh(OdGeTrMesh mesh, IntPtr iFace, wrTriangulationParams triangulationParams)
Definition: OdDbSurface.cs:219
override bool subWorldDraw(OdGiWorldDraw pWd)
Definition: OdDbSurface.cs:298
virtual void setUIsolineDensity(UInt16 numIsolines)
Definition: OdDbSurface.cs:112
virtual OdResult setSubentMaterial(OdDbSubentId subentId, OdDbObjectId matId)
Definition: OdDbSurface.cs:532
virtual OdResult sliceBySurface(OdDbSurface pSlicingSurface, ref OdDbSurface pNegHalfSurface, ref OdDbSurface pNewSurface)
Definition: OdDbSurface.cs:475
virtual OdResult createInterferenceObjects(OdDbEntityPtrArray interferenceObjects, OdDbEntity pEntity, uint flags)
Definition: OdDbSurface.cs:349
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_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, OdDbSurface jarg8)
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 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_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)