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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkGraphEdge)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
        public vtkGraphEdge NextGraphEdge()
        {
            vtkGraphEdge vtkGraphEdge = null;
            uint         mteStatus    = 0u;
            uint         mteIndex     = 4294967295u;
            uint         rawRefCount  = 0u;
            IntPtr       intPtr       = vtkInEdgeIterator.vtkInEdgeIterator_NextGraphEdge_09(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkGraphEdge = (vtkGraphEdge)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkGraphEdge.Register(null);
                }
            }
            return(vtkGraphEdge);
        }
Beispiel #4
0
        public vtkGraphEdge AddGraphEdge(long u, long v)
        {
            vtkGraphEdge vtkGraphEdge = null;
            uint         mteStatus    = 0u;
            uint         mteIndex     = 4294967295u;
            uint         rawRefCount  = 0u;
            IntPtr       intPtr       = vtkMutableDirectedGraph.vtkMutableDirectedGraph_AddGraphEdge_03(base.GetCppThis(), u, v, ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkGraphEdge = (vtkGraphEdge)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkGraphEdge.Register(null);
                }
            }
            return(vtkGraphEdge);
        }
Beispiel #5
0
 public virtual void GetOutEdge(long v, long index, vtkGraphEdge e)
 {
     vtkGraph.vtkGraph_GetOutEdge_35(base.GetCppThis(), v, index, (e == null) ? default(HandleRef) : e.GetCppThis());
 }
Beispiel #6
0
 public override void GetInEdge(long v, long i, vtkGraphEdge e)
 {
     vtkUndirectedGraph.vtkUndirectedGraph_GetInEdge_05(base.GetCppThis(), v, i, (e == null) ? default(HandleRef) : e.GetCppThis());
 }