Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdSiShapeBoundPlane.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 OdSiShapeBoundPlane(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdSiShapeBoundPlane_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdSiShapeBoundPlane 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
43 set {
46 }
47 get {
48 global::System.IntPtr cPtr = GlobalsPINVOKE.OdSiShapeBoundPlane_m_bounds_get(swigCPtr);
49 OdGeExtents3d ret = (cPtr == global::System.IntPtr.Zero) ? null : new OdGeExtents3d(cPtr, false);
51 return ret;
52 }
53 }
54
55 public OdSiShapeBoundPlane(OdGePoint3d origin, OdGeVector3d planeNormal, OdGeExtents3d bounds) : this(GlobalsPINVOKE.new_OdSiShapeBoundPlane__SWIG_0(OdGePoint3d.getCPtr(origin), OdGeVector3d.getCPtr(planeNormal), OdGeExtents3d.getCPtr(bounds)), true) {
57 }
58
59 public OdSiShapeBoundPlane(OdGePlane plane, OdGeExtents3d bounds) : this(GlobalsPINVOKE.new_OdSiShapeBoundPlane__SWIG_1(OdGePlane.getCPtr(plane), OdGeExtents3d.getCPtr(bounds)), true) {
61 }
62
63 public override bool contains(OdGeExtents3d extents, bool planar, OdGeTol tol) {
64 bool ret = GlobalsPINVOKE.OdSiShapeBoundPlane_contains(swigCPtr, OdGeExtents3d.getCPtr(extents), planar, OdGeTol.getCPtr(tol));
66 return ret;
67 }
68
69 public override bool intersects(OdGeExtents3d extents, bool planar, OdGeTol tol) {
70 bool ret = GlobalsPINVOKE.OdSiShapeBoundPlane_intersects(swigCPtr, OdGeExtents3d.getCPtr(extents), planar, OdGeTol.getCPtr(tol));
72 return ret;
73 }
74
75 public override OdSiShape clone() {
77
79 return (OdSiShape)ret;
80}
81
82 public override void transform(OdGeMatrix3d tf) {
85 }
86
87}
88
89}
static global::System.Exception Retrieve()
static global::System.IntPtr OdSiShapeBoundPlane_m_bounds_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdSiShapeBoundPlane_intersects(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static global::System.IntPtr OdSiShapeBoundPlane_clone(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdSiShapeBoundPlane_transform(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void OdSiShapeBoundPlane_m_bounds_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void delete_OdSiShapeBoundPlane(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdSiShapeBoundPlane_contains(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static HandleRef getCPtr(OdGeExtents3d obj)
static HandleRef getCPtr(OdGeMatrix3d obj)
Definition: OdGeMatrix3d.cs:26
static HandleRef getCPtr(OdGeTol obj)
Definition: OdGeTol.cs:26
OdSiShapeBoundPlane(OdGePlane plane, OdGeExtents3d bounds)
override void Dispose(bool disposing)
override bool intersects(OdGeExtents3d extents, bool planar, OdGeTol tol)
override bool contains(OdGeExtents3d extents, bool planar, OdGeTol tol)
OdSiShapeBoundPlane(OdGePoint3d origin, OdGeVector3d planeNormal, OdGeExtents3d bounds)
OdSiShapeBoundPlane(IntPtr cPtr, bool cMemoryOwn)
static HandleRef getCPtr(OdSiShapeBoundPlane obj)
override void transform(OdGeMatrix3d tf)