Extended .NET SDK Documentation 2025 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 new OdGeClipBoundary2d copy() {
43 global::System.IntPtr cPtr = GlobalsPINVOKE.OdGeClipBoundary2d_copy(swigCPtr);
44 OdGeClipBoundary2d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeClipBoundary2d(cPtr, false);
46 return ret;
47 }
48
54
60
66
72
78
79 public new OdGeClipBoundary2d scaleBy(double scaleFactor, OdGePoint2d basePoint) {
82 return ret;
83 }
84
90
91 public OdGeClipBoundary2d() : this(GlobalsPINVOKE.new_OdGeClipBoundary2d__SWIG_0(), true) {
93 }
94
95 public OdGeClipBoundary2d(OdGePoint2d cornerA, OdGePoint2d cornerB) : this(GlobalsPINVOKE.new_OdGeClipBoundary2d__SWIG_1(OdGePoint2d.getCPtr(cornerA), OdGePoint2d.getCPtr(cornerB)), true) {
97 }
98
99 public OdGeClipBoundary2d(OdGePoint2dArray clipBoundary) : this(GlobalsPINVOKE.new_OdGeClipBoundary2d__SWIG_2(OdGePoint2dArray.getCPtr(clipBoundary).Handle), true) {
101 }
102
106
112
118
119 public OdGe.ClipError clipPolygon(OdGePoint2dArray rawVertices, OdGePoint2dArray clippedVertices, ref OdGe.ClipCondition clipCondition, OdIntArray pClippedSegmentSourceLabel) {
120 OdGe.ClipError ret = (OdGe.ClipError)GlobalsPINVOKE.OdGeClipBoundary2d_clipPolygon__SWIG_0(swigCPtr, OdGePoint2dArray.getCPtr(rawVertices).Handle, OdGePoint2dArray.getCPtr(clippedVertices).Handle, ref clipCondition, OdIntArray.getCPtr(pClippedSegmentSourceLabel));
122 return ret;
123 }
124
125 public OdGe.ClipError clipPolygon(OdGePoint2dArray rawVertices, OdGePoint2dArray clippedVertices, ref OdGe.ClipCondition clipCondition) {
126 OdGe.ClipError ret = (OdGe.ClipError)GlobalsPINVOKE.OdGeClipBoundary2d_clipPolygon__SWIG_1(swigCPtr, OdGePoint2dArray.getCPtr(rawVertices).Handle, OdGePoint2dArray.getCPtr(clippedVertices).Handle, ref clipCondition);
128 return ret;
129 }
130
131 public OdGe.ClipError clipPolyline(OdGePoint2dArray rawVertices, OdGePoint2dArray clippedVertices, ref OdGe.ClipCondition clipCondition, OdIntArray pClippedSegmentSourceLabel) {
132 OdGe.ClipError ret = (OdGe.ClipError)GlobalsPINVOKE.OdGeClipBoundary2d_clipPolyline__SWIG_0(swigCPtr, OdGePoint2dArray.getCPtr(rawVertices).Handle, OdGePoint2dArray.getCPtr(clippedVertices).Handle, ref clipCondition, OdIntArray.getCPtr(pClippedSegmentSourceLabel));
134 return ret;
135 }
136
137 public OdGe.ClipError clipPolyline(OdGePoint2dArray rawVertices, OdGePoint2dArray clippedVertices, ref OdGe.ClipCondition clipCondition) {
138 OdGe.ClipError ret = (OdGe.ClipError)GlobalsPINVOKE.OdGeClipBoundary2d_clipPolyline__SWIG_1(swigCPtr, OdGePoint2dArray.getCPtr(rawVertices).Handle, OdGePoint2dArray.getCPtr(clippedVertices).Handle, ref clipCondition);
140 return ret;
141 }
142
148
153 public Teigha.Core.OdGe.EntityId vb_type() { return this.type(); }
154
155}
156
157}
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 global::System.IntPtr OdGeClipBoundary2d_rotateBy__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeClipBoundary2d_rotateBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
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_translateBy(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 global::System.IntPtr OdGeClipBoundary2d_mirror(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeClipBoundary2d_transformBy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdGeClipBoundary2d_scaleBy__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr OdGeClipBoundary2d_copy(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdGeClipBoundary2d_scaleBy__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
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)
new OdGeClipBoundary2d transformBy(OdGeMatrix2d xfm)
new OdGeClipBoundary2d scaleBy(double scaleFactor)
OdGeClipBoundary2d(OdGeClipBoundary2d src)
override void Dispose(bool disposing)
OdGeClipBoundary2d Assign(OdGeClipBoundary2d src)
new OdGeClipBoundary2d scaleBy(double scaleFactor, OdGePoint2d basePoint)
new OdGeClipBoundary2d rotateBy(double angle, OdGePoint2d basePoint)
new OdGeClipBoundary2d translateBy(OdGeVector2d translateVec)
static HandleRef getCPtr(OdGeClipBoundary2d obj)
new OdGeClipBoundary2d mirror(OdGeLine2d line)
OdGeClipBoundary2d(IntPtr cPtr, bool cMemoryOwn)
new OdGeClipBoundary2d copy()
new OdGeClipBoundary2d rotateBy(double angle)
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)
static HandleRef getCPtr(OdGeLine2d obj)
Definition OdGeLine2d.cs:25
static HandleRef getCPtr(OdGeMatrix2d obj)
static HandleRef getCPtr(OdGePoint2dArray obj)
static HandleRef getCPtr(OdGePoint2d obj)
static HandleRef getCPtr(OdGeVector2d obj)
static HandleRef getCPtr(OdIntArray obj)
Definition OdIntArray.cs:28