Example #1
0
        /// <summary>
        /// Required parameters:
        /// (Location) corner_location, 
        /// (NonzeroVector) length
        /// (NonzeroVector) width
        /// (NonzeroVector) height
        /// (boolean) perfect_front (default true)
        /// </summary>
        /// <param name='shadowObject'>
        /// Shadow object containing parameters from summary.
        /// </param>
        protected void shadowFac_Width_Height_And_Length(ShadowScientrace.ShadowObject3d shadowObject)
        {
            //User values(s)
                Scientrace.Location corner_location = shadowObject.getLocation("corner_location");
                Scientrace.NonzeroVector length = shadowObject.getNzVector("length");
                Scientrace.NonzeroVector width = shadowObject.getNzVector("width");
                Scientrace.NonzeroVector height = shadowObject.getNzVector("height");
            bool perfect_top = shadowObject.getBool("perfect_top")==true;

            //Derived value(s)
            //none

            //initialize!
            this.paramInit(corner_location, width, height, length);

            //add some additional parameters
            this.perfectTop = perfect_top;
        }