Exemple #1
0
        /// <summary>
        /// Constructors a plane on a surface by given parameter. 
        /// </summary>
        /// <param name="contextSurface"></param>
        /// <param name="u"></param>
        /// <param name="v"></param>
        /// <returns></returns>
        public static Plane AtParameter(Surface contextSurface, double u, double v)
        {
            CoordinateSystem cs    = CoordinateSystem.AtParameterCore(contextSurface, u, v, false);
            Plane            plane = Plane.FromCoordinateSystem(cs);

            plane.Context = contextSurface;
            plane.U       = u;
            plane.V       = v;
            return(plane);
        }