Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdDb3dSolid.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 OdDb3dSolid : OdDbEntity {
18 private Object locker = new Object();
19 private HandleRef swigCPtr;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
21 public OdDb3dSolid(IntPtr cPtr, bool cMemoryOwn) : base(TD_DbPINVOKE.OdDb3dSolid_SWIGUpcast(cPtr), cMemoryOwn) {
22 swigCPtr = new HandleRef(this, cPtr);
23 }
24
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 public static HandleRef getCPtr(OdDb3dSolid 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 OdDb3dSolid cast(OdRxObject pObj) {// OdSmartPtr<OdDb3dSolid>
44 MemoryManager mMan = MemoryManager.GetMemoryManager();
45 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
47
48 OdDb3dSolid ret = null;
49 if (null != mTrans)
50 {
51 mTrans.AddObject((OdDb3dSolid)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDb3dSolid),ptr, true));
52 ret = (OdDb3dSolid)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDb3dSolid),ptr, false);
53 }
54 else
55 {
56 ret = (OdDb3dSolid)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDb3dSolid),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.OdDb3dSolid_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.OdDb3dSolid_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.OdDb3dSolid_queryX(swigCPtr, OdRxClass.getCPtr(protocolClass)),false); /*createInt 3_2*/
79
81 return ret;
82}
83
84 public new static OdDb3dSolid createObject() {// OdSmartPtr<OdDb3dSolid>
85 MemoryManager mMan = MemoryManager.GetMemoryManager();
86 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
88
89 OdDb3dSolid ret = null;
90 if (null != mTrans)
91 {
92 mTrans.AddObject((OdDb3dSolid)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDb3dSolid),ptr, true));
93 ret = (OdDb3dSolid)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDb3dSolid),ptr, false);
94 }
95 else
96 {
97 ret = (OdDb3dSolid)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDb3dSolid),ptr, true);
98 }
99
101 return ret;
102}
103
104 public bool isNull() {
105 bool ret = TD_DbPINVOKE.OdDb3dSolid_isNull(swigCPtr);
107 return ret;
108 }
109
110 public OdResult acisOut(OdStreamBuf pStreamBuf, int typeVer) {
111 OdResult ret = (OdResult)TD_DbPINVOKE.OdDb3dSolid_acisOut__SWIG_0(swigCPtr, OdStreamBuf.getCPtr(pStreamBuf), typeVer);
113 return ret;
114 }
115
116 public OdResult acisOut(OdStreamBuf pStreamBuf) {
119 return ret;
120 }
121
122 public OdResult acisIn(OdStreamBuf pStreamBuf, out int pTypeVer) {
123 OdResult ret = (OdResult)TD_DbPINVOKE.OdDb3dSolid_acisIn__SWIG_0(swigCPtr, OdStreamBuf.getCPtr(pStreamBuf), out pTypeVer);
125 return ret;
126 }
127
128 public OdResult acisIn(OdStreamBuf pStreamBuf) {
131 return ret;
132 }
133
134 public void brep(OdBrBrep brep) {
137 }
138
139 public bool getFaceMesh(OdGeTrMesh mesh, IntPtr /*SIMPLETYPE*/ iFace, wrTriangulationParams triangulationParams) {
140 bool ret = TD_DbPINVOKE.OdDb3dSolid_getFaceMesh(swigCPtr, OdGeTrMesh.getCPtr(mesh), iFace /*SIMPLETYPE*/, wrTriangulationParams.getCPtr(triangulationParams));
142 return ret;
143 }
144
145 public override bool subWorldDraw(OdGiWorldDraw pWd) {
148 return ret;
149 }
150
151 public override void subViewportDraw(OdGiViewportDraw pVd) {
154 }
155
156 public override OdResult dwgInFields(OdDbDwgFiler pFiler) {
159 return ret;
160 }
161
162 public override void dwgOutFields(OdDbDwgFiler pFiler) {
165 }
166
167 public override OdResult dxfInFields(OdDbDxfFiler pFiler) {
170 return ret;
171 }
172
173 public override void dxfOutFields(OdDbDxfFiler pFiler) {
176 }
177
178 public override OdResult subGetClassID(IntPtr /*SIMPLETYPE*/ pClsid) {
179 OdResult ret = (OdResult)TD_DbPINVOKE.OdDb3dSolid_subGetClassID(swigCPtr, pClsid /*SIMPLETYPE*/);
181 return ret;
182 }
183
184 public virtual void createBox(double xLen, double yLen, double zLen) {
185 TD_DbPINVOKE.OdDb3dSolid_createBox(swigCPtr, xLen, yLen, zLen);
187 }
188
189 public virtual void createFrustum(double height, double xRadius, double yRadius, double topXRadius) {
190 TD_DbPINVOKE.OdDb3dSolid_createFrustum(swigCPtr, height, xRadius, yRadius, topXRadius);
192 }
193
194 public virtual void createSphere(double radius) {
195 TD_DbPINVOKE.OdDb3dSolid_createSphere(swigCPtr, radius);
197 }
198
199 public virtual void createTorus(double majorRadius, double minorRadius) {
200 TD_DbPINVOKE.OdDb3dSolid_createTorus(swigCPtr, majorRadius, minorRadius);
202 }
203
204 public virtual void createWedge(double xLen, double yLen, double zLen) {
205 TD_DbPINVOKE.OdDb3dSolid_createWedge(swigCPtr, xLen, yLen, zLen);
207 }
208
209 public virtual OdResult extrude(OdDbRegion pRegion, double height, double taperAngle) {
210 OdResult ret = (OdResult)TD_DbPINVOKE.OdDb3dSolid_extrude__SWIG_0(swigCPtr, OdDbRegion.getCPtr(pRegion), height, taperAngle);
212 return ret;
213 }
214
215 public virtual OdResult extrude(OdDbRegion pRegion, double height) {
218 return ret;
219 }
220
221 public virtual OdResult revolve(OdDbRegion pRegion, OdGePoint3d axisPoint, OdGeVector3d axisDir, double angleOfRevolution) {
222 OdResult ret = (OdResult)TD_DbPINVOKE.OdDb3dSolid_revolve(swigCPtr, OdDbRegion.getCPtr(pRegion), OdGePoint3d.getCPtr(axisPoint), OdGeVector3d.getCPtr(axisDir), angleOfRevolution);
224 return ret;
225 }
226
227 public virtual OdResult booleanOper(BoolOperType operation, OdDb3dSolid solid) {
228 OdResult ret = (OdResult)TD_DbPINVOKE.OdDb3dSolid_booleanOper(swigCPtr, (int)operation, OdDb3dSolid.getCPtr(solid));
230 return ret;
231 }
232
233 public virtual OdResult extrudeAlongPath(OdDbRegion region, OdDbCurve path, double taperAngle) {
236 return ret;
237 }
238
239 public virtual OdResult extrudeAlongPath(OdDbRegion region, OdDbCurve path) {
242 return ret;
243 }
244
245 public virtual OdResult imprintEntity(OdDbEntity pEntity) {
248 return ret;
249 }
250
251 public virtual OdResult getArea(out double area) {
252 OdResult ret = (OdResult)TD_DbPINVOKE.OdDb3dSolid_getArea(swigCPtr, out area);
254 return ret;
255 }
256
257 public virtual OdResult checkInterference(OdDb3dSolid otherSolid, bool createNewSolid, out bool solidsInterfere, ref OdDb3dSolid /*OUT_PARAM for SMARTPTR*/ commonVolumeSolid) {
258 /*OUT_PARAM for SMARTPTR pre*/ IntPtr tmp_commonVolumeSolid = commonVolumeSolid == null ? IntPtr.Zero : OdDb3dSolid.getCPtr(commonVolumeSolid).Handle;
259 IntPtr saved_commonVolumeSolid = tmp_commonVolumeSolid;
260 /*OUT_PARAM for SMARTPTR pre*/
261 try {
262 OdResult ret = (OdResult)TD_DbPINVOKE.OdDb3dSolid_checkInterference(swigCPtr, OdDb3dSolid.getCPtr(otherSolid), createNewSolid, out solidsInterfere, ref tmp_commonVolumeSolid /*OUT_PARAM for SMARTPTR*/);
264 return ret;
265 } finally {
266if(tmp_commonVolumeSolid == IntPtr.Zero) commonVolumeSolid = null;
267 if(tmp_commonVolumeSolid != IntPtr.Zero && tmp_commonVolumeSolid != saved_commonVolumeSolid)
268 {
269 MemoryTransaction mTrans_commonVolumeSolid = MemoryManager.GetMemoryManager().GetCurrentTransaction();
270 if(mTrans_commonVolumeSolid != null)
271 mTrans_commonVolumeSolid.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdDb3dSolid>(typeof(OdDb3dSolid), tmp_commonVolumeSolid, true));
272 commonVolumeSolid = Teigha.Core.Helpers.odCreateObjectInternal<OdDb3dSolid>(typeof(OdDb3dSolid), tmp_commonVolumeSolid, mTrans_commonVolumeSolid == null);
273 /*OUT_PARAM for SMARTPTR*/
274 }
275 }
276 }
277
278 public virtual OdResult getMassProp(out double volume, OdGePoint3d centroid, double[] /*DOUBLE_FIXED_ARRAY*/ momInertia, double[] /*DOUBLE_FIXED_ARRAY*/ prodInertia, double[] /*DOUBLE_FIXED_ARRAY*/ prinMoments, OdGeVector3d prinAxes, double[] /*DOUBLE_FIXED_ARRAY*/ radiiGyration, OdGeExtents3d extents) {
279 OdResult ret = (OdResult)TD_DbPINVOKE.OdDb3dSolid_getMassProp(swigCPtr, out volume, OdGePoint3d.getCPtr(centroid), momInertia /*DOUBLE_FIXED_ARRAY*/, prodInertia /*DOUBLE_FIXED_ARRAY*/, prinMoments /*DOUBLE_FIXED_ARRAY*/, OdGeVector3d.getCPtr(prinAxes), radiiGyration /*DOUBLE_FIXED_ARRAY*/, OdGeExtents3d.getCPtr(extents));
281 return ret;
282 }
283
284 public virtual OdResult getSection(OdGePlane plane, ref OdDbRegion /*OUT_PARAM for SMARTPTR*/ sectionRegion) {
285 /*OUT_PARAM for SMARTPTR pre*/ IntPtr tmp_sectionRegion = sectionRegion == null ? IntPtr.Zero : OdDbRegion.getCPtr(sectionRegion).Handle;
286 IntPtr saved_sectionRegion = tmp_sectionRegion;
287 /*OUT_PARAM for SMARTPTR pre*/
288 try {
289 OdResult ret = (OdResult)TD_DbPINVOKE.OdDb3dSolid_getSection(swigCPtr, OdGePlane.getCPtr(plane), ref tmp_sectionRegion /*OUT_PARAM for SMARTPTR*/);
291 return ret;
292 } finally {
293if(tmp_sectionRegion == IntPtr.Zero) sectionRegion = null;
294 if(tmp_sectionRegion != IntPtr.Zero && tmp_sectionRegion != saved_sectionRegion)
295 {
296 MemoryTransaction mTrans_sectionRegion = MemoryManager.GetMemoryManager().GetCurrentTransaction();
297 if(mTrans_sectionRegion != null)
298 mTrans_sectionRegion.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdDbRegion>(typeof(OdDbRegion), tmp_sectionRegion, true));
299 sectionRegion = Teigha.Core.Helpers.odCreateObjectInternal<OdDbRegion>(typeof(OdDbRegion), tmp_sectionRegion, mTrans_sectionRegion == null);
300 /*OUT_PARAM for SMARTPTR*/
301 }
302 }
303 }
304
305 public virtual OdResult getSlice(OdGePlane plane, bool bGetNegHalfToo, ref OdDb3dSolid /*OUT_PARAM for SMARTPTR*/ pNegHalfSolid) {
306 /*OUT_PARAM for SMARTPTR pre*/ IntPtr tmp_pNegHalfSolid = pNegHalfSolid == null ? IntPtr.Zero : OdDb3dSolid.getCPtr(pNegHalfSolid).Handle;
307 IntPtr saved_pNegHalfSolid = tmp_pNegHalfSolid;
308 /*OUT_PARAM for SMARTPTR pre*/
309 try {
310 OdResult ret = (OdResult)TD_DbPINVOKE.OdDb3dSolid_getSlice__SWIG_0(swigCPtr, OdGePlane.getCPtr(plane), bGetNegHalfToo, ref tmp_pNegHalfSolid /*OUT_PARAM for SMARTPTR*/);
312 return ret;
313 } finally {
314if(tmp_pNegHalfSolid == IntPtr.Zero) pNegHalfSolid = null;
315 if(tmp_pNegHalfSolid != IntPtr.Zero && tmp_pNegHalfSolid != saved_pNegHalfSolid)
316 {
317 MemoryTransaction mTrans_pNegHalfSolid = MemoryManager.GetMemoryManager().GetCurrentTransaction();
318 if(mTrans_pNegHalfSolid != null)
319 mTrans_pNegHalfSolid.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdDb3dSolid>(typeof(OdDb3dSolid), tmp_pNegHalfSolid, true));
320 pNegHalfSolid = Teigha.Core.Helpers.odCreateObjectInternal<OdDb3dSolid>(typeof(OdDb3dSolid), tmp_pNegHalfSolid, mTrans_pNegHalfSolid == null);
321 /*OUT_PARAM for SMARTPTR*/
322 }
323 }
324 }
325
326 public virtual OdResult getSlice(OdDbSurface pSurface, bool bGetNegHalfToo, ref OdDb3dSolid /*OUT_PARAM for SMARTPTR*/ pNegHalfSolid) {
327 /*OUT_PARAM for SMARTPTR pre*/ IntPtr tmp_pNegHalfSolid = pNegHalfSolid == null ? IntPtr.Zero : OdDb3dSolid.getCPtr(pNegHalfSolid).Handle;
328 IntPtr saved_pNegHalfSolid = tmp_pNegHalfSolid;
329 /*OUT_PARAM for SMARTPTR pre*/
330 try {
331 OdResult ret = (OdResult)TD_DbPINVOKE.OdDb3dSolid_getSlice__SWIG_1(swigCPtr, OdDbSurface.getCPtr(pSurface), bGetNegHalfToo, ref tmp_pNegHalfSolid /*OUT_PARAM for SMARTPTR*/);
333 return ret;
334 } finally {
335if(tmp_pNegHalfSolid == IntPtr.Zero) pNegHalfSolid = null;
336 if(tmp_pNegHalfSolid != IntPtr.Zero && tmp_pNegHalfSolid != saved_pNegHalfSolid)
337 {
338 MemoryTransaction mTrans_pNegHalfSolid = MemoryManager.GetMemoryManager().GetCurrentTransaction();
339 if(mTrans_pNegHalfSolid != null)
340 mTrans_pNegHalfSolid.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdDb3dSolid>(typeof(OdDb3dSolid), tmp_pNegHalfSolid, true));
341 pNegHalfSolid = Teigha.Core.Helpers.odCreateObjectInternal<OdDb3dSolid>(typeof(OdDb3dSolid), tmp_pNegHalfSolid, mTrans_pNegHalfSolid == null);
342 /*OUT_PARAM for SMARTPTR*/
343 }
344 }
345 }
346
347 public virtual OdResult cleanBody() {
350 return ret;
351 }
352
353 public virtual OdResult offsetBody(double offsetDistance) {
354 OdResult ret = (OdResult)TD_DbPINVOKE.OdDb3dSolid_offsetBody(swigCPtr, offsetDistance);
356 return ret;
357 }
358
359 public virtual OdResult separateBody(OdDb3dSolidPtrArray newSolids) {
362 return ret;
363 }
364
365 public virtual OdResult createExtrudedSolid(OdDbEntity pSweepEnt, OdGeVector3d directionVec, OdDbSweepOptions sweepOptions) {
368 return ret;
369 }
370
371 public virtual OdResult createExtrudedSolid(OdDbEntity pSweepEnt, OdDbSubentId faceSubentId, OdGeVector3d directionVec, OdDbSweepOptions sweepOptions) {
374 return ret;
375 }
376
377 public virtual OdResult createExtrudedSolid(OdDbEntity pSweepEnt, OdDbSubentId faceSubentId, double height, OdDbSweepOptions sweepOptions) {
380 return ret;
381 }
382
383 public virtual OdResult createLoftedSolid(OdDbEntityPtrArray crossSectionCurves, OdDbEntityPtrArray guideCurves, OdDbEntity pPathCurve, OdDbLoftOptions loftOptions) {
386 return ret;
387 }
388
389 public virtual OdResult createPyramid(double height, int sides, double radius, double topRadius) {
390 OdResult ret = (OdResult)TD_DbPINVOKE.OdDb3dSolid_createPyramid__SWIG_0(swigCPtr, height, sides, radius, topRadius);
392 return ret;
393 }
394
395 public virtual OdResult createPyramid(double height, int sides, double radius) {
396 OdResult ret = (OdResult)TD_DbPINVOKE.OdDb3dSolid_createPyramid__SWIG_1(swigCPtr, height, sides, radius);
398 return ret;
399 }
400
401 public virtual OdResult createRevolvedSolid(OdDbEntity pRevEnt, OdGePoint3d axisPnt, OdGeVector3d axisDir, double revAngle, double startAngle, OdDbRevolveOptions revolveOptions) {
402 OdResult ret = (OdResult)TD_DbPINVOKE.OdDb3dSolid_createRevolvedSolid__SWIG_0(swigCPtr, OdDbEntity.getCPtr(pRevEnt), OdGePoint3d.getCPtr(axisPnt), OdGeVector3d.getCPtr(axisDir), revAngle, startAngle, OdDbRevolveOptions.getCPtr(revolveOptions));
404 return ret;
405 }
406
407 public virtual OdResult createRevolvedSolid(OdDbEntity pRevEnt, OdDbSubentId faceSubentId, OdGePoint3d axisPnt, OdGeVector3d axisDir, double revAngle, double startAngle, OdDbRevolveOptions revolveOptions) {
408 OdResult ret = (OdResult)TD_DbPINVOKE.OdDb3dSolid_createRevolvedSolid__SWIG_1(swigCPtr, OdDbEntity.getCPtr(pRevEnt), OdDbSubentId.getCPtr(faceSubentId), OdGePoint3d.getCPtr(axisPnt), OdGeVector3d.getCPtr(axisDir), revAngle, startAngle, OdDbRevolveOptions.getCPtr(revolveOptions));
410 return ret;
411 }
412
413 public virtual OdResult createSweptSolid(OdDbEntity pSweepEnt, OdDbSubentId faceSubentId, OdDbEntity pPathEnt, OdDbSweepOptions sweepOptions) {
416 return ret;
417 }
418
419 public virtual OdResult createSweptSolid(OdDbEntity pSweepEnt, OdDbEntity pPathEnt, OdDbSweepOptions sweepOptions) {
422 return ret;
423 }
424
425 public virtual OdResult stlOut(OdStreamBuf output, bool asciiFormat, double maxSurfaceDeviation) {
426 OdResult ret = (OdResult)TD_DbPINVOKE.OdDb3dSolid_stlOut__SWIG_0(swigCPtr, OdStreamBuf.getCPtr(output), asciiFormat, maxSurfaceDeviation);
428 return ret;
429 }
430
431 public virtual OdResult stlOut(OdStreamBuf output, bool asciiFormat) {
432 OdResult ret = (OdResult)TD_DbPINVOKE.OdDb3dSolid_stlOut__SWIG_1(swigCPtr, OdStreamBuf.getCPtr(output), asciiFormat);
434 return ret;
435 }
436
437 public virtual OdResult stlOut(String filename, bool asciiFormat, double maxSurfaceDeviation) {
438 OdResult ret = (OdResult)TD_DbPINVOKE.OdDb3dSolid_stlOut__SWIG_2(swigCPtr, filename, asciiFormat, maxSurfaceDeviation);
440 return ret;
441 }
442
443 public virtual OdResult stlOut(String filename, bool asciiFormat) {
444 OdResult ret = (OdResult)TD_DbPINVOKE.OdDb3dSolid_stlOut__SWIG_3(swigCPtr, filename, asciiFormat);
446 return ret;
447 }
448
449 public override OdDbObject decomposeForSave(DwgVersion ver, OdDbObjectId replaceId, out bool exchangeXData) {// OdDbObjectPtr
450 MemoryManager mMan = MemoryManager.GetMemoryManager();
451 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
452 IntPtr ptr = TD_DbPINVOKE.OdDb3dSolid_decomposeForSave(swigCPtr, (int)ver, OdDbObjectId.getCPtr(replaceId), out exchangeXData);
453
454 OdDbObject ret = null;
455 if (null != mTrans)
456 {
457 mTrans.AddObject((OdDbObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbObject),ptr, true));
458 ret = (OdDbObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbObject),ptr, false);
459 }
460 else
461 {
462 ret = (OdDbObject)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbObject),ptr, true);
463 }
464
466 return ret;
467}
468
469 public virtual new OdResult subExplode(OdRxObjectPtrArray entitySet) {
472 return ret;
473 }
474
475 public virtual new OdResult subTransformBy(OdGeMatrix3d xfm) {
478 return ret;
479 }
480
481 public override void saveAs(OdGiWorldDraw pWd, DwgVersion ver) {
482 TD_DbPINVOKE.OdDb3dSolid_saveAs(swigCPtr, OdGiWorldDraw.getCPtr(pWd), (int)ver);
484 }
485
486 public virtual OdResult setBody(IntPtr /*SIMPLETYPE*/ pGeometry) {
487 OdResult ret = (OdResult)TD_DbPINVOKE.OdDb3dSolid_setBody(swigCPtr, pGeometry /*SIMPLETYPE*/);
489 return ret;
490 }
491
492 public virtual IntPtr body() {
493// test csout
494 /*SIMPLETYPE*/
495 IntPtr ret = TD_DbPINVOKE.OdDb3dSolid_body(swigCPtr);
497 return ret;
498 }
499
500 public virtual OdResult copyEdge(OdDbSubentId subentId, ref OdDbEntity /*OUT_PARAM for SMARTPTR*/ newEntity) {
501 /*OUT_PARAM for SMARTPTR pre*/ IntPtr tmp_newEntity = newEntity == null ? IntPtr.Zero : OdDbEntity.getCPtr(newEntity).Handle;
502 IntPtr saved_newEntity = tmp_newEntity;
503 /*OUT_PARAM for SMARTPTR pre*/
504 try {
505 OdResult ret = (OdResult)TD_DbPINVOKE.OdDb3dSolid_copyEdge(swigCPtr, OdDbSubentId.getCPtr(subentId), ref tmp_newEntity /*OUT_PARAM for SMARTPTR*/);
507 return ret;
508 } finally {
509if(tmp_newEntity == IntPtr.Zero) newEntity = null;
510 if(tmp_newEntity != IntPtr.Zero && tmp_newEntity != saved_newEntity)
511 {
512 MemoryTransaction mTrans_newEntity = MemoryManager.GetMemoryManager().GetCurrentTransaction();
513 if(mTrans_newEntity != null)
514 mTrans_newEntity.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdDbEntity>(typeof(OdDbEntity), tmp_newEntity, true));
515 newEntity = Teigha.Core.Helpers.odCreateObjectInternal<OdDbEntity>(typeof(OdDbEntity), tmp_newEntity, mTrans_newEntity == null);
516 /*OUT_PARAM for SMARTPTR*/
517 }
518 }
519 }
520
521 public virtual OdResult copyFace(OdDbSubentId subentId, ref OdDbEntity /*OUT_PARAM for SMARTPTR*/ newEntity) {
522 /*OUT_PARAM for SMARTPTR pre*/ IntPtr tmp_newEntity = newEntity == null ? IntPtr.Zero : OdDbEntity.getCPtr(newEntity).Handle;
523 IntPtr saved_newEntity = tmp_newEntity;
524 /*OUT_PARAM for SMARTPTR pre*/
525 try {
526 OdResult ret = (OdResult)TD_DbPINVOKE.OdDb3dSolid_copyFace(swigCPtr, OdDbSubentId.getCPtr(subentId), ref tmp_newEntity /*OUT_PARAM for SMARTPTR*/);
528 return ret;
529 } finally {
530if(tmp_newEntity == IntPtr.Zero) newEntity = null;
531 if(tmp_newEntity != IntPtr.Zero && tmp_newEntity != saved_newEntity)
532 {
533 MemoryTransaction mTrans_newEntity = MemoryManager.GetMemoryManager().GetCurrentTransaction();
534 if(mTrans_newEntity != null)
535 mTrans_newEntity.AddObject(Teigha.Core.Helpers.odCreateObjectInternal<OdDbEntity>(typeof(OdDbEntity), tmp_newEntity, true));
536 newEntity = Teigha.Core.Helpers.odCreateObjectInternal<OdDbEntity>(typeof(OdDbEntity), tmp_newEntity, mTrans_newEntity == null);
537 /*OUT_PARAM for SMARTPTR*/
538 }
539 }
540 }
541
542 public virtual new OdResult subGetSubentPathsAtGsMarker(Teigha.Core.SubentType type, IntPtr /*SIMPLETYPE*/ gsMark, OdGePoint3d pickPoint, OdGeMatrix3d viewXform, OdDbFullSubentPathArray subentPaths, OdDbObjectIdArray pEntAndInsertStack) {
543 OdResult ret = (OdResult)TD_DbPINVOKE.OdDb3dSolid_subGetSubentPathsAtGsMarker__SWIG_0(swigCPtr, (int)type, gsMark /*SIMPLETYPE*/, OdGePoint3d.getCPtr(pickPoint), OdGeMatrix3d.getCPtr(viewXform), OdDbFullSubentPathArray.getCPtr(subentPaths), OdDbObjectIdArray.getCPtr(pEntAndInsertStack));
545 return ret;
546 }
547
548 public virtual new OdResult subGetSubentPathsAtGsMarker(Teigha.Core.SubentType type, IntPtr /*SIMPLETYPE*/ gsMark, OdGePoint3d pickPoint, OdGeMatrix3d viewXform, OdDbFullSubentPathArray subentPaths) {
549 OdResult ret = (OdResult)TD_DbPINVOKE.OdDb3dSolid_subGetSubentPathsAtGsMarker__SWIG_1(swigCPtr, (int)type, gsMark /*SIMPLETYPE*/, OdGePoint3d.getCPtr(pickPoint), OdGeMatrix3d.getCPtr(viewXform), OdDbFullSubentPathArray.getCPtr(subentPaths));
551 return ret;
552 }
553
554 public virtual OdDbSubentId internalSubentId(IntPtr /*SIMPLETYPE*/ ent) {
555 OdDbSubentId ret = new OdDbSubentId(TD_DbPINVOKE.OdDb3dSolid_internalSubentId(swigCPtr, ent /*SIMPLETYPE*/), true);
557 return ret;
558 }
559
560 public virtual IntPtr internalSubentPtr(OdDbSubentId id) {
561// test csout
562 /*SIMPLETYPE*/
565 return ret;
566 }
567
571 return ret;
572 }
573
574 public virtual new OdDbEntity subSubentPtr(OdDbFullSubentPath id) {// OdDbEntityPtr
575 MemoryManager mMan = MemoryManager.GetMemoryManager();
576 MemoryTransaction mTrans = mMan.GetCurrentTransaction(); // MemoryTransaction #17
578
579 OdDbEntity ret = null;
580 if (null != mTrans)
581 {
582 mTrans.AddObject((OdDbEntity)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbEntity),ptr, true));
583 ret = (OdDbEntity)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbEntity),ptr, false);
584 }
585 else
586 {
587 ret = (OdDbEntity)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbEntity),ptr, true);
588 }
589
591 return ret;
592}
593
594 public virtual OdResult extrudeFaces(OdDbSubentIdArray faceSubentIds, double height, double taper) {
595 OdResult ret = (OdResult)TD_DbPINVOKE.OdDb3dSolid_extrudeFaces(swigCPtr, OdDbSubentIdArray.getCPtr(faceSubentIds), height, taper);
597 return ret;
598 }
599
600 public virtual OdResult extrudeFacesAlongPath(OdDbSubentIdArray faceSubentIds, OdDbCurve path) {
603 return ret;
604 }
605
606 public virtual OdResult taperFaces(OdDbSubentIdArray faceSubentIds, OdGePoint3d basePoint, OdGeVector3d draftVector, double draftAngle) {
607 OdResult ret = (OdResult)TD_DbPINVOKE.OdDb3dSolid_taperFaces(swigCPtr, OdDbSubentIdArray.getCPtr(faceSubentIds), OdGePoint3d.getCPtr(basePoint), OdGeVector3d.getCPtr(draftVector), draftAngle);
609 return ret;
610 }
611
612 public virtual OdResult transformFaces(OdDbSubentIdArray faceSubentIds, OdGeMatrix3d matrix) {
615 return ret;
616 }
617
618 public virtual OdResult removeFaces(OdDbSubentIdArray faceSubentIds) {
621 return ret;
622 }
623
624 public virtual OdResult offsetFaces(OdDbSubentIdArray faceSubentIds, double offsetDistance) {
625 OdResult ret = (OdResult)TD_DbPINVOKE.OdDb3dSolid_offsetFaces(swigCPtr, OdDbSubentIdArray.getCPtr(faceSubentIds), offsetDistance);
627 return ret;
628 }
629
630 public virtual OdResult shellBody(OdDbSubentIdArray faceSubentIds, double offsetDistance) {
631 OdResult ret = (OdResult)TD_DbPINVOKE.OdDb3dSolid_shellBody(swigCPtr, OdDbSubentIdArray.getCPtr(faceSubentIds), offsetDistance);
633 return ret;
634 }
635
636 public virtual UInt32 numChanges() {
637// test csout
638 /*SIMPLETYPE*/
639 UInt32 ret = TD_DbPINVOKE.OdDb3dSolid_numChanges(swigCPtr);
641 return ret;
642 }
643
647 return ret;
648 }
649
653 return ret;
654 }
655
656 public virtual OdResult setSubentMaterial(OdDbSubentId subentId, OdDbObjectId matId) {
659 return ret;
660 }
661
662 public virtual OdResult getSubentMaterial(OdDbSubentId subentId, OdDbObjectId matId) {
665 return ret;
666 }
667
668 public virtual OdResult setSubentMaterialMapper(OdDbSubentId subentId, OdGiMapper mapper) {
671 return ret;
672 }
673
674 public virtual OdResult getSubentMaterialMapper(OdDbSubentId subentId, OdGiMapper mapper) {
677 return ret;
678 }
679
680 public virtual OdResult chamferEdges(OdDbSubentIdArray edgeSubentIds, OdDbSubentId baseFaceSubentId, double baseDist, double otherDist) {
681 OdResult ret = (OdResult)TD_DbPINVOKE.OdDb3dSolid_chamferEdges(swigCPtr, OdDbSubentIdArray.getCPtr(edgeSubentIds), OdDbSubentId.getCPtr(baseFaceSubentId), baseDist, otherDist);
683 return ret;
684 }
685
686 public virtual OdResult filletEdges(OdDbSubentIdArray edgeSubentIds, OdGeDoubleArray radius, OdGeDoubleArray startSetback, OdGeDoubleArray endSetback) {
689 return ret;
690 }
691
692 public virtual OdResult createFrom(OdDbEntity pFromEntity) {
695 return ret;
696 }
697
698 public virtual bool recordHistory() {
699 bool ret = TD_DbPINVOKE.OdDb3dSolid_recordHistory(swigCPtr);
701 return ret;
702 }
703
704 public virtual bool showHistory() {
705 bool ret = TD_DbPINVOKE.OdDb3dSolid_showHistory(swigCPtr);
707 return ret;
708 }
709
710 public virtual OdResult setRecordHistory(bool bRecord) {
713 return ret;
714 }
715
716 public virtual OdResult setShowHistory(bool bShow) {
719 return ret;
720 }
721
725 return ret;
726 }
727
728 public override UInt32 subSetAttributes(OdGiDrawableTraits pTraits) {
729// test csout
730 /*SIMPLETYPE*/
733 return ret;
734 }
735
736 public OdResult projectOnToSolid(OdDbEntity pEntityToProject, OdGeVector3d projectionDirection, OdDbEntityPtrArray projectedEntities) {
737 OdResult ret = (OdResult)TD_DbPINVOKE.OdDb3dSolid_projectOnToSolid(swigCPtr, OdDbEntity.getCPtr(pEntityToProject), OdGeVector3d.getCPtr(projectionDirection), OdDbEntityPtrArray.getCPtr(projectedEntities));
739 return ret;
740 }
741
742 public OdResult createSculptedSolid(OdDbEntityPtrArray limitingBodies, OdIntArray limitingFlags) {
743 OdResult ret = (OdResult)TD_DbPINVOKE.OdDb3dSolid_createSculptedSolid(swigCPtr, OdDbEntityPtrArray.getCPtr(limitingBodies), OdIntArray.getCPtr(limitingFlags).Handle);
745 return ret;
746 }
747
748 public override void subClose() {
751 }
752
753 public virtual new OdResult subGetGeomExtents(OdGeExtents3d extents) {
756 return ret;
757 }
758
759 public override void copyFrom(OdRxObject pSource) {
762 }
763
764 protected static string getRealClassName(IntPtr /*SIMPLETYPE*/ ptr) {
765 string ret = TD_DbPINVOKE.OdDb3dSolid_getRealClassName(ptr /*SIMPLETYPE*/);
767 return ret;
768 }
769
774 public virtual IntPtr vb_body() { return this.body(); }
775
780 public void vb_gripStatus(Teigha.Core.GripStat status) { this.gripStatus(status); }
781
787
792 public string vb_material() { return this.material(); }
793
798 public virtual Teigha.TD.CollisionType vb_collisionType() { return this.collisionType(); }
799
804 public string vb_linetype() { return this.linetype(); }
805
811
817
818}
819
820}
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(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(OdIntArray obj)
Definition: OdIntArray.cs:28
static HandleRef getCPtr(OdRxClass obj)
Definition: OdRxClass.cs:25
static HandleRef getCPtr(OdRxObject obj)
Definition: OdRxObject.cs:26
static HandleRef getCPtr(OdRxObjectPtrArray obj)
static HandleRef getCPtr(OdStreamBuf obj)
Definition: OdStreamBuf.cs:25
static HandleRef getCPtr(wrTriangulationParams obj)
static HandleRef getCPtr(OdCmColor obj)
Definition: OdCmColor.cs:26
static OdDb3dSolid cast(OdRxObject pObj)
Definition: OdDb3dSolid.cs:43
virtual new OdResult subGetSubentPathsAtGsMarker(Teigha.Core.SubentType type, IntPtr gsMark, OdGePoint3d pickPoint, OdGeMatrix3d viewXform, OdDbFullSubentPathArray subentPaths)
Definition: OdDb3dSolid.cs:548
virtual OdResult setShowHistory(bool bShow)
Definition: OdDb3dSolid.cs:716
override OdResult subGetClassID(IntPtr pClsid)
Definition: OdDb3dSolid.cs:178
static new OdRxClass desc()
Definition: OdDb3dSolid.cs:63
OdResult acisOut(OdStreamBuf pStreamBuf, int typeVer)
Definition: OdDb3dSolid.cs:110
virtual OdResult offsetBody(double offsetDistance)
Definition: OdDb3dSolid.cs:353
virtual OdResult separateBody(OdDb3dSolidPtrArray newSolids)
Definition: OdDb3dSolid.cs:359
virtual void createSphere(double radius)
Definition: OdDb3dSolid.cs:194
virtual OdResult getSubentMaterialMapper(OdDbSubentId subentId, OdGiMapper mapper)
Definition: OdDb3dSolid.cs:674
override OdResult dwgInFields(OdDbDwgFiler pFiler)
Definition: OdDb3dSolid.cs:156
void vb_gripStatus(Teigha.Core.GripStat status)
Definition: OdDb3dSolid.cs:780
virtual new OdResult subTransformBy(OdGeMatrix3d xfm)
Definition: OdDb3dSolid.cs:475
virtual OdResult createLoftedSolid(OdDbEntityPtrArray crossSectionCurves, OdDbEntityPtrArray guideCurves, OdDbEntity pPathCurve, OdDbLoftOptions loftOptions)
Definition: OdDb3dSolid.cs:383
OdResult acisOut(OdStreamBuf pStreamBuf)
Definition: OdDb3dSolid.cs:116
virtual IntPtr vb_body()
Definition: OdDb3dSolid.cs:774
virtual new OdResult subGetGeomExtents(OdGeExtents3d extents)
Definition: OdDb3dSolid.cs:753
virtual OdResult extrudeFacesAlongPath(OdDbSubentIdArray faceSubentIds, OdDbCurve path)
Definition: OdDb3dSolid.cs:600
static new OdDb3dSolid createObject()
Definition: OdDb3dSolid.cs:84
virtual void createBox(double xLen, double yLen, double zLen)
Definition: OdDb3dSolid.cs:184
virtual OdResult imprintEntity(OdDbEntity pEntity)
Definition: OdDb3dSolid.cs:245
virtual Teigha.Core.OdGiDrawable.DrawableType vb_drawableType()
Definition: OdDb3dSolid.cs:816
virtual OdResult stlOut(String filename, bool asciiFormat, double maxSurfaceDeviation)
Definition: OdDb3dSolid.cs:437
override OdRxObject queryX(OdRxClass protocolClass)
Definition: OdDb3dSolid.cs:77
virtual new OdResult subGetGsMarkersAtSubentPath(OdDbFullSubentPath subPath, OdGsMarkerArray gsMarkers)
Definition: OdDb3dSolid.cs:568
virtual OdResult removeFaces(OdDbSubentIdArray faceSubentIds)
Definition: OdDb3dSolid.cs:618
virtual OdResult offsetFaces(OdDbSubentIdArray faceSubentIds, double offsetDistance)
Definition: OdDb3dSolid.cs:624
virtual OdResult stlOut(OdStreamBuf output, bool asciiFormat, double maxSurfaceDeviation)
Definition: OdDb3dSolid.cs:425
static HandleRef getCPtr(OdDb3dSolid obj)
Definition: OdDb3dSolid.cs:26
virtual OdResult extrudeAlongPath(OdDbRegion region, OdDbCurve path)
Definition: OdDb3dSolid.cs:239
virtual OdResult revolve(OdDbRegion pRegion, OdGePoint3d axisPoint, OdGeVector3d axisDir, double angleOfRevolution)
Definition: OdDb3dSolid.cs:221
virtual OdResult stlOut(OdStreamBuf output, bool asciiFormat)
Definition: OdDb3dSolid.cs:431
virtual UInt32 numChanges()
Definition: OdDb3dSolid.cs:636
virtual OdResult chamferEdges(OdDbSubentIdArray edgeSubentIds, OdDbSubentId baseFaceSubentId, double baseDist, double otherDist)
Definition: OdDb3dSolid.cs:680
virtual OdResult checkInterference(OdDb3dSolid otherSolid, bool createNewSolid, out bool solidsInterfere, ref OdDb3dSolid commonVolumeSolid)
Definition: OdDb3dSolid.cs:257
override OdResult dxfInFields(OdDbDxfFiler pFiler)
Definition: OdDb3dSolid.cs:167
virtual OdResult setSubentMaterialMapper(OdDbSubentId subentId, OdGiMapper mapper)
Definition: OdDb3dSolid.cs:668
virtual OdResult createFrom(OdDbEntity pFromEntity)
Definition: OdDb3dSolid.cs:692
virtual OdResult shellBody(OdDbSubentIdArray faceSubentIds, double offsetDistance)
Definition: OdDb3dSolid.cs:630
OdResult acisIn(OdStreamBuf pStreamBuf)
Definition: OdDb3dSolid.cs:128
virtual OdResult createPyramid(double height, int sides, double radius, double topRadius)
Definition: OdDb3dSolid.cs:389
virtual OdResult getSubentMaterial(OdDbSubentId subentId, OdDbObjectId matId)
Definition: OdDb3dSolid.cs:662
override void saveAs(OdGiWorldDraw pWd, DwgVersion ver)
Definition: OdDb3dSolid.cs:481
override void subClose()
Definition: OdDb3dSolid.cs:748
virtual OdResult extrude(OdDbRegion pRegion, double height)
Definition: OdDb3dSolid.cs:215
void brep(OdBrBrep brep)
Definition: OdDb3dSolid.cs:134
OdResult projectOnToSolid(OdDbEntity pEntityToProject, OdGeVector3d projectionDirection, OdDbEntityPtrArray projectedEntities)
Definition: OdDb3dSolid.cs:736
virtual OdResult getSubentColor(OdDbSubentId subentId, OdCmColor color)
Definition: OdDb3dSolid.cs:650
virtual void createWedge(double xLen, double yLen, double zLen)
Definition: OdDb3dSolid.cs:204
virtual OdResult taperFaces(OdDbSubentIdArray faceSubentIds, OdGePoint3d basePoint, OdGeVector3d draftVector, double draftAngle)
Definition: OdDb3dSolid.cs:606
virtual Teigha.TD.CollisionType vb_collisionType()
Definition: OdDb3dSolid.cs:798
virtual OdResult createSweptSolid(OdDbEntity pSweepEnt, OdDbSubentId faceSubentId, OdDbEntity pPathEnt, OdDbSweepOptions sweepOptions)
Definition: OdDb3dSolid.cs:413
virtual OdResult createSweptSolid(OdDbEntity pSweepEnt, OdDbEntity pPathEnt, OdDbSweepOptions sweepOptions)
Definition: OdDb3dSolid.cs:419
override OdDbObject decomposeForSave(DwgVersion ver, OdDbObjectId replaceId, out bool exchangeXData)
Definition: OdDb3dSolid.cs:449
virtual OdResult createExtrudedSolid(OdDbEntity pSweepEnt, OdDbSubentId faceSubentId, double height, OdDbSweepOptions sweepOptions)
Definition: OdDb3dSolid.cs:377
override void Dispose(bool disposing)
Definition: OdDb3dSolid.cs:30
virtual new OdResult subExplode(OdRxObjectPtrArray entitySet)
Definition: OdDb3dSolid.cs:469
Teigha.Core.LineWeight vb_lineWeight()
Definition: OdDb3dSolid.cs:810
virtual OdResult filletEdges(OdDbSubentIdArray edgeSubentIds, OdGeDoubleArray radius, OdGeDoubleArray startSetback, OdGeDoubleArray endSetback)
Definition: OdDb3dSolid.cs:686
OdDb3dSolid(IntPtr cPtr, bool cMemoryOwn)
Definition: OdDb3dSolid.cs:21
virtual OdResult createExtrudedSolid(OdDbEntity pSweepEnt, OdGeVector3d directionVec, OdDbSweepOptions sweepOptions)
Definition: OdDb3dSolid.cs:365
override void dxfOutFields(OdDbDxfFiler pFiler)
Definition: OdDb3dSolid.cs:173
override bool subWorldDraw(OdGiWorldDraw pWd)
Definition: OdDb3dSolid.cs:145
virtual OdDbSubentId internalSubentId(IntPtr ent)
Definition: OdDb3dSolid.cs:554
bool getFaceMesh(OdGeTrMesh mesh, IntPtr iFace, wrTriangulationParams triangulationParams)
Definition: OdDb3dSolid.cs:139
virtual OdResult setSubentMaterial(OdDbSubentId subentId, OdDbObjectId matId)
Definition: OdDb3dSolid.cs:656
virtual OdResult setSubentColor(OdDbSubentId subentId, OdCmColor color)
Definition: OdDb3dSolid.cs:644
virtual OdResult createPyramid(double height, int sides, double radius)
Definition: OdDb3dSolid.cs:395
static string getRealClassName(IntPtr ptr)
Definition: OdDb3dSolid.cs:764
virtual OdResult booleanOper(BoolOperType operation, OdDb3dSolid solid)
Definition: OdDb3dSolid.cs:227
virtual OdResult transformFaces(OdDbSubentIdArray faceSubentIds, OdGeMatrix3d matrix)
Definition: OdDb3dSolid.cs:612
virtual OdResult extrude(OdDbRegion pRegion, double height, double taperAngle)
Definition: OdDb3dSolid.cs:209
virtual OdResult extrudeAlongPath(OdDbRegion region, OdDbCurve path, double taperAngle)
Definition: OdDb3dSolid.cs:233
virtual OdResult createExtrudedSolid(OdDbEntity pSweepEnt, OdDbSubentId faceSubentId, OdGeVector3d directionVec, OdDbSweepOptions sweepOptions)
Definition: OdDb3dSolid.cs:371
virtual OdResult extrudeFaces(OdDbSubentIdArray faceSubentIds, double height, double taper)
Definition: OdDb3dSolid.cs:594
virtual OdResult getSection(OdGePlane plane, ref OdDbRegion sectionRegion)
Definition: OdDb3dSolid.cs:284
virtual OdResult copyEdge(OdDbSubentId subentId, ref OdDbEntity newEntity)
Definition: OdDb3dSolid.cs:500
virtual OdResult cleanBody()
Definition: OdDb3dSolid.cs:347
override void subViewportDraw(OdGiViewportDraw pVd)
Definition: OdDb3dSolid.cs:151
virtual void createTorus(double majorRadius, double minorRadius)
Definition: OdDb3dSolid.cs:199
virtual OdResult getSlice(OdGePlane plane, bool bGetNegHalfToo, ref OdDb3dSolid pNegHalfSolid)
Definition: OdDb3dSolid.cs:305
virtual OdResult copyFace(OdDbSubentId subentId, ref OdDbEntity newEntity)
Definition: OdDb3dSolid.cs:521
virtual IntPtr body()
Definition: OdDb3dSolid.cs:492
virtual OdResult getArea(out double area)
Definition: OdDb3dSolid.cs:251
virtual IntPtr internalSubentPtr(OdDbSubentId id)
Definition: OdDb3dSolid.cs:560
Teigha.TD.Visibility vb_visibility()
Definition: OdDb3dSolid.cs:786
override void copyFrom(OdRxObject pSource)
Definition: OdDb3dSolid.cs:759
virtual OdResult setBody(IntPtr pGeometry)
Definition: OdDb3dSolid.cs:486
virtual OdResult stlOut(String filename, bool asciiFormat)
Definition: OdDb3dSolid.cs:443
virtual bool showHistory()
Definition: OdDb3dSolid.cs:704
virtual OdResult convertToBrepAtSubentPaths(OdDbFullSubentPathArray arg0)
Definition: OdDb3dSolid.cs:722
virtual new OdResult subGetSubentPathsAtGsMarker(Teigha.Core.SubentType type, IntPtr gsMark, OdGePoint3d pickPoint, OdGeMatrix3d viewXform, OdDbFullSubentPathArray subentPaths, OdDbObjectIdArray pEntAndInsertStack)
Definition: OdDb3dSolid.cs:542
OdResult acisIn(OdStreamBuf pStreamBuf, out int pTypeVer)
Definition: OdDb3dSolid.cs:122
virtual bool recordHistory()
Definition: OdDb3dSolid.cs:698
override OdRxClass isA()
Definition: OdDb3dSolid.cs:70
virtual new OdDbEntity subSubentPtr(OdDbFullSubentPath id)
Definition: OdDb3dSolid.cs:574
virtual OdResult createRevolvedSolid(OdDbEntity pRevEnt, OdGePoint3d axisPnt, OdGeVector3d axisDir, double revAngle, double startAngle, OdDbRevolveOptions revolveOptions)
Definition: OdDb3dSolid.cs:401
virtual OdResult createRevolvedSolid(OdDbEntity pRevEnt, OdDbSubentId faceSubentId, OdGePoint3d axisPnt, OdGeVector3d axisDir, double revAngle, double startAngle, OdDbRevolveOptions revolveOptions)
Definition: OdDb3dSolid.cs:407
virtual void createFrustum(double height, double xRadius, double yRadius, double topXRadius)
Definition: OdDb3dSolid.cs:189
override void dwgOutFields(OdDbDwgFiler pFiler)
Definition: OdDb3dSolid.cs:162
override UInt32 subSetAttributes(OdGiDrawableTraits pTraits)
Definition: OdDb3dSolid.cs:728
virtual OdResult getSlice(OdDbSurface pSurface, bool bGetNegHalfToo, ref OdDb3dSolid pNegHalfSolid)
Definition: OdDb3dSolid.cs:326
virtual OdResult setRecordHistory(bool bRecord)
Definition: OdDb3dSolid.cs:710
virtual OdResult getMassProp(out double volume, OdGePoint3d centroid, double[] momInertia, double[] prodInertia, double[] prinMoments, OdGeVector3d prinAxes, double[] radiiGyration, OdGeExtents3d extents)
Definition: OdDb3dSolid.cs:278
OdResult createSculptedSolid(OdDbEntityPtrArray limitingBodies, OdIntArray limitingFlags)
Definition: OdDb3dSolid.cs:742
static HandleRef getCPtr(OdDb3dSolidPtrArray obj)
static HandleRef getCPtr(OdDbCurve obj)
Definition: OdDbCurve.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(OdDbLoftOptions obj)
static HandleRef getCPtr(OdDbObjectIdArray obj)
static HandleRef getCPtr(OdDbObjectId obj)
Definition: OdDbObjectId.cs:27
static HandleRef getCPtr(OdDbRegion obj)
Definition: OdDbRegion.cs:26
static HandleRef getCPtr(OdDbRevolveOptions obj)
static HandleRef getCPtr(OdDbSubentIdArray obj)
static HandleRef getCPtr(OdDbSurface obj)
Definition: OdDbSurface.cs:26
static HandleRef getCPtr(OdDbSweepOptions obj)
static global::System.Exception Retrieve()
static IntPtr OdDb3dSolid_body(HandleRef jarg1)
static int OdDb3dSolid_checkInterference(HandleRef jarg1, HandleRef jarg2, bool jarg3, out bool jarg4, ref IntPtr jarg5)
static int OdDb3dSolid_stlOut__SWIG_3(HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2, bool jarg3)
static IntPtr OdDb3dSolid_createObject()
static int OdDb3dSolid_setBody(HandleRef jarg1, IntPtr jarg2)
static int OdDb3dSolid_stlOut__SWIG_0(HandleRef jarg1, HandleRef jarg2, bool jarg3, double jarg4)
static int OdDb3dSolid_revolve(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, double jarg5)
static int OdDb3dSolid_subGetClassID(HandleRef jarg1, IntPtr jarg2)
static int OdDb3dSolid_createLoftedSolid(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static UInt32 OdDb3dSolid_numChanges(HandleRef jarg1)
static void OdDb3dSolid_saveAs(HandleRef jarg1, HandleRef jarg2, int jarg3)
static int OdDb3dSolid_setSubentMaterialMapper(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDb3dSolid_copyEdge(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, ref IntPtr jarg3)
static int OdDb3dSolid_subGetGsMarkersAtSubentPath(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDb3dSolid_acisOut__SWIG_0(HandleRef jarg1, HandleRef jarg2, int jarg3)
static int OdDb3dSolid_createSculptedSolid(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, IntPtr jarg3)
static global::System.IntPtr OdDb3dSolid_internalSubentId(HandleRef jarg1, IntPtr jarg2)
static IntPtr OdDb3dSolid_decomposeForSave(HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, out bool jarg4)
static void OdDb3dSolid_createFrustum(HandleRef jarg1, double jarg2, double jarg3, double jarg4, double jarg5)
static int OdDb3dSolid_subGetGeomExtents(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdDb3dSolid_offsetFaces(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, double jarg3)
static int OdDb3dSolid_setShowHistory(HandleRef jarg1, bool jarg2)
static int OdDb3dSolid_shellBody(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, double jarg3)
static void OdDb3dSolid_createBox(HandleRef jarg1, double jarg2, double jarg3, double jarg4)
static int OdDb3dSolid_setSubentMaterial(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDb3dSolid_stlOut__SWIG_1(HandleRef jarg1, HandleRef jarg2, bool jarg3)
static bool OdDb3dSolid_showHistory(HandleRef jarg1)
static int OdDb3dSolid_createRevolvedSolid__SWIG_1(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, double jarg6, double jarg7, global::System.Runtime.InteropServices.HandleRef jarg8)
static int OdDb3dSolid_getSection(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, ref IntPtr jarg3)
static int OdDb3dSolid_separateBody(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdDb3dSolid_taperFaces(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, double jarg5)
static bool OdDb3dSolid_isNull(HandleRef jarg1)
static int OdDb3dSolid_extrudeFaces(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, double jarg3, double jarg4)
static IntPtr OdDb3dSolid_subSubentPtr(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdDb3dSolid_extrude__SWIG_1(HandleRef jarg1, HandleRef jarg2, double jarg3)
static IntPtr OdDb3dSolid_desc()
static bool OdDb3dSolid_subWorldDraw(HandleRef jarg1, HandleRef jarg2)
static UInt32 OdDb3dSolid_subSetAttributes(HandleRef jarg1, HandleRef jarg2)
static string OdDb3dSolid_getRealClassName(IntPtr jarg1)
static IntPtr OdDb3dSolid_queryX(HandleRef jarg1, HandleRef jarg2)
static int OdDb3dSolid_createExtrudedSolid__SWIG_0(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static int OdDb3dSolid_stlOut__SWIG_2(HandleRef jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2, bool jarg3, double jarg4)
static int OdDb3dSolid_createExtrudedSolid__SWIG_1(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static void OdDb3dSolid_createSphere(HandleRef jarg1, double jarg2)
static int OdDb3dSolid_extrudeAlongPath__SWIG_1(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3)
static bool OdDb3dSolid_getFaceMesh(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, IntPtr jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static void OdDb3dSolid_dwgOutFields(HandleRef jarg1, HandleRef jarg2)
static int OdDb3dSolid_imprintEntity(HandleRef jarg1, HandleRef jarg2)
static int OdDb3dSolid_getSubentColor(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void OdDb3dSolid_brep(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdDb3dSolid_dxfInFields(HandleRef jarg1, HandleRef jarg2)
static int OdDb3dSolid_createPyramid__SWIG_1(HandleRef jarg1, double jarg2, int jarg3, double jarg4)
static int OdDb3dSolid_offsetBody(HandleRef jarg1, double jarg2)
static void OdDb3dSolid_subViewportDraw(HandleRef jarg1, HandleRef jarg2)
static void OdDb3dSolid_copyFrom(HandleRef jarg1, HandleRef jarg2)
static bool OdDb3dSolid_recordHistory(HandleRef jarg1)
static int OdDb3dSolid_acisOut__SWIG_1(HandleRef jarg1, HandleRef jarg2)
static int OdDb3dSolid_copyFace(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, ref IntPtr jarg3)
static void OdDb3dSolid_dxfOutFields(HandleRef jarg1, HandleRef jarg2)
static int OdDb3dSolid_extrudeAlongPath__SWIG_0(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, double jarg4)
static int OdDb3dSolid_subTransformBy(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdDb3dSolid_getSlice__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3, ref IntPtr jarg4)
static IntPtr OdDb3dSolid_isA(HandleRef jarg1)
static int OdDb3dSolid_extrudeFacesAlongPath(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, HandleRef jarg3)
static int OdDb3dSolid_acisIn__SWIG_1(HandleRef jarg1, HandleRef jarg2)
static int OdDb3dSolid_acisIn__SWIG_0(HandleRef jarg1, HandleRef jarg2, out int jarg3)
static int OdDb3dSolid_getSubentMaterialMapper(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void OdDb3dSolid_subClose(HandleRef jarg1)
static int OdDb3dSolid_subExplode(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdDb3dSolid_getSubentMaterial(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDb3dSolid_removeFaces(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdDb3dSolid_getMassProp(HandleRef jarg1, out double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, [In, MarshalAs(UnmanagedType.LPArray, SizeConst=3)]double[] jarg4, [In, MarshalAs(UnmanagedType.LPArray, SizeConst=3)]double[] jarg5, [In, MarshalAs(UnmanagedType.LPArray, SizeConst=3)]double[] jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, [In, MarshalAs(UnmanagedType.LPArray, SizeConst=3)]double[] jarg8, global::System.Runtime.InteropServices.HandleRef jarg9)
static int OdDb3dSolid_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 int OdDb3dSolid_setRecordHistory(HandleRef jarg1, bool jarg2)
static int OdDb3dSolid_createPyramid__SWIG_0(HandleRef jarg1, double jarg2, int jarg3, double jarg4, double jarg5)
static int OdDb3dSolid_setSubentColor(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDb3dSolid_transformFaces(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, IntPtr jarg3)
static int OdDb3dSolid_getSlice__SWIG_1(HandleRef jarg1, HandleRef jarg2, bool jarg3, ref IntPtr jarg4)
static int OdDb3dSolid_createSweptSolid__SWIG_0(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static void delete_OdDb3dSolid(HandleRef jarg1)
static void OdDb3dSolid_createWedge(HandleRef jarg1, double jarg2, double jarg3, double jarg4)
static int OdDb3dSolid_createExtrudedSolid__SWIG_2(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, double jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static int OdDb3dSolid_extrude__SWIG_0(HandleRef jarg1, HandleRef jarg2, double jarg3, double jarg4)
static int OdDb3dSolid_createSweptSolid__SWIG_1(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static IntPtr OdDb3dSolid_cast(HandleRef jarg1)
static int OdDb3dSolid_projectOnToSolid(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static int OdDb3dSolid_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 OdDb3dSolid_createFrom(HandleRef jarg1, HandleRef jarg2)
static void OdDb3dSolid_createTorus(HandleRef jarg1, double jarg2, double jarg3)
static int OdDb3dSolid_booleanOper(HandleRef jarg1, int jarg2, HandleRef jarg3)
static int OdDb3dSolid_chamferEdges(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, double jarg4, double jarg5)
static int OdDb3dSolid_cleanBody(HandleRef jarg1)
static IntPtr OdDb3dSolid_internalSubentPtr(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdDb3dSolid_dwgInFields(HandleRef jarg1, HandleRef jarg2)
static int OdDb3dSolid_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 OdDb3dSolid_getArea(HandleRef jarg1, out double jarg2)
static int OdDb3dSolid_createRevolvedSolid__SWIG_0(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, double jarg5, double jarg6, global::System.Runtime.InteropServices.HandleRef jarg7)
static int OdDb3dSolid_convertToBrepAtSubentPaths(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)