/// <summary>
/// 通过百分比参数获得曲线上一个点的坐标
/// </summary>
/// <param name="curveTag"></param>
/// <param name="parameter">0.0-1.0</param>
/// <returns></returns>
public static Point3d GetPointFormCurveByParameter(Tag curveTag, double parameter)
{
double[] point = new double[3];
double[] tangent = new double[3];
double[] p_norm = new double[3];
double[] b_norm = new double[3];
UFSession.GetUFSession().Modl.AskCurveProps(curveTag, parameter, point, tangent, p_norm, b_norm, out _, out _);
return new Point3d(point[0], point[1], point[2]);
}
最后
以上就是默默鸭子最近收集整理的关于NXOPEN/UG二次开发C#---通过百分比参数获得曲线上一个点的坐标的全部内容,更多相关NXOPEN/UG二次开发C#---通过百分比参数获得曲线上一个点内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复