Extended .NET SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
OdSiHalfSpace.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 OdSiHalfSpace(IntPtr cPtr, bool cMemoryOwn) : base(GlobalsPINVOKE.OdSiHalfSpace_SWIGUpcast(cPtr), cMemoryOwn) {
21 swigCPtr = new HandleRef(this, cPtr);
22 }
23
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
25 public static HandleRef getCPtr(OdSiHalfSpace 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 OdSiHalfSpace(OdGePoint3d pointOnPlane, OdGeVector3d planeNormal) : this(GlobalsPINVOKE.new_OdSiHalfSpace__SWIG_0(OdGePoint3d.getCPtr(pointOnPlane), OdGeVector3d.getCPtr(planeNormal)), true) {
44 }
45
46 public OdSiHalfSpace(OdGePlane plane) : this(GlobalsPINVOKE.new_OdSiHalfSpace__SWIG_1(OdGePlane.getCPtr(plane)), true) {
48 }
49
50 public void copyFrom(OdSiHalfSpace o) {
53 }
54
55 public override bool contains(OdGeExtents3d extents, bool planar, OdGeTol tol) {
56 bool ret = GlobalsPINVOKE.OdSiHalfSpace_contains(swigCPtr, OdGeExtents3d.getCPtr(extents), planar, OdGeTol.getCPtr(tol));
58 return ret;
59 }
60
61 public override bool intersects(OdGeExtents3d extents, bool planar, OdGeTol tol) {
62 bool ret = GlobalsPINVOKE.OdSiHalfSpace_intersects__SWIG_0(swigCPtr, OdGeExtents3d.getCPtr(extents), planar, OdGeTol.getCPtr(tol));
64 return ret;
65 }
66
67 public override OdSiShape clone() {
69
71 return (OdSiShape)ret;
72}
73
74 public bool intersects(OdGeBoundBlock3d extents, OdGeTol tol, out bool bContains) {
75 bool ret = GlobalsPINVOKE.OdSiHalfSpace_intersects__SWIG_1(swigCPtr, OdGeBoundBlock3d.getCPtr(extents), OdGeTol.getCPtr(tol), out bContains);
77 return ret;
78 }
79
80}
81
82}
static global::System.Exception Retrieve()
static void delete_OdSiHalfSpace(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdSiHalfSpace_copyFrom(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr OdSiHalfSpace_clone(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdSiHalfSpace_intersects__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, out bool jarg4)
static bool OdSiHalfSpace_contains(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static bool OdSiHalfSpace_intersects__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static HandleRef getCPtr(OdGeBoundBlock3d obj)
static HandleRef getCPtr(OdGeExtents3d obj)
static HandleRef getCPtr(OdGeTol obj)
Definition: OdGeTol.cs:26
override bool contains(OdGeExtents3d extents, bool planar, OdGeTol tol)
OdSiHalfSpace(OdGePoint3d pointOnPlane, OdGeVector3d planeNormal)
static HandleRef getCPtr(OdSiHalfSpace obj)
OdSiHalfSpace(IntPtr cPtr, bool cMemoryOwn)
override void Dispose(bool disposing)
OdSiHalfSpace(OdGePlane plane)
void copyFrom(OdSiHalfSpace o)
override bool intersects(OdGeExtents3d extents, bool planar, OdGeTol tol)
override OdSiShape clone()
bool intersects(OdGeBoundBlock3d extents, OdGeTol tol, out bool bContains)