Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdGeClipBoundary2d.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 OdGeClipBoundary2d(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdGeClipBoundary2d_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdGeClipBoundary2d 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 OdGeClipBoundary2d() : this(GlobalsPINVOKE.new_OdGeClipBoundary2d__SWIG_0(), true) {
44 }
45
46 public OdGeClipBoundary2d(OdGePoint2d cornerA, OdGePoint2d cornerB) : this(GlobalsPINVOKE.new_OdGeClipBoundary2d__SWIG_1(OdGePoint2d.getCPtr(cornerA), OdGePoint2d.getCPtr(cornerB)), true) {
48 }
49
50 public OdGeClipBoundary2d(OdGePoint2dArray clipBoundary) : this(GlobalsPINVOKE.new_OdGeClipBoundary2d__SWIG_2(OdGePoint2dArray.getCPtr(clipBoundary).Handle), true) {
52 }
53
54 public OdGeClipBoundary2d(OdGeClipBoundary2d src) : this(GlobalsPINVOKE.new_OdGeClipBoundary2d__SWIG_3(OdGeClipBoundary2d.getCPtr(src)), true) {
56 }
57
58 public OdGe.ClipError set(OdGePoint2d cornerA, OdGePoint2d cornerB) {
61 return ret;
62 }
63
64 public OdGe.ClipError set(OdGePoint2dArray clipBoundary) {
67 return ret;
68 }
69
70 public OdGe.ClipError clipPolygon(OdGePoint2dArray rawVertices, OdGePoint2dArray clippedVertices, ref OdGe.ClipCondition clipCondition, OdIntArray pClippedSegmentSourceLabel) {
71 OdGe.ClipError ret = (OdGe.ClipError)GlobalsPINVOKE.OdGeClipBoundary2d_clipPolygon__SWIG_0(swigCPtr, OdGePoint2dArray.getCPtr(rawVertices).Handle, OdGePoint2dArray.getCPtr(clippedVertices).Handle, ref clipCondition, OdIntArray.getCPtr(pClippedSegmentSourceLabel));
73 return ret;
74 }
75
76 public OdGe.ClipError clipPolygon(OdGePoint2dArray rawVertices, OdGePoint2dArray clippedVertices, ref OdGe.ClipCondition clipCondition) {
77 OdGe.ClipError ret = (OdGe.ClipError)GlobalsPINVOKE.OdGeClipBoundary2d_clipPolygon__SWIG_1(swigCPtr, OdGePoint2dArray.getCPtr(rawVertices).Handle, OdGePoint2dArray.getCPtr(clippedVertices).Handle, ref clipCondition);
79 return ret;
80 }
81
82 public OdGe.ClipError clipPolyline(OdGePoint2dArray rawVertices, OdGePoint2dArray clippedVertices, ref OdGe.ClipCondition clipCondition, OdIntArray pClippedSegmentSourceLabel) {
83 OdGe.ClipError ret = (OdGe.ClipError)GlobalsPINVOKE.OdGeClipBoundary2d_clipPolyline__SWIG_0(swigCPtr, OdGePoint2dArray.getCPtr(rawVertices).Handle, OdGePoint2dArray.getCPtr(clippedVertices).Handle, ref clipCondition, OdIntArray.getCPtr(pClippedSegmentSourceLabel));
85 return ret;
86 }
87
88 public OdGe.ClipError clipPolyline(OdGePoint2dArray rawVertices, OdGePoint2dArray clippedVertices, ref OdGe.ClipCondition clipCondition) {
89 OdGe.ClipError ret = (OdGe.ClipError)GlobalsPINVOKE.OdGeClipBoundary2d_clipPolyline__SWIG_1(swigCPtr, OdGePoint2dArray.getCPtr(rawVertices).Handle, OdGePoint2dArray.getCPtr(clippedVertices).Handle, ref clipCondition);
91 return ret;
92 }
93
97 return ret;
98 }
99
104 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
105
106}
107
108}
static global::System.Exception Retrieve()
static int OdGeClipBoundary2d_clipPolyline__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2, IntPtr jarg3, ref OdGe.ClipCondition jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static int OdGeClipBoundary2d_clipPolyline__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2, IntPtr jarg3, ref OdGe.ClipCondition jarg4)
static int OdGeClipBoundary2d_set__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdGeClipBoundary2d_set__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2)
static global::System.IntPtr OdGeClipBoundary2d_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void delete_OdGeClipBoundary2d(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdGeClipBoundary2d_clipPolygon__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2, IntPtr jarg3, ref OdGe.ClipCondition jarg4)
static int OdGeClipBoundary2d_clipPolygon__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2, IntPtr jarg3, ref OdGe.ClipCondition jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
OdGe.ClipError clipPolygon(OdGePoint2dArray rawVertices, OdGePoint2dArray clippedVertices, ref OdGe.ClipCondition clipCondition, OdIntArray pClippedSegmentSourceLabel)
OdGeClipBoundary2d(OdGeClipBoundary2d src)
override void Dispose(bool disposing)
OdGeClipBoundary2d Assign(OdGeClipBoundary2d src)
static HandleRef getCPtr(OdGeClipBoundary2d obj)
OdGeClipBoundary2d(IntPtr cPtr, bool cMemoryOwn)
OdGe.ClipError clipPolyline(OdGePoint2dArray rawVertices, OdGePoint2dArray clippedVertices, ref OdGe.ClipCondition clipCondition)
OdGeClipBoundary2d(OdGePoint2dArray clipBoundary)
Teigha.Core.OdGe.EntityId vb_type()
OdGe.ClipError clipPolygon(OdGePoint2dArray rawVertices, OdGePoint2dArray clippedVertices, ref OdGe.ClipCondition clipCondition)
OdGe.ClipError clipPolyline(OdGePoint2dArray rawVertices, OdGePoint2dArray clippedVertices, ref OdGe.ClipCondition clipCondition, OdIntArray pClippedSegmentSourceLabel)
OdGeClipBoundary2d(OdGePoint2d cornerA, OdGePoint2d cornerB)
OdGe.EntityId type()
Definition: OdGeEntity2d.cs:57
static HandleRef getCPtr(OdGePoint2dArray obj)
static HandleRef getCPtr(OdGePoint2d obj)
Definition: OdGePoint2d.cs:26
static HandleRef getCPtr(OdIntArray obj)
Definition: OdIntArray.cs:28