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

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

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