示例#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));
        }
示例#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));
        }
示例#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));
        }
示例#4
0
        public void Get(IOpTuple3 setter)
        {
            IOpTuple3_Double _setter = setter.AsOpTupleDouble();

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

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

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