| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100 |
- //------------------------------------------------------------------------------
- // <auto-generated />
- //
- // This file was automatically generated by SWIG (http://www.swig.org).
- // Version 4.0.2
- //
- // Do not make changes to this file unless you know what you are doing--modify
- // the SWIG interface file instead.
- //------------------------------------------------------------------------------
- public class Point3d : global::System.IDisposable {
- private global::System.Runtime.InteropServices.HandleRef swigCPtr;
- protected bool swigCMemOwn;
- internal Point3d(global::System.IntPtr cPtr, bool cMemoryOwn) {
- swigCMemOwn = cMemoryOwn;
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
- }
- internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Point3d obj) {
- return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
- }
- ~Point3d() {
- Dispose(false);
- }
- public void Dispose() {
- Dispose(true);
- global::System.GC.SuppressFinalize(this);
- }
- protected virtual void Dispose(bool disposing) {
- lock(this) {
- if (swigCPtr.Handle != global::System.IntPtr.Zero) {
- if (swigCMemOwn) {
- swigCMemOwn = false;
- GestureEstimatePINVOKE.delete_Point3d(swigCPtr);
- }
- swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
- }
- }
- }
- public Point3d() : this(GestureEstimatePINVOKE.new_Point3d__SWIG_0(), true) {
- }
- public Point3d(double _x, double _y, double _z) : this(GestureEstimatePINVOKE.new_Point3d__SWIG_1(_x, _y, _z), true) {
- }
- public double dot(Point3d pt) {
- double ret = GestureEstimatePINVOKE.Point3d_dot(swigCPtr, Point3d.getCPtr(pt));
- if (GestureEstimatePINVOKE.SWIGPendingException.Pending) throw GestureEstimatePINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- public double ddot(Point3d pt) {
- double ret = GestureEstimatePINVOKE.Point3d_ddot(swigCPtr, Point3d.getCPtr(pt));
- if (GestureEstimatePINVOKE.SWIGPendingException.Pending) throw GestureEstimatePINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- public Point3d cross(Point3d pt) {
- Point3d ret = new Point3d(GestureEstimatePINVOKE.Point3d_cross(swigCPtr, Point3d.getCPtr(pt)), true);
- if (GestureEstimatePINVOKE.SWIGPendingException.Pending) throw GestureEstimatePINVOKE.SWIGPendingException.Retrieve();
- return ret;
- }
- public double x {
- set {
- GestureEstimatePINVOKE.Point3d_x_set(swigCPtr, value);
- }
- get {
- double ret = GestureEstimatePINVOKE.Point3d_x_get(swigCPtr);
- return ret;
- }
- }
- public double y {
- set {
- GestureEstimatePINVOKE.Point3d_y_set(swigCPtr, value);
- }
- get {
- double ret = GestureEstimatePINVOKE.Point3d_y_get(swigCPtr);
- return ret;
- }
- }
- public double z {
- set {
- GestureEstimatePINVOKE.Point3d_z_set(swigCPtr, value);
- }
- get {
- double ret = GestureEstimatePINVOKE.Point3d_z_get(swigCPtr);
- return ret;
- }
- }
- }
|