Esempio n. 1
0
 public SquaredBinaryPattern(SquaredBinaryPatternMatrix pattern) : this(solar_datastructurePINVOKE.new_SquaredBinaryPattern__SWIG_1(SquaredBinaryPatternMatrix.getCPtr(pattern)), true)
 {
     if (solar_datastructurePINVOKE.SWIGPendingException.Pending)
     {
         throw solar_datastructurePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 2
0
        public FrameworkReturnCode setPatternMatrix(SquaredBinaryPatternMatrix pattern)
        {
            FrameworkReturnCode ret = (FrameworkReturnCode)solar_datastructurePINVOKE.SquaredBinaryPattern_setPatternMatrix(swigCPtr, SquaredBinaryPatternMatrix.getCPtr(pattern));

            if (solar_datastructurePINVOKE.SWIGPendingException.Pending)
            {
                throw solar_datastructurePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 3
0
        public SquaredBinaryPatternMatrix getPatternMatrix()
        {
            SquaredBinaryPatternMatrix ret = new SquaredBinaryPatternMatrix(solar_datastructurePINVOKE.SquaredBinaryPattern_getPatternMatrix(swigCPtr), false);

            if (solar_datastructurePINVOKE.SWIGPendingException.Pending)
            {
                throw solar_datastructurePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SquaredBinaryPatternMatrix obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }