public new static vtkPlanesIntersection New()
        {
            vtkPlanesIntersection result = null;
            uint   mteStatus             = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkPlanesIntersection.vtkPlanesIntersection_New(ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkPlanesIntersection)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
        public static vtkPlanesIntersection Convert3DCell(vtkCell cell)
        {
            vtkPlanesIntersection vtkPlanesIntersection = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkPlanesIntersection.vtkPlanesIntersection_Convert3DCell_01((cell == null) ? default(HandleRef) : cell.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkPlanesIntersection = (vtkPlanesIntersection)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkPlanesIntersection.Register(null);
                }
            }
            return(vtkPlanesIntersection);
        }
Example #4
0
 public int IntersectsRegion(vtkPlanesIntersection pi, int useDataBounds)
 {
     return(vtkKdNode.vtkKdNode_IntersectsRegion_25(base.GetCppThis(), (pi == null) ? default(HandleRef) : pi.GetCppThis(), useDataBounds));
 }