Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdIBrElement2d.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 OdIBrElement2d(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdIBrElement2d_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdIBrElement2d 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 OdBrErrorStatus getNormal(OdGeVector3d normal) {
45 return ret;
46 }
47
48 public virtual OdIBrMesh2d parent() {
49 OdIBrMesh2d ret = (OdIBrMesh2d)Teigha.Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdIBrMesh2d),GlobalsPINVOKE.OdIBrElement2d_parent(swigCPtr),false); /*createInt 3_2*/
50
52 return ret;
53}
54
55 public virtual void next(OdIBrNode pFirstChild, OdIBrNode pCurChild) {
56 GlobalsPINVOKE.OdIBrElement2d_next(swigCPtr, OdIBrNode.getCPtr(pFirstChild), OdIBrNode.getCPtr(pCurChild).Handle);
58 }
59
63 return ret;
64 }
65
66 public virtual OdBrErrorStatus getParamPoint(OdGePoint3d point3D, OdGePoint2d point2D) {
69 return ret;
70 }
71
72 protected static string getRealClassName(IntPtr /*SIMPLETYPE*/ ptr) {
73 string ret = GlobalsPINVOKE.OdIBrElement2d_getRealClassName(ptr /*SIMPLETYPE*/);
75 return ret;
76 }
77
78}
79
80}
static global::System.Exception Retrieve()
static string OdIBrElement2d_getRealClassName(IntPtr jarg1)
static IntPtr OdIBrElement2d_parent(HandleRef jarg1)
static int OdIBrElement2d_getNormal(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdIBrElement2d_getParamPoint(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void OdIBrElement2d_next(HandleRef jarg1, HandleRef jarg2, IntPtr jarg3)
static void delete_OdIBrElement2d(HandleRef jarg1)
static int OdIBrElement2d_getSurfaceNormal(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static HandleRef getCPtr(OdGePoint2d obj)
Definition: OdGePoint2d.cs:26
static HandleRef getCPtr(OdGePoint3d obj)
Definition: OdGePoint3d.cs:26
static HandleRef getCPtr(OdGeVector3d obj)
Definition: OdGeVector3d.cs:26
virtual OdBrErrorStatus getParamPoint(OdGePoint3d point3D, OdGePoint2d point2D)
virtual OdBrErrorStatus getNormal(OdGeVector3d normal)
static HandleRef getCPtr(OdIBrElement2d obj)
static string getRealClassName(IntPtr ptr)
virtual OdIBrMesh2d parent()
virtual OdBrErrorStatus getSurfaceNormal(OdGeVector3d normal)
override void Dispose(bool disposing)
virtual void next(OdIBrNode pFirstChild, OdIBrNode pCurChild)
OdIBrElement2d(IntPtr cPtr, bool cMemoryOwn)
static HandleRef getCPtr(OdIBrNode obj)
Definition: OdIBrNode.cs:25