Esempio n. 1
0
        public static IOpTuple3_Integer AsOpTupleInteger(this IOpTuple3 v)
        {
            IOpTuple3_Integer ret = v as IOpTuple3_Integer;

            if (ret != null)
            {
                return(ret);
            }
            return(VectorUtils.Convert <IOpTuple3_Integer>(v));
        }
Esempio n. 2
0
        public static IOpTuple3_Byte AsOpTupleByte(this IOpTuple3 v)
        {
            IOpTuple3_Byte ret = v as IOpTuple3_Byte;

            if (ret != null)
            {
                return(ret);
            }
            return(VectorUtils.Convert <IOpTuple3_Byte>(v));
        }
Esempio n. 3
0
        public static IOpTuple3_Float AsOpTupleFloat(this IOpTuple3 v)
        {
            IOpTuple3_Float ret = v as IOpTuple3_Float;

            if (ret != null)
            {
                return(ret);
            }
            return(VectorUtils.Convert <IOpTuple3_Float>(v));
        }
Esempio n. 4
0
        public void Get(IOpTuple3 setter)
        {
            IOpTuple3_Double _setter = setter.AsOpTupleDouble();

            _setter.Set(this.X, this.Y, this.Z);
        }
Esempio n. 5
0
        public void Get(IOpTuple3 setter)
        {
            IOpTuple3_Float _setter = setter.AsOpTupleFloat();

            _setter.Set(this.Red, this.Green, this.Blue);
        }
Esempio n. 6
0
        public void Get(IOpTuple3 setter)
        {
            IOpTuple3_Byte _setter = setter.AsOpTupleByte();

            _setter.Set(this.Red, this.Green, this.Blue);
        }