This sample teaches you how to create an OpenGL based Spline Drawing application using the MFC library. It shows how to setup 4 Control Points: 1. Start Point 2. End Point 3. Tangent Start Point 4. Tangent End Point User Interactions * Right click to load the on screen context menu. * Left click and drag to move the selected control point around and see its effect on the spline. * From the Spline menu, you can select the Type of Spline: Hermite, Cardinal or Bezier. * In the same menu you can change the Tension of the control points effect on the spline. * You can also select different control points between: Start/End points and Start/End Tangent points.
2022-03-04 12:59:24 41KB osg opengl 样条曲线 hermite
1
用C#绘制样条曲线, Point[] points = {new Point(60, 60), new Point(150, 80), new Point(200, 40), new Point(180, 120), new Point(120, 100), new Point(80, 160)}; Pen pen = new Pen(Color.FromArgb(255, 0, 0, 255)); e.Graphics.DrawClosedCurve(pen, points);
2022-02-16 16:43:28 40KB 绘制样条曲线
1
从B样条曲线的概念和定义出发,按节点矢量中节点的 分布情况把B样条曲线划分成均匀B样条曲线、准均匀B样条曲线、分段贝齐尔曲线、一般非均匀B样条曲线4种 类型,分别对它们的特点和实现方法进行了详细阐述,最后给出了一个完整的各种B样条曲线生成代码和运行结 果
2022-01-19 13:31:06 288KB B样条曲线
1
matlab代码影响THB线路 Python中截断的层次B样条曲线 该存储库包含截断的分层B样条的独立于维度的Python实现以及用于组合刚度和质量矩阵的方法。 该代码目前处于完全未记录的状态,并且可能包含错误-因此请自行决定使用。 该实现基于本文,并且受到作者开发的用于等几何分析的Matlab / Octave软件包的严重影响。 示例-计算质量和刚度矩阵 有限元矩阵的计算非常简单。 初始化分层空间。 通过选择特定的元素或矩形的优化区域来优化空间,最后组装矩阵。 import THBSplines as thb import matplotlib . pyplot as plt # Initialize a biquadraic space of Truncated Hierarchical B-Splines knots = [ [ 0 , 0 , 1 / 3 , 2 / 3 , 1 , 1 ], [ 0 , 0 , 1 / 3 , 2 / 3 , 1 , 1 ] ] degrees = [ 2 , 2 ] dimension = 2 T = thb . HierarchicalSp
2022-01-16 15:01:43 44KB 系统开源
1
纯c#源代码,绝对好使,配有注释,带有例子,使用方法简单
2022-01-14 08:25:48 378KB 哈哈
1
还在为样条曲线何多线段苦恼吗?试试这个lisp程序吧
2022-01-11 20:52:19 4KB 样条曲线 多线段
1
使用vs和EasyX对B样条曲线进行代码级实现,并绘制出来
2022-01-08 10:37:59 10.62MB B样条
1
两个VBA小程序,可以批量绘制特定规格的矩形框,可将样条曲线装换为多段线,精度可控,欢迎交流,下载,使用。
2022-01-06 22:45:17 22KB VBA CAD 绘图 曲线
1
实验内容: (1)掌握三次B样条曲线算法原理; (2)掌握三次B样条曲线边界条件特点; 实现功能: a)实现三次B样条曲线绘制算法 b)调用B样条曲线算法来绘制一段汉语、英文或你喜爱的平面图案;
1
三次B样条曲线在VB下的实现,运行成功。三次B样条曲线在VB下的实现,运行成功。
2021-12-21 10:08:34 2KB B样条 VB
1