Beispiel #1
0
        public GvPort CalculateOutPort(GvPort port, GvRun run, GvCalc calc)
        {
            global::System.IntPtr cPtr = C4dApiPINVOKE.GvNode_CalculateOutPort(swigCPtr, GvPort.getCPtr(port), GvRun.getCPtr(run), GvCalc.getCPtr(calc));
            GvPort ret = (cPtr == global::System.IntPtr.Zero) ? null : new GvPort(cPtr, false);

            return(ret);
        }
Beispiel #2
0
        public GvCalc GetCalc()
        {
            global::System.IntPtr cPtr = C4dApiPINVOKE.GvNodeMaster_GetCalc(swigCPtr);
            GvCalc ret = (cPtr == global::System.IntPtr.Zero) ? null : new GvCalc(cPtr, false);

            return(ret);
        }
Beispiel #3
0
        public GvValue AllocCalculationHandler(int main_id, GvCalc calc, GvRun run, int singleport)
        {
            global::System.IntPtr cPtr = C4dApiPINVOKE.GvNode_AllocCalculationHandler(swigCPtr, main_id, GvCalc.getCPtr(calc), GvRun.getCPtr(run), singleport);
            GvValue ret = (cPtr == global::System.IntPtr.Zero) ? null : new GvValue(cPtr, false);

            return(ret);
        }
Beispiel #4
0
        public GvPort Calculate(GvNode bn, GvRun r, GvCalc c)
        {
            global::System.IntPtr cPtr = C4dApiPINVOKE.GvPort_Calculate(swigCPtr, GvNode.getCPtr(bn), GvRun.getCPtr(r), GvCalc.getCPtr(c));
            GvPort ret = (cPtr == global::System.IntPtr.Zero) ? null : new GvPort(cPtr, false);

            return(ret);
        }
Beispiel #5
0
        public GvPort CalculateInPortIndex(int port_index, GvRun run, GvCalc calc)
        {
            global::System.IntPtr cPtr = C4dApiPINVOKE.GvNode_CalculateInPortIndex(swigCPtr, port_index, GvRun.getCPtr(run), GvCalc.getCPtr(calc));
            GvPort ret = (cPtr == global::System.IntPtr.Zero) ? null : new GvPort(cPtr, false);

            return(ret);
        }
Beispiel #6
0
        public bool CalculateTable(GvCalc calc)
        {
            bool ret = C4dApiPINVOKE.GvRun_CalculateTable(swigCPtr, GvCalc.getCPtr(calc));

            return(ret);
        }
Beispiel #7
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(GvCalc obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Beispiel #8
0
        public virtual bool Calculate(GvNode bn, GvPort port, GvRun run, GvCalc calc)
        {
            bool ret = C4dApiPINVOKE.GvOperatorData_Calculate(swigCPtr, GvNode.getCPtr(bn), GvPort.getCPtr(port), GvRun.getCPtr(run), GvCalc.getCPtr(calc));

            return(ret);
        }
Beispiel #9
0
 public virtual void FreeCalculation(GvNode bn, GvCalc calc)
 {
     C4dApiPINVOKE.GvOperatorData_FreeCalculation(swigCPtr, GvNode.getCPtr(bn), GvCalc.getCPtr(calc));
 }
Beispiel #10
0
        public virtual bool InitCalculation(GvNode bn, GvCalc calc, GvRun run)
        {
            bool ret = C4dApiPINVOKE.GvOperatorData_InitCalculation(swigCPtr, GvNode.getCPtr(bn), GvCalc.getCPtr(calc), GvRun.getCPtr(run));

            return(ret);
        }
Beispiel #11
0
        public bool Calculate(GvNode node, GvPortIO io, GvRun r, GvCalc c)
        {
            bool ret = C4dApiPINVOKE.GvValue_Calculate__SWIG_2(swigCPtr, GvNode.getCPtr(node), (int)io, GvRun.getCPtr(r), GvCalc.getCPtr(c));

            return(ret);
        }
Beispiel #12
0
        public bool Calculate(GvNode node, GvPortIO io, GvRun r, GvCalc c, int index, BaseTime time)
        {
            bool ret = C4dApiPINVOKE.GvValue_Calculate__SWIG_0(swigCPtr, GvNode.getCPtr(node), (int)io, GvRun.getCPtr(r), GvCalc.getCPtr(c), index, BaseTime.getCPtr(time));

            return(ret);
        }