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