Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
TempOdGiWrapperGeometry.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.Core {
12
13using System;
14using System.Runtime.InteropServices;
15
17 private Object locker = new Object();
18 private HandleRef swigCPtr;
19 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
20 public TempOdGiWrapperGeometry(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.TempOdGiWrapperGeometry_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(TempOdGiWrapperGeometry obj) {
26 return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
27 }
28
29 protected override void Dispose(bool disposing) {
30 lock(this) {
31 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
32 if (swigCMemOwn) {
33 swigCMemOwn = false;
35 }
36 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
37 }
38 base.Dispose(disposing);
39 }
40 }
41
42 public virtual void pline(OdGiPolyline p, UInt32 /*SIMPLETYPE*/ i, UInt32 /*SIMPLETYPE*/ n) {
43 GlobalsPINVOKE.TempOdGiWrapperGeometry_pline(swigCPtr, OdGiPolyline.getCPtr(p), i /*SIMPLETYPE*/, n /*SIMPLETYPE*/);
45 }
46
50 return ret;
51 }
52
56 return ret;
57 }
58
59 public virtual void pushModelTransform(OdGeVector3d vNormal) {
62 }
63
64 public virtual void pushModelTransform(OdGeMatrix3d xMat) {
67 }
68
69 public virtual void popModelTransform() {
72 }
73
74 public virtual void circle(OdGePoint3d center, double radius, OdGeVector3d normal) {
77 }
78
79 public virtual void circle(OdGePoint3d p1, OdGePoint3d p2, OdGePoint3d p3) {
82 }
83
84 public virtual void circularArc(OdGePoint3d center, double radius, OdGeVector3d normal, OdGeVector3d startVector, double sweepAngle, OdGiArcType arcType) {
85 GlobalsPINVOKE.TempOdGiWrapperGeometry_circularArc__SWIG_0(swigCPtr, OdGePoint3d.getCPtr(center), radius, OdGeVector3d.getCPtr(normal), OdGeVector3d.getCPtr(startVector), sweepAngle, (int)arcType);
87 }
88
89 public virtual void circularArc(OdGePoint3d center, double radius, OdGeVector3d normal, OdGeVector3d startVector, double sweepAngle) {
92 }
93
94 public virtual void circularArc(OdGePoint3d start, OdGePoint3d point, OdGePoint3d end, OdGiArcType arcType) {
97 }
98
99 public virtual void circularArc(OdGePoint3d start, OdGePoint3d point, OdGePoint3d end) {
102 }
103
104 public virtual void polyline(OdGePoint3d[] /*POINTARRAY_TYPEMAP*/ nbPoints, OdGeVector3d pNormal, IntPtr /*SIMPLETYPE*/ lBaseSubEntMarker) {
105IntPtr p_nbPoints=Teigha.Core.Helpers.MarshalPoint3dArray(nbPoints);
106 try {
107 GlobalsPINVOKE.TempOdGiWrapperGeometry_polyline__SWIG_0(swigCPtr, p_nbPoints, OdGeVector3d.getCPtr(pNormal), lBaseSubEntMarker /*SIMPLETYPE*/);
109 } finally {
110Marshal.FreeCoTaskMem(p_nbPoints);
111 }
112 }
113
114 public virtual void polyline(OdGePoint3d[] /*POINTARRAY_TYPEMAP*/ nbPoints, OdGeVector3d pNormal) {
115IntPtr p_nbPoints=Teigha.Core.Helpers.MarshalPoint3dArray(nbPoints);
116 try {
119 } finally {
120Marshal.FreeCoTaskMem(p_nbPoints);
121 }
122 }
123
124 public virtual void polyline(OdGePoint3d[] /*POINTARRAY_TYPEMAP*/ nbPoints) {
125IntPtr p_nbPoints=Teigha.Core.Helpers.MarshalPoint3dArray(nbPoints);
126 try {
129 } finally {
130Marshal.FreeCoTaskMem(p_nbPoints);
131 }
132 }
133
134 public virtual void polygon(OdGePoint3d[] /*POINTARRAY_TYPEMAP*/ nbPoints) {
135IntPtr p_nbPoints=Teigha.Core.Helpers.MarshalPoint3dArray(nbPoints);
136 try {
139 } finally {
140Marshal.FreeCoTaskMem(p_nbPoints);
141 }
142 }
143
144 public virtual void polygon(OdGePoint3d[] /*POINTARRAY_TYPEMAP*/ nbPoints, OdGeVector3d pNormal) {
145IntPtr p_nbPoints=Teigha.Core.Helpers.MarshalPoint3dArray(nbPoints);
146 try {
149 } finally {
150Marshal.FreeCoTaskMem(p_nbPoints);
151 }
152 }
153
154 public virtual void mesh(MeshData rows) {
155IntPtr p_rows=Teigha.Core.Helpers.MarshalMeshData(rows);
156 try {
159 } finally {
160Marshal.FreeCoTaskMem(p_rows);
161 }
162 }
163
164 public virtual void shell(ShellData nbVertex) {
165IntPtr p_nbVertex=Teigha.Core.Helpers.MarshalShellData(nbVertex);
166 try {
167 GlobalsPINVOKE.TempOdGiWrapperGeometry_shell(swigCPtr, p_nbVertex);
169 } finally {
170Marshal.FreeCoTaskMem(p_nbVertex);
171 }
172 }
173
174 public virtual void text(OdGePoint3d position, OdGeVector3d normal, OdGeVector3d direction, double height, double width, double oblique, String msg) {
175 GlobalsPINVOKE.TempOdGiWrapperGeometry_text__SWIG_0(swigCPtr, OdGePoint3d.getCPtr(position), OdGeVector3d.getCPtr(normal), OdGeVector3d.getCPtr(direction), height, width, oblique, msg);
177 }
178
179 public virtual void text(OdGePoint3d position, OdGeVector3d normal, OdGeVector3d direction, string msg, bool raw, OdGiTextStyle pTextStyle) {
182 }
183
184 public void ray(OdGePoint3d first, OdGePoint3d second) {
187 }
188
189 public virtual void nurbs(OdGeNurbCurve3d nurbs) {
192 }
193
194 public virtual void xline(OdGePoint3d p1, OdGePoint3d p2) {
197 }
198
199 public virtual void ellipArc(OdGeEllipArc3d arc, OdGePoint3d[] /*ENDPOINTS3D_OVERRIDES*/ pEndPointsOverrides, OdGiArcType arcType) {
200IntPtr p_pEndPointsOverrides=Teigha.Core.Helpers.MarshalPointPair(pEndPointsOverrides);
201 try {
202 GlobalsPINVOKE.TempOdGiWrapperGeometry_ellipArc__SWIG_0(swigCPtr, OdGeEllipArc3d.getCPtr(arc), p_pEndPointsOverrides, (int)arcType);
204 } finally {
205if (p_pEndPointsOverrides != IntPtr.Zero) Marshal.FreeCoTaskMem(p_pEndPointsOverrides);
206 }
207 }
208
209 public virtual void ellipArc(OdGeEllipArc3d arc, OdGePoint3d[] /*ENDPOINTS3D_OVERRIDES*/ pEndPointsOverrides) {
210IntPtr p_pEndPointsOverrides=Teigha.Core.Helpers.MarshalPointPair(pEndPointsOverrides);
211 try {
214 } finally {
215if (p_pEndPointsOverrides != IntPtr.Zero) Marshal.FreeCoTaskMem(p_pEndPointsOverrides);
216 }
217 }
218
219 public virtual void ellipArc(OdGeEllipArc3d arc) {
222 }
223
224 public virtual void draw(OdGiDrawable pD) {
227 }
228
229 public virtual void pushClipBoundary(OdGiClipBoundary pBoundary) {
232 }
233
234 public virtual void popClipBoundary() {
237 }
238
239 public virtual void worldLine(OdGePoint3d pnts) {
242 }
243
244}
245
246}
static global::System.Exception Retrieve()
static void TempOdGiWrapperGeometry_draw(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static void TempOdGiWrapperGeometry_shell(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2)
static void TempOdGiWrapperGeometry_popClipBoundary(global::System.Runtime.InteropServices.HandleRef jarg1)
static void TempOdGiWrapperGeometry_ellipArc__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void TempOdGiWrapperGeometry_worldLine(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void TempOdGiWrapperGeometry_text__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, [MarshalAs(UnmanagedType.LPWStr)]string jarg5, bool jarg7, global::System.Runtime.InteropServices.HandleRef jarg8)
static global::System.IntPtr TempOdGiWrapperGeometry_getWorldToModelTransform(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr deletePD_TempOdGiWrapperGeometry(HandleRef jarg1)
static global::System.IntPtr TempOdGiWrapperGeometry_getModelToWorldTransform(global::System.Runtime.InteropServices.HandleRef jarg1)
static void TempOdGiWrapperGeometry_mesh(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2)
static void TempOdGiWrapperGeometry_ray(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void TempOdGiWrapperGeometry_polygon__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2)
static void TempOdGiWrapperGeometry_pushModelTransform__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void TempOdGiWrapperGeometry_circularArc__SWIG_0(global::System.Runtime.InteropServices.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 TempOdGiWrapperGeometry_circle__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)
static void TempOdGiWrapperGeometry_circularArc__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5)
static void TempOdGiWrapperGeometry_polygon__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2, global::System.Runtime.InteropServices.HandleRef jarg4)
static void TempOdGiWrapperGeometry_ellipArc__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, IntPtr jarg3)
static void TempOdGiWrapperGeometry_polyline__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2)
static void TempOdGiWrapperGeometry_circularArc__SWIG_3(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static void TempOdGiWrapperGeometry_text__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, double jarg6, double jarg7, [MarshalAs(UnmanagedType.LPWStr)]String jarg8)
static void TempOdGiWrapperGeometry_pushClipBoundary(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void TempOdGiWrapperGeometry_polyline__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2, global::System.Runtime.InteropServices.HandleRef jarg4, IntPtr jarg5)
static void TempOdGiWrapperGeometry_pushModelTransform__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void TempOdGiWrapperGeometry_ellipArc__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, IntPtr jarg3, int jarg4)
static void TempOdGiWrapperGeometry_nurbs(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void TempOdGiWrapperGeometry_pline(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2, UInt32 jarg3, UInt32 jarg4)
static void TempOdGiWrapperGeometry_polyline__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2, global::System.Runtime.InteropServices.HandleRef jarg4)
static void TempOdGiWrapperGeometry_circularArc__SWIG_1(global::System.Runtime.InteropServices.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 TempOdGiWrapperGeometry_xline(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void TempOdGiWrapperGeometry_circle__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, double jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static void TempOdGiWrapperGeometry_popModelTransform(global::System.Runtime.InteropServices.HandleRef jarg1)
static HandleRef getCPtr(OdGeEllipArc3d obj)
static HandleRef getCPtr(OdGeMatrix3d obj)
Definition: OdGeMatrix3d.cs:26
static HandleRef getCPtr(OdGeNurbCurve3d obj)
static HandleRef getCPtr(OdGePoint3d obj)
Definition: OdGePoint3d.cs:26
static HandleRef getCPtr(OdGeVector3d obj)
Definition: OdGeVector3d.cs:26
static HandleRef getCPtr(OdGiClipBoundary obj)
static HandleRef getCPtr(OdGiDrawable obj)
Definition: OdGiDrawable.cs:25
static HandleRef getCPtr(OdGiPolyline obj)
Definition: OdGiPolyline.cs:25
static HandleRef getCPtr(OdGiTextStyle obj)
virtual void ellipArc(OdGeEllipArc3d arc)
virtual void circle(OdGePoint3d p1, OdGePoint3d p2, OdGePoint3d p3)
virtual void pushClipBoundary(OdGiClipBoundary pBoundary)
virtual void circle(OdGePoint3d center, double radius, OdGeVector3d normal)
virtual void nurbs(OdGeNurbCurve3d nurbs)
static HandleRef getCPtr(TempOdGiWrapperGeometry obj)
virtual void circularArc(OdGePoint3d center, double radius, OdGeVector3d normal, OdGeVector3d startVector, double sweepAngle, OdGiArcType arcType)
override void Dispose(bool disposing)
virtual void text(OdGePoint3d position, OdGeVector3d normal, OdGeVector3d direction, double height, double width, double oblique, String msg)
virtual void polyline(OdGePoint3d[] nbPoints)
virtual void polygon(OdGePoint3d[] nbPoints)
virtual void circularArc(OdGePoint3d start, OdGePoint3d point, OdGePoint3d end)
void ray(OdGePoint3d first, OdGePoint3d second)
virtual void polygon(OdGePoint3d[] nbPoints, OdGeVector3d pNormal)
virtual void polyline(OdGePoint3d[] nbPoints, OdGeVector3d pNormal)
virtual void pline(OdGiPolyline p, UInt32 i, UInt32 n)
virtual void worldLine(OdGePoint3d pnts)
virtual void pushModelTransform(OdGeMatrix3d xMat)
TempOdGiWrapperGeometry(IntPtr cPtr, bool cMemoryOwn)
virtual void ellipArc(OdGeEllipArc3d arc, OdGePoint3d[] pEndPointsOverrides, OdGiArcType arcType)
virtual void pushModelTransform(OdGeVector3d vNormal)
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 circularArc(OdGePoint3d start, OdGePoint3d point, OdGePoint3d end, OdGiArcType arcType)
virtual void xline(OdGePoint3d p1, OdGePoint3d p2)
virtual void polyline(OdGePoint3d[] nbPoints, OdGeVector3d pNormal, IntPtr lBaseSubEntMarker)
virtual void ellipArc(OdGeEllipArc3d arc, OdGePoint3d[] pEndPointsOverrides)
virtual void shell(ShellData nbVertex)