14using System.Runtime.InteropServices;
18 private Object locker =
new Object();
19 private HandleRef swigCPtr;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
22 swigCPtr =
new HandleRef(
this, cPtr);
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
27 return (obj ==
null) ?
new HandleRef(
null, IntPtr.Zero) : obj.swigCPtr;
30 protected override void Dispose(
bool disposing) {
32 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
37 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero);
39 base.Dispose(disposing);
44 MemoryManager mMan = MemoryManager.GetMemoryManager();
45 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
85 MemoryManager mMan = MemoryManager.GetMemoryManager();
86 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
204 MemoryManager mMan = MemoryManager.GetMemoryManager();
205 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
272 public virtual OdResult getAreaProp(
OdGePoint3d origin,
OdGeVector3d xAxis,
OdGeVector3d yAxis, out
double perimeter, out
double area,
OdGePoint2d centroid,
double[] momInertia, out
double prodInertia,
double[] prinMoments,
OdGeVector2d prinAxes,
double[] radiiGyration,
OdGePoint2d extentsLow,
OdGePoint2d extentsHigh) {
273 OdResult ret = (
OdResult)
TD_DbPINVOKE.
OdDbRegion_getAreaProp(swigCPtr,
OdGePoint3d.
getCPtr(origin),
OdGeVector3d.
getCPtr(xAxis),
OdGeVector3d.
getCPtr(yAxis), out perimeter, out area,
OdGePoint2d.
getCPtr(centroid), momInertia , out prodInertia, prinMoments ,
OdGeVector2d.
getCPtr(prinAxes), radiiGyration ,
OdGePoint2d.
getCPtr(extentsLow),
OdGePoint2d.
getCPtr(extentsHigh));
315 MemoryManager mMan = MemoryManager.GetMemoryManager();
316 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
static HandleRef getCPtr(OdBrBrep obj)
static HandleRef getCPtr(OdDbSubentId obj)
static HandleRef getCPtr(OdGeExtents3d obj)
static HandleRef getCPtr(OdGeMatrix3d obj)
static HandleRef getCPtr(OdGePlane obj)
static HandleRef getCPtr(OdGePoint2d obj)
static HandleRef getCPtr(OdGePoint3dArray obj)
static HandleRef getCPtr(OdGePoint3d obj)
static HandleRef getCPtr(OdGeTrMesh obj)
static HandleRef getCPtr(OdGeVector2d obj)
static HandleRef getCPtr(OdGeVector3d obj)
virtual OdGiDrawable.DrawableType drawableType()
static HandleRef getCPtr(OdGiDrawableTraits obj)
static HandleRef getCPtr(OdGiWorldDraw obj)
static HandleRef getCPtr(OdGsMarkerArray obj)
static HandleRef getCPtr(OdRxClass obj)
static HandleRef getCPtr(OdRxObject obj)
static HandleRef getCPtr(OdRxObjectPtrArray obj)
static HandleRef getCPtr(OdStreamBuf obj)
static HandleRef getCPtr(wrTriangulationParams obj)
static HandleRef getCPtr(OdDbDwgFiler obj)
static HandleRef getCPtr(OdDbDxfFiler obj)
virtual CollisionType collisionType()
static HandleRef getCPtr(OdDbEntity obj)
virtual void gripStatus(GripStat status)
static HandleRef getCPtr(OdDbFullSubentPathArray obj)
static HandleRef getCPtr(OdDbFullSubentPath obj)
static HandleRef getCPtr(OdDbObjectIdArray obj)
static HandleRef getCPtr(OdDbObjectId obj)
static OdResult createFromCurves(OdRxObjectPtrArray curveSegments, OdRxObjectPtrArray regions)
virtual OdDbSubentId internalSubentId(IntPtr ent)
Teigha.Core.LineWeight vb_lineWeight()
OdResult acisOut(OdStreamBuf pStreamBuf, int typeVer)
static HandleRef getCPtr(OdDbRegion obj)
OdResult acisIn(OdStreamBuf pStreamBuf)
override void Dispose(bool disposing)
OdResult acisOut(OdStreamBuf pStreamBuf)
void vb_gripStatus(Teigha.Core.GripStat status)
override void copyFrom(OdRxObject pSource)
virtual UInt32 numChanges()
virtual new OdResult subIntersectWith(OdDbEntity pEnt, Intersect intType, OdGePoint3dArray points, IntPtr thisGsMarker)
static string getRealClassName(IntPtr ptr)
virtual new OdResult subGetSubentPathsAtGsMarker(Teigha.Core.SubentType type, IntPtr gsMark, OdGePoint3d pickPoint, OdGeMatrix3d viewXform, OdDbFullSubentPathArray subentPaths, OdDbObjectIdArray pEntAndInsertStack)
virtual OdResult getAreaProp(OdGePoint3d origin, OdGeVector3d xAxis, OdGeVector3d yAxis, out double perimeter, out double area, OdGePoint2d centroid, double[] momInertia, out double prodInertia, double[] prinMoments, OdGeVector2d prinAxes, double[] radiiGyration, OdGePoint2d extentsLow, OdGePoint2d extentsHigh)
virtual new OdResult subIntersectWith(OdDbEntity pEnt, Intersect intType, OdGePoint3dArray points, IntPtr thisGsMarker, IntPtr otherGsMarker)
override OdResult dwgInFields(OdDbDwgFiler pFiler)
Teigha.TD.Visibility vb_visibility()
override OdRxObject queryX(OdRxClass protocolClass)
virtual OdResult getArea(out double regionArea)
override OdResult getPlane(OdGePlane plane, out Planarity planarity)
virtual OdResult getPerimeter(out double arg0)
virtual OdResult setBody(IntPtr pGeometry)
virtual Teigha.Core.OdGiDrawable.DrawableType vb_drawableType()
override OdResult subGetClassID(IntPtr pClsid)
static new OdRxClass desc()
override OdDbObject decomposeForSave(DwgVersion ver, OdDbObjectId replaceId, out bool exchangeXData)
override void dwgOutFields(OdDbDwgFiler pFiler)
virtual new OdResult subExplode(OdRxObjectPtrArray entitySet)
virtual new OdResult subTransformBy(OdGeMatrix3d xfm)
virtual OdResult booleanOper(BoolOperType operation, OdDbRegion otherRegion)
virtual new OdResult subIntersectWith(OdDbEntity pEnt, Intersect intType, OdGePlane projPlane, OdGePoint3dArray points, IntPtr thisGsMarker, IntPtr otherGsMarker)
virtual new OdResult subGetGeomExtents(OdGeExtents3d extents)
virtual new OdDbEntity subSubentPtr(OdDbFullSubentPath id)
override void saveAs(OdGiWorldDraw pWd, DwgVersion ver)
virtual new OdResult subGetGsMarkersAtSubentPath(OdDbFullSubentPath subPath, OdGsMarkerArray gsMarkers)
virtual new OdResult subIntersectWith(OdDbEntity pEnt, Intersect intType, OdGePlane projPlane, OdGePoint3dArray points, IntPtr thisGsMarker)
static OdDbRegion cast(OdRxObject pObj)
override void dxfOutFields(OdDbDxfFiler pFiler)
OdDbRegion(IntPtr cPtr, bool cMemoryOwn)
virtual new OdResult subGetSubentPathsAtGsMarker(Teigha.Core.SubentType type, IntPtr gsMark, OdGePoint3d pickPoint, OdGeMatrix3d viewXform, OdDbFullSubentPathArray subentPaths)
override bool subWorldDraw(OdGiWorldDraw pWd)
OdResult acisIn(OdStreamBuf pStreamBuf, out int typeVer)
virtual new OdResult subIntersectWith(OdDbEntity pEnt, Intersect intType, OdGePoint3dArray points)
virtual Teigha.TD.CollisionType vb_collisionType()
override UInt32 subSetAttributes(OdGiDrawableTraits pTraits)
virtual new OdResult subIntersectWith(OdDbEntity pEnt, Intersect intType, OdGePlane projPlane, OdGePoint3dArray points)
override OdResult dxfInFields(OdDbDxfFiler pFiler)
virtual IntPtr internalSubentPtr(OdDbSubentId id)
static new OdDbRegion createObject()
virtual OdResult getNormal(OdGeVector3d normal)
bool getFaceMesh(OdGeTrMesh mesh, IntPtr iFace, wrTriangulationParams triangulationParams)
static global::System.Exception Retrieve()
static IntPtr OdDbRegion_cast(HandleRef jarg1)
static global::System.IntPtr OdDbRegion_internalSubentId(HandleRef jarg1, IntPtr jarg2)
static int OdDbRegion_acisIn__SWIG_1(HandleRef jarg1, HandleRef jarg2)
static UInt32 OdDbRegion_numChanges(HandleRef jarg1)
static void OdDbRegion_saveAs(HandleRef jarg1, HandleRef jarg2, int jarg3)
static bool OdDbRegion_isNull(HandleRef jarg1)
static void OdDbRegion_dxfOutFields(HandleRef jarg1, HandleRef jarg2)
static UInt32 OdDbRegion_subSetAttributes(HandleRef jarg1, HandleRef jarg2)
static int OdDbRegion_setBody(HandleRef jarg1, IntPtr jarg2)
static int OdDbRegion_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 OdDbRegion_booleanOper(HandleRef jarg1, int jarg2, HandleRef jarg3)
static bool OdDbRegion_isPlanar(HandleRef jarg1)
static void OdDbRegion_dwgOutFields(HandleRef jarg1, HandleRef jarg2)
static int OdDbRegion_subGetGeomExtents(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdDbRegion_subIntersectWith__SWIG_4(HandleRef jarg1, HandleRef jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, IntPtr jarg6)
static int OdDbRegion_getPerimeter(HandleRef jarg1, out double jarg2)
static IntPtr OdDbRegion_body(HandleRef jarg1)
static int OdDbRegion_subIntersectWith__SWIG_1(HandleRef jarg1, HandleRef jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, IntPtr jarg5)
static IntPtr OdDbRegion_desc()
static int OdDbRegion_subGetClassID(HandleRef jarg1, IntPtr jarg2)
static int OdDbRegion_subIntersectWith__SWIG_3(HandleRef jarg1, HandleRef jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, IntPtr jarg6, IntPtr jarg7)
static bool OdDbRegion_subWorldDraw(HandleRef jarg1, HandleRef jarg2)
static string OdDbRegion_getRealClassName(IntPtr jarg1)
static int OdDbRegion_getNormal(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdDbRegion_dwgInFields(HandleRef jarg1, HandleRef jarg2)
static int OdDbRegion_subIntersectWith__SWIG_0(HandleRef jarg1, HandleRef jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, IntPtr jarg5, IntPtr jarg6)
static int OdDbRegion_getAreaProp(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, out double jarg5, out double jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, [In, MarshalAs(UnmanagedType.LPArray, SizeConst=2)]double[] jarg8, out double jarg9, [In, MarshalAs(UnmanagedType.LPArray, SizeConst=2)]double[] jarg10, global::System.Runtime.InteropServices.HandleRef jarg11, [In, MarshalAs(UnmanagedType.LPArray, SizeConst=2)]double[] jarg12, global::System.Runtime.InteropServices.HandleRef jarg13, global::System.Runtime.InteropServices.HandleRef jarg14)
static int OdDbRegion_dxfInFields(HandleRef jarg1, HandleRef jarg2)
static int OdDbRegion_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 OdDbRegion_subTransformBy(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdDbRegion_subGetGsMarkersAtSubentPath(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdDbRegion_getPlane(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, out Planarity jarg3)
static bool OdDbRegion_getFaceMesh(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, IntPtr jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static int OdDbRegion_subIntersectWith__SWIG_5(HandleRef jarg1, HandleRef jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static void OdDbRegion_copyFrom(HandleRef jarg1, HandleRef jarg2)
static IntPtr OdDbRegion_decomposeForSave(HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, out bool jarg4)
static int OdDbRegion_acisOut__SWIG_1(HandleRef jarg1, HandleRef jarg2)
static int OdDbRegion_getArea(HandleRef jarg1, out double jarg2)
static void OdDbRegion_subClose(HandleRef jarg1)
static void delete_OdDbRegion(HandleRef jarg1)
static int OdDbRegion_createFromCurves(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdDbRegion_acisOut__SWIG_0(HandleRef jarg1, HandleRef jarg2, int jarg3)
static int OdDbRegion_acisIn__SWIG_0(HandleRef jarg1, HandleRef jarg2, out int jarg3)
static IntPtr OdDbRegion_subSubentPtr(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdDbRegion_createObject()
static IntPtr OdDbRegion_internalSubentPtr(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdDbRegion_queryX(HandleRef jarg1, HandleRef jarg2)
static void OdDbRegion_brep(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdDbRegion_subExplode(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdDbRegion_subIntersectWith__SWIG_2(HandleRef jarg1, HandleRef jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static IntPtr OdDbRegion_isA(HandleRef jarg1)