14using System.Runtime.InteropServices;
17 private Object locker =
new Object();
18 private HandleRef swigCPtr;
19 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
21 swigCPtr =
new HandleRef(
this, cPtr);
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 return (obj ==
null) ?
new HandleRef(
null, IntPtr.Zero) : obj.swigCPtr;
29 protected override void Dispose(
bool disposing) {
31 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
36 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero);
38 base.Dispose(disposing);
43 MemoryManager mMan = MemoryManager.GetMemoryManager();
44 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
84 MemoryManager mMan = MemoryManager.GetMemoryManager();
85 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
161IntPtr p_numVertices=
Teigha.
Core.Helpers.MarshalPoint3dArray(numVertices);
166Marshal.FreeCoTaskMem(p_numVertices);
171IntPtr p_numVertices=
Teigha.
Core.Helpers.MarshalPoint3dArray(numVertices);
176Marshal.FreeCoTaskMem(p_numVertices);
181IntPtr p_numVertices=
Teigha.
Core.Helpers.MarshalPoint3dArray(numVertices);
186Marshal.FreeCoTaskMem(p_numVertices);
191IntPtr p_numVertices=
Teigha.
Core.Helpers.MarshalPoint3dArray(numVertices);
196Marshal.FreeCoTaskMem(p_numVertices);
201IntPtr p_numVertices=
Teigha.
Core.Helpers.MarshalPoint3dArray(numVertices);
206Marshal.FreeCoTaskMem(p_numVertices);
225 public virtual void mesh(MeshData numRows) {
226IntPtr p_numRows=
Teigha.
Core.Helpers.MarshalMeshData(numRows);
231Marshal.FreeCoTaskMem(p_numRows);
235 public virtual void shell(ShellData numVertices) {
236IntPtr p_numVertices=
Teigha.
Core.Helpers.MarshalShellData(numVertices);
241Marshal.FreeCoTaskMem(p_numVertices);
271IntPtr p_endPointsOverrides=
Teigha.
Core.Helpers.MarshalPointPair(endPointsOverrides);
276if (p_endPointsOverrides != IntPtr.Zero) Marshal.FreeCoTaskMem(p_endPointsOverrides);
281IntPtr p_endPointsOverrides=
Teigha.
Core.Helpers.MarshalPointPair(endPointsOverrides);
286if (p_endPointsOverrides != IntPtr.Zero) Marshal.FreeCoTaskMem(p_endPointsOverrides);
338IntPtr p_numPoints=
Teigha.
Core.Helpers.MarshalPoint3dArray(numPoints);
343Marshal.FreeCoTaskMem(p_numPoints);
348IntPtr p_numPoints=
Teigha.
Core.Helpers.MarshalPoint3dArray(numPoints);
353Marshal.FreeCoTaskMem(p_numPoints);
358IntPtr p_numPoints=
Teigha.
Core.Helpers.MarshalPoint3dArray(numPoints);
363Marshal.FreeCoTaskMem(p_numPoints);
368IntPtr p_numPoints=
Teigha.
Core.Helpers.MarshalPoint3dArray(numPoints);
373Marshal.FreeCoTaskMem(p_numPoints);
378IntPtr p_numPoints=
Teigha.
Core.Helpers.MarshalPoint3dArray(numPoints);
383Marshal.FreeCoTaskMem(p_numPoints);
388IntPtr p_numPoints=
Teigha.
Core.Helpers.MarshalPoint3dArray(numPoints);
393Marshal.FreeCoTaskMem(p_numPoints);
398IntPtr p_numPoints=
Teigha.
Core.Helpers.MarshalPoint3dArray(numPoints);
403Marshal.FreeCoTaskMem(p_numPoints);
408IntPtr p_numPoints=
Teigha.
Core.Helpers.MarshalPoint3dArray(numPoints);
413Marshal.FreeCoTaskMem(p_numPoints);
418IntPtr p_numPoints=
Teigha.
Core.Helpers.MarshalPoint3dArray(numPoints);
423Marshal.FreeCoTaskMem(p_numPoints);
428IntPtr p_numPoints=
Teigha.
Core.Helpers.MarshalPoint3dArray(numPoints);
433Marshal.FreeCoTaskMem(p_numPoints);
static global::System.Exception Retrieve()
static void OdGiGeometry_polyline__SWIG_0(HandleRef jarg1, IntPtr jarg2, global::System.Runtime.InteropServices.HandleRef jarg4, IntPtr jarg5)
static void OdGiGeometry_polyPolygon__SWIG_1(HandleRef jarg1, UInt32 jarg2, ref UInt32 jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, ref UInt32 jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, ref UInt32 jarg8, global::System.Runtime.InteropServices.HandleRef jarg9)
static string OdGiGeometry_getRealClassName(IntPtr jarg1)
static void OdGiGeometry_pushModelTransform__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiGeometry_ray(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool OdGiGeometry_brep(HandleRef jarg1, HandleRef jarg2)
static void OdGiGeometry_ellipticArc__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, IntPtr jarg3)
static void OdGiGeometry_circularArc__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, double jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, double jarg6, int jarg7)
static void OdGiGeometry_popModelTransform(HandleRef jarg1)
static void OdGiGeometry_circle__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, double jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static void OdGiGeometry_polygon__SWIG_0(HandleRef jarg1, IntPtr jarg2)
static void OdGiGeometry_image__SWIG_1(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 void OdGiGeometry_polypoint__SWIG_9(HandleRef jarg1, IntPtr jarg2)
static IntPtr OdGiGeometry_isA(HandleRef jarg1)
static global::System.IntPtr OdGiGeometry_currentGiPath(HandleRef jarg1)
static void OdGiGeometry_mesh(HandleRef jarg1, IntPtr jarg2)
static void OdGiGeometry_polypoint__SWIG_6(HandleRef jarg1, IntPtr jarg2, global::System.Runtime.InteropServices.HandleRef jarg4)
static void OdGiGeometry_polypoint__SWIG_2(HandleRef jarg1, IntPtr jarg2, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6)
static void OdGiGeometry_nurbs(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiGeometry_polygon__SWIG_1(HandleRef jarg1, IntPtr jarg2, global::System.Runtime.InteropServices.HandleRef jarg4)
static void OdGiGeometry_polyPolygon__SWIG_4(HandleRef jarg1, UInt32 jarg2, ref UInt32 jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, ref UInt32 jarg5, global::System.Runtime.InteropServices.HandleRef jarg6)
static void OdGiGeometry_polyPolygon__SWIG_0(HandleRef jarg1, UInt32 jarg2, ref UInt32 jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, ref UInt32 jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, ref UInt32 jarg8, global::System.Runtime.InteropServices.HandleRef jarg9, global::System.Runtime.InteropServices.HandleRef jarg10)
static void OdGiGeometry_polypoint__SWIG_7(HandleRef jarg1, IntPtr jarg2, global::System.Runtime.InteropServices.HandleRef jarg4, IntPtr jarg5)
static void OdGiGeometry_polyPolygon__SWIG_2(HandleRef jarg1, UInt32 jarg2, ref UInt32 jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, ref UInt32 jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, ref UInt32 jarg8)
static void OdGiGeometry_ellipticArc__SWIG_2(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiGeometry_pushClipBoundary__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void OdGiGeometry_text__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, double jarg5, double jarg6, double jarg7, [MarshalAs(UnmanagedType.LPWStr)]String jarg8)
static void OdGiGeometry_popClipBoundary(HandleRef jarg1)
static void OdGiGeometry_edge(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiGeometry_pline__SWIG_1(HandleRef jarg1, HandleRef jarg2, UInt32 jarg3)
static void OdGiGeometry_polypoint__SWIG_5(HandleRef jarg1, IntPtr jarg2, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static void OdGiGeometry_polypoint__SWIG_3(HandleRef jarg1, IntPtr jarg2, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static void OdGiGeometry_polypoint__SWIG_4(HandleRef jarg1, IntPtr jarg2, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, IntPtr jarg6)
static void OdGiGeometry_circularArc__SWIG_2(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5)
static void OdGiGeometry_image__SWIG_0(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, int jarg6)
static void delete_OdGiGeometry(HandleRef jarg1)
static IntPtr OdGiGeometry_cast(HandleRef jarg1)
static void OdGiGeometry_xline(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void OdGiGeometry_pushClipBoundary__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdGiGeometry_draw(HandleRef jarg1, HandleRef jarg2)
static void OdGiGeometry_polyPolygon__SWIG_3(HandleRef jarg1, UInt32 jarg2, ref UInt32 jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, ref UInt32 jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7)
static void OdGiGeometry_WorldLine(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void OdGiGeometry_shell(HandleRef jarg1, IntPtr jarg2)
static void OdGiGeometry_pline__SWIG_0(HandleRef jarg1, HandleRef jarg2, UInt32 jarg3, UInt32 jarg4)
static void OdGiGeometry_text__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, [MarshalAs(UnmanagedType.LPWStr)]string jarg5, bool jarg7, global::System.Runtime.InteropServices.HandleRef jarg8)
static void OdGiGeometry_circularArc__SWIG_3(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static void OdGiGeometry_polypoint__SWIG_1(HandleRef jarg1, IntPtr jarg2, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, IntPtr jarg7)
static void OdGiGeometry_pline__SWIG_2(HandleRef jarg1, HandleRef jarg2)
static IntPtr OdGiGeometry_desc()
static global::System.IntPtr OdGiGeometry_getModelToWorldTransform(HandleRef jarg1)
static void OdGiGeometry_polypoint__SWIG_8(HandleRef jarg1, IntPtr jarg2, global::System.Runtime.InteropServices.HandleRef jarg4)
static void OdGiGeometry_pointCloud(HandleRef jarg1, HandleRef jarg2)
static void OdGiGeometry_circularArc__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, double jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, double jarg6)
static void OdGiGeometry_polypoint__SWIG_0(HandleRef jarg1, IntPtr jarg2, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, IntPtr jarg7, Int32 jarg8)
static void OdGiGeometry_polyline__SWIG_1(HandleRef jarg1, IntPtr jarg2, global::System.Runtime.InteropServices.HandleRef jarg4)
static void OdGiGeometry_polyline__SWIG_2(HandleRef jarg1, IntPtr jarg2)
static IntPtr OdGiGeometry_queryX(HandleRef jarg1, HandleRef jarg2)
static IntPtr OdGiGeometry_createObject()
static void OdGiGeometry_ellipticArc__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, IntPtr jarg3, int jarg4)
static void OdGiGeometry_pushModelTransform__SWIG_0(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGiGeometry_getWorldToModelTransform(HandleRef jarg1)
static void OdGiGeometry_circle__SWIG_1(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static void OdGiGeometry_rowOfDots(HandleRef jarg1, Int32 jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static HandleRef getCPtr(OdCmEntityColor obj)
static HandleRef getCPtr(OdCmTransparency obj)
static HandleRef getCPtr(OdGeEllipArc3d obj)
static HandleRef getCPtr(OdGeMatrix3d obj)
static HandleRef getCPtr(OdGeNurbCurve3d obj)
static HandleRef getCPtr(OdGePoint3d obj)
static HandleRef getCPtr(OdGeVector3d obj)
static HandleRef getCPtr(OdGiAbstractClipBoundary obj)
static HandleRef getCPtr(OdGiBrep obj)
static HandleRef getCPtr(OdGiClipBoundary obj)
static HandleRef getCPtr(OdGiDrawable obj)
static HandleRef getCPtr(OdGiEdge2dArray obj)
virtual void pushModelTransform(OdGeVector3d normal)
virtual void pointCloud(OdGiPointCloud pCloud)
virtual OdGeMatrix3d getModelToWorldTransform()
OdGiGeometry(IntPtr cPtr, bool cMemoryOwn)
virtual bool brep(OdGiBrep giBrep)
virtual void pushClipBoundary(OdGiClipBoundary pBoundary)
virtual void pline(OdGiPolyline polyline)
virtual void polypoint(OdGePoint3d[] numPoints, OdCmEntityColor pColors, OdCmTransparency pTransparency, OdGeVector3d pNormals, IntPtr[] pSubEntMarkers, Int32 nPointSize)
virtual void ellipticArc(OdGeEllipArc3d ellipArc, OdGePoint3d[] endPointsOverrides)
virtual void pline(OdGiPolyline polyline, UInt32 fromIndex, UInt32 numSegs)
virtual void polypoint(OdGePoint3d[] numPoints, OdCmEntityColor pColors, OdGeVector3d pNormals, IntPtr[] pSubEntMarkers)
virtual void pushClipBoundary(OdGiClipBoundary pBoundary, OdGiAbstractClipBoundary pClipInfo)
static OdGiGeometry createObject()
virtual void popClipBoundary()
virtual void circularArc(OdGePoint3d center, double radius, OdGeVector3d normal, OdGeVector3d startVector, double sweepAngle)
virtual void text(OdGePoint3d position, OdGeVector3d normal, OdGeVector3d direction, string msg, bool raw, OdGiTextStyle pTextStyle)
virtual void ellipticArc(OdGeEllipArc3d ellipArc)
virtual void polypoint(OdGePoint3d[] numPoints, OdCmEntityColor pColors, OdCmTransparency pTransparency, OdGeVector3d pNormals, IntPtr[] pSubEntMarkers)
virtual void vb_mesh(Teigha.Core.MeshData numRows)
virtual void circularArc(OdGePoint3d firstPoint, OdGePoint3d secondPoint, OdGePoint3d thirdPoint)
virtual void circle(OdGePoint3d center, double radius, OdGeVector3d normal)
virtual void polypoint(OdGePoint3d[] numPoints, OdGeVector3d pNormals)
virtual void pushModelTransform(OdGeMatrix3d xfm)
virtual void shell(ShellData numVertices)
static OdGiGeometry cast(OdRxObject pObj)
virtual void polypoint(OdGePoint3d[] numPoints, OdCmEntityColor pColors, OdGeVector3d pNormals)
virtual void edge(OdGiEdge2dArray edges)
virtual void image(OdGiImageBGRA32 img, OdGePoint3d origin, OdGeVector3d uVec, OdGeVector3d vVec, OdGiRasterImage.TransparencyMode trpMode)
virtual void polypoint(OdGePoint3d[] numPoints, OdGeVector3d pNormals, IntPtr[] pSubEntMarkers)
virtual void popModelTransform()
virtual void nurbs(OdGeNurbCurve3d nurbsCurve)
virtual void image(OdGiImageBGRA32 img, OdGePoint3d origin, OdGeVector3d uVec, OdGeVector3d vVec)
virtual void polyline(OdGePoint3d[] numVertices, OdGeVector3d pNormal, IntPtr baseSubEntMarker)
virtual void polyPolygon(UInt32 numIndices, ref UInt32 pNumPositions, OdGePoint3d pPositions, ref UInt32 pNumPoints, OdGePoint3d pPoints, OdCmEntityColor pOutlineColors, ref UInt32 pOutlinePsLinetypes, OdCmEntityColor pFillColors)
virtual void circle(OdGePoint3d firstPoint, OdGePoint3d secondPoint, OdGePoint3d thirdPoint)
virtual void polygon(OdGePoint3d[] numVertices, OdGeVector3d pNormal)
virtual void WorldLine(OdGePoint3d startPoint, OdGePoint3d endPoint)
virtual void polypoint(OdGePoint3d[] numPoints, OdCmEntityColor pColors)
virtual void polyPolygon(UInt32 numIndices, ref UInt32 pNumPositions, OdGePoint3d pPositions, ref UInt32 pNumPoints, OdGePoint3d pPoints, OdCmEntityColor pOutlineColors, ref UInt32 pOutlinePsLinetypes, OdCmEntityColor pFillColors, OdCmTransparency pFillTransparencies)
virtual void polyline(OdGePoint3d[] numVertices, OdGeVector3d pNormal)
virtual void polyPolygon(UInt32 numIndices, ref UInt32 pNumPositions, OdGePoint3d pPositions, ref UInt32 pNumPoints, OdGePoint3d pPoints)
virtual void polygon(OdGePoint3d[] numVertices)
virtual void mesh(MeshData numRows)
static new OdRxClass desc()
virtual void polyline(OdGePoint3d[] numVertices)
override OdRxObject queryX(OdRxClass protocolClass)
virtual void vb_edge(Teigha.Core.OdGiEdge2dArray edges)
virtual void ray(OdGePoint3d basePoint, OdGePoint3d throughPoint)
virtual void xline(OdGePoint3d firstPoint, OdGePoint3d secondPoint)
virtual void circularArc(OdGePoint3d firstPoint, OdGePoint3d secondPoint, OdGePoint3d thirdPoint, OdGiArcType arcType)
virtual OdGiPathNode currentGiPath()
virtual void polypoint(OdGePoint3d[] numPoints, OdCmEntityColor pColors, OdCmTransparency pTransparency)
virtual OdGeMatrix3d getWorldToModelTransform()
virtual void circularArc(OdGePoint3d center, double radius, OdGeVector3d normal, OdGeVector3d startVector, double sweepAngle, OdGiArcType arcType)
virtual void polypoint(OdGePoint3d[] numPoints, OdCmEntityColor pColors, OdCmTransparency pTransparency, OdGeVector3d pNormals)
static string getRealClassName(IntPtr ptr)
virtual void draw(OdGiDrawable pDrawable)
virtual void rowOfDots(Int32 numPoints, OdGePoint3d startPoint, OdGeVector3d dirToNextPoint)
virtual void ellipticArc(OdGeEllipArc3d ellipArc, OdGePoint3d[] endPointsOverrides, OdGiArcType arcType)
virtual void text(OdGePoint3d position, OdGeVector3d normal, OdGeVector3d direction, double height, double width, double oblique, String msg)
virtual void polyPolygon(UInt32 numIndices, ref UInt32 pNumPositions, OdGePoint3d pPositions, ref UInt32 pNumPoints, OdGePoint3d pPoints, OdCmEntityColor pOutlineColors, ref UInt32 pOutlinePsLinetypes)
virtual void polypoint(OdGePoint3d[] numPoints)
virtual void pline(OdGiPolyline polyline, UInt32 fromIndex)
override void Dispose(bool disposing)
static HandleRef getCPtr(OdGiGeometry obj)
virtual void polyPolygon(UInt32 numIndices, ref UInt32 pNumPositions, OdGePoint3d pPositions, ref UInt32 pNumPoints, OdGePoint3d pPoints, OdCmEntityColor pOutlineColors)
static HandleRef getCPtr(OdGiImageBGRA32 obj)
static HandleRef getCPtr(OdGiPointCloud obj)
static HandleRef getCPtr(OdGiPolyline obj)
static HandleRef getCPtr(OdGiTextStyle obj)
static HandleRef getCPtr(OdRxClass obj)
static HandleRef getCPtr(OdRxObject obj)