Esempio n. 1
0
        public static IVisio.Shape DrawNURBS(
            this IVisio.Page page,
            IList <Geometry.Point> controlpoints,
            IList <double> knots,
            IList <double> weights, int degree)
        {
            var surface = new SurfaceTarget(page);
            var shape   = surface.DrawNURBS(controlpoints, knots, weights, degree);

            return(shape);
        }