public static LassoSelection Alloc() { global::System.IntPtr cPtr = C4dApiPINVOKE.LassoSelection_Alloc(); LassoSelection ret = (cPtr == global::System.IntPtr.Zero) ? null : new LassoSelection(cPtr, false); return(ret); }
public static bool PickObject(BaseDraw bd, BaseDocument doc, int x, int y, int rad, VIEWPORT_PICK_FLAGS flags, LassoSelection ls, SWIGTYPE_p_C4DObjectList list, SWIGTYPE_p_Matrix4d m) { bool ret = C4dApiPINVOKE.ViewportSelect_PickObject__SWIG_0(BaseDraw.getCPtr(bd), BaseDocument.getCPtr(doc), x, y, rad, (int)flags, LassoSelection.getCPtr(ls), SWIGTYPE_p_C4DObjectList.getCPtr(list), SWIGTYPE_p_Matrix4d.getCPtr(m)); return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(LassoSelection obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
public static bool PickObject(BaseDraw bd, BaseDocument doc, int x1, int y1, int x2, int y2, SWIGTYPE_p_Int32 xr, SWIGTYPE_p_Int32 yr, SWIGTYPE_p_Int32 wr, SWIGTYPE_p_Int32 hr, SWIGTYPE_p_p_p_ViewportPixel pixels, VIEWPORT_PICK_FLAGS flags, LassoSelection ls, SWIGTYPE_p_C4DObjectList list) { bool ret = C4dApiPINVOKE.ViewportSelect_PickObject__SWIG_5(BaseDraw.getCPtr(bd), BaseDocument.getCPtr(doc), x1, y1, x2, y2, SWIGTYPE_p_Int32.getCPtr(xr), SWIGTYPE_p_Int32.getCPtr(yr), SWIGTYPE_p_Int32.getCPtr(wr), SWIGTYPE_p_Int32.getCPtr(hr), SWIGTYPE_p_p_p_ViewportPixel.getCPtr(pixels), (int)flags, LassoSelection.getCPtr(ls), SWIGTYPE_p_C4DObjectList.getCPtr(list)); if (C4dApiPINVOKE.SWIGPendingException.Pending) { throw C4dApiPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }