public ViewportPixel GetPixelInfoEdge(int x, int y) { global::System.IntPtr cPtr = C4dApiPINVOKE.ViewportSelect_GetPixelInfoEdge(swigCPtr, x, y); ViewportPixel ret = (cPtr == global::System.IntPtr.Zero) ? null : new ViewportPixel(cPtr, false); return(ret); }
public ViewportPixel GetNearestEdge(BaseObject op, SWIGTYPE_p_Int32 x, SWIGTYPE_p_Int32 y) { global::System.IntPtr cPtr = C4dApiPINVOKE.ViewportSelect_GetNearestEdge__SWIG_4(swigCPtr, BaseObject.getCPtr(op), SWIGTYPE_p_Int32.getCPtr(x), SWIGTYPE_p_Int32.getCPtr(y)); ViewportPixel ret = (cPtr == global::System.IntPtr.Zero) ? null : new ViewportPixel(cPtr, false); if (C4dApiPINVOKE.SWIGPendingException.Pending) { throw C4dApiPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public ViewportPixel GetNearestEdge(BaseObject op, SWIGTYPE_p_Int32 x, SWIGTYPE_p_Int32 y, int maxrad, bool onlyselected, SWIGTYPE_p_Int32 ignorelist, int ignorecnt) { global::System.IntPtr cPtr = C4dApiPINVOKE.ViewportSelect_GetNearestEdge__SWIG_0(swigCPtr, BaseObject.getCPtr(op), SWIGTYPE_p_Int32.getCPtr(x), SWIGTYPE_p_Int32.getCPtr(y), maxrad, onlyselected, SWIGTYPE_p_Int32.getCPtr(ignorelist), ignorecnt); ViewportPixel ret = (cPtr == global::System.IntPtr.Zero) ? null : new ViewportPixel(cPtr, false); if (C4dApiPINVOKE.SWIGPendingException.Pending) { throw C4dApiPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ViewportPixel obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }