public new static vtkKdTree SafeDownCast(vtkObjectBase o) { vtkKdTree vtkKdTree = null; uint mteStatus = 0u; uint mteIndex = 4294967295u; uint rawRefCount = 0u; IntPtr intPtr = vtkKdTree.vtkKdTree_SafeDownCast_76((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount); if (IntPtr.Zero != intPtr) { bool flag; vtkKdTree = (vtkKdTree)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag); if (flag) { vtkKdTree.Register(null); } } return(vtkKdTree); }
public virtual vtkKdTree GetKdTree() { vtkKdTree vtkKdTree = null; uint mteStatus = 0u; uint mteIndex = 4294967295u; uint rawRefCount = 0u; IntPtr intPtr = vtkKdTreeSelector.vtkKdTreeSelector_GetKdTree_01(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount); if (IntPtr.Zero != intPtr) { bool flag; vtkKdTree = (vtkKdTree)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag); if (flag) { vtkKdTree.Register(null); } } return(vtkKdTree); }