Beispiel #1
0
        public new static vtkRungeKutta2 New()
        {
            vtkRungeKutta2 result      = null;
            uint           mteStatus   = 0u;
            uint           mteIndex    = 4294967295u;
            uint           rawRefCount = 0u;
            IntPtr         intPtr      = vtkRungeKutta2.vtkRungeKutta2_New(ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkRungeKutta2)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
Beispiel #2
0
        public new static vtkRungeKutta2 SafeDownCast(vtkObjectBase o)
        {
            vtkRungeKutta2 vtkRungeKutta = null;
            uint           mteStatus     = 0u;
            uint           mteIndex      = 4294967295u;
            uint           rawRefCount   = 0u;
            IntPtr         intPtr        = vtkRungeKutta2.vtkRungeKutta2_SafeDownCast_09((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkRungeKutta = (vtkRungeKutta2)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkRungeKutta.Register(null);
                }
            }
            return(vtkRungeKutta);
        }