예제 #1
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));
        }
예제 #2
0
        public void Get(IOpTuple3 setter)
        {
            IOpTuple3_Byte _setter = setter.AsOpTupleByte();

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