public new static vtkQuadric New() { vtkQuadric result = null; uint mteStatus = 0u; uint mteIndex = 4294967295u; uint rawRefCount = 0u; IntPtr intPtr = vtkQuadric.vtkQuadric_New(ref mteStatus, ref mteIndex, ref rawRefCount); if (IntPtr.Zero != intPtr) { bool flag; result = (vtkQuadric)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag); } return(result); }
public new static vtkQuadric SafeDownCast(vtkObjectBase o) { vtkQuadric vtkQuadric = null; uint mteStatus = 0u; uint mteIndex = 4294967295u; uint rawRefCount = 0u; IntPtr intPtr = vtkQuadric.vtkQuadric_SafeDownCast_10((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount); if (IntPtr.Zero != intPtr) { bool flag; vtkQuadric = (vtkQuadric)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag); if (flag) { vtkQuadric.Register(null); } } return(vtkQuadric); }
public static void ComputeQuadric(IntPtr x1, IntPtr x2, IntPtr x3, vtkQuadric quadric) { vtkTriangle.vtkTriangle_ComputeQuadric_09(x1, x2, x3, (quadric == null) ? default(HandleRef) : quadric.GetCppThis()); }