public new static vtkPCosmoHaloFinder New() { vtkPCosmoHaloFinder result = null; uint mteStatus = 0u; uint mteIndex = 4294967295u; uint rawRefCount = 0u; IntPtr intPtr = vtkPCosmoHaloFinder.vtkPCosmoHaloFinder_New(ref mteStatus, ref mteIndex, ref rawRefCount); if (IntPtr.Zero != intPtr) { bool flag; result = (vtkPCosmoHaloFinder)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag); } return(result); }
public new static vtkPCosmoHaloFinder SafeDownCast(vtkObjectBase o) { vtkPCosmoHaloFinder vtkPCosmoHaloFinder = null; uint mteStatus = 0u; uint mteIndex = 4294967295u; uint rawRefCount = 0u; IntPtr intPtr = vtkPCosmoHaloFinder.vtkPCosmoHaloFinder_SafeDownCast_18((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount); if (IntPtr.Zero != intPtr) { bool flag; vtkPCosmoHaloFinder = (vtkPCosmoHaloFinder)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag); if (flag) { vtkPCosmoHaloFinder.Register(null); } } return(vtkPCosmoHaloFinder); }