当前位置: 首页 > news >正文

wordpress导入网站文章西安seo专员

wordpress导入网站文章,西安seo专员,成都人才网站建设,百度竞价返点开户大家好,今天要介绍查询曲线上点位和返回沿着曲线偏移一定距离的UFUN函数。 (1)UF_MODL_ask_curve_points:这个函数的定义为按照给定条件查询曲线上的点位。 Defined in: uf_modl_curves.h Overview Returns an array of 3D …

大家好,今天要介绍查询曲线上点位和返回沿着曲线偏移一定距离的UFUN函数。

(1)UF_MODL_ask_curve_points:这个函数的定义为按照给定条件查询曲线上的点位。

Defined in: uf_modl_curves.h
 

Overview

Returns an array of 3D point coordinates (x,y,z) based on an input
curve, chordal tolerance, angular tolerance, and step tolerance.
A chord is the straight line between adjacent coordinates. The
tolerances provide independent values for controlling the output of
the coordinates located on the curve. The chordal tolerance (ctol) is
the maximum allowable distance from a chord to the curve between
the ends of the chord. The angular tolerance (atol) is the maximum
allowable sum of the angles between the chord and the tangents to the
curve at the ends of the chord. The step length (stol) is the maximum
allowable chordal length.

This routine does not create point objects as the GRIP and interactive
methods do.

If curve_id is an occurrence, then the points returned are relative to
the occurrence, and not the prototype.
 

Return

Error code:
0 = OK
1 = Invalid curve
2 = Modeler error

Note that this function treats the input "ctol" and "stol" tolerances
and returns point coordinates in the base units of the current displayed
part rather than the units of the part containing the input curve/edge.

In order it to return the expected coordinatesthe displayed part must be
set to the part containing the curve (or any other part using the units
of that part) and the display must have also been refreshed after setting
the new displayed part.

For example:

orig = UF_PART_ask_display_part();
UF_PART_ask_units(orig, &display_units);

UF_PART_ask_units(curve_owner, &units);
if (units != display_units)
{
UF_PART_set_display_part(curve_owner);
UF_DISP_refresh(); // required!
}
...
UF_MODL_ask_curve_points(curve, ...
...
UF_PART_set_display_part(orig);
 

Environment

Internal and External
 

See Also

Refer to example
 

History

Modified in V15.0 to work relative to the occurrence.
Added comments in NX8.5 regarding part units.
 

Required License(s)

gateway


 

int UF_MODL_ask_curve_points
(

tag_t curve_id,
double ctol,
double atol,
double stol,
int * numpts,
double * * pts

)

tag_tcurve_idInputThe identifier of the curve on which the points are
to be determined.
doublectolInputThe chordal tolerance.
0= do not use chordal tolerance.
doubleatolInputThe angular tolerance in radians
0= do not use angular tolerance.
doublestolInputMaximum step length.
0 = do not use
int *numptsOutputNumber of points in the points array.
double * *ptsOutput to UF_*free*Pointer to the array containing the 3D points. The
array returned is a single dimension array of size
pts[3numpts]. The allocated arrays must be freed
with UF_free.

第一个参数为输入曲线的Tag值。

第二个参数为

弦公差。

0=不使用弦公差。

第三个参数为

以弧度为单位的角公差

0=不使用角公差。

第四个参数为

最大步长。

0 =不使用

第五个参数为

返回数组中点数的数目

第六个参数为

指向包含3D点的数组的指针

(2)UF_MODL_ask_point_along_curve_2:这个函数的定义为返回曲线上偏移距离处的点。

Defined in: uf_modl_curves.h
 

Overview

Alternate version of UF_MODL_ask_point_along_curve to better handle
cases of curves with sharp corners or sharp bends. Also, returns the
point on the curve at the offset distance.
 

Required License(s)

gateway


 

int UF_MODL_ask_point_along_curve_2
(

double point [ 3 ] ,
tag_t curve,
double offset,
int direction,
double tolerance,
double point_along_curve [ 3 ] ,
double * parameter

)

doublepoint [ 3 ]InputAbsolute coordinates of the reference point.
tag_tcurveInputIdentifier of the selected curve.
doubleoffsetInputOffset distance from the reference point along the
selected curve.
intdirectionInputDirection flag,
1=Same direction as the selected curve.
(from start point to end point)
-1=Reverse direction of the selected curve
(from end point to start point)
doubletoleranceInputDistance tolerance between solid edge and
approximated curve.
doublepoint_along_curve [ 3 ]OutputAbsolute coordinates of the point on the curve
at the offset distance.
double *parameterOutputParameter value for the located point on the
selected curve.

第一个参数为起始点位。

第二个参数为选定曲线的Tag值。

第三个参数为沿曲线与参考点的偏移距离。

第四个参数为方向标志。

第五个参数为实心边与近似曲线的距离公差。

第六个参数为返回偏移距离的坐标点位。

第七个参数为选定曲线上所定位点的参数值。

今天要介绍的就是这么多,我们下篇文章再见。

http://www.dtcms.com/a/474477.html

相关文章:

  • 大学城网站开发公司深圳企业网页设计公司
  • commons-configuration2(配置管理库)
  • 处理Git错误:“invalid object [hash]”和“unable to read tree [hash]”
  • MySQL数据库 常用命令整理
  • 前端开发 - 实时智能回复
  • 对电子商务网站建设与维护的总结wordpress多选展示表单
  • 从零起步学习MySQL || 第二章:DDL语句定义及常见用法示例
  • Oracle REST Data Services是什么?
  • [吾爱大神原创工具] windows 多窗口同步软件(键+鼠) 20251011 更新
  • TDengine 数学函数 COS 用户手册
  • qfd 网站开发wordpress 上传主题 ftp
  • 算法与数据结构——排序算法大全
  • 吕口-反射薄利多销AI入口算法系统方案
  • Python全方位指南:定义、应用与零基础入门实战
  • Iperius Backup Full(备份恢复软件) 多语便携版
  • 建站平台在线提交功能wordpress 访问慢
  • 《深入理解Java虚拟机JVM高级特性与最佳实践》
  • 昆明模板建站定制网站网页设计公司哪个好
  • 语义与认知中的循环解释悖论及其对人工智能自然语言处理的深层语义分析的影响和启示
  • 可以做硬件外包项目的网站网站建设的发展目标
  • 地产网站建设互动营销网站兼容手机代码
  • 【AI编程】腾讯AI编程神器 CodeBuddy从使用到项目实战详解
  • JavaEE 初阶第二十九期:HTTP协议深度揭秘(三)
  • ReentrantLock中的Condition
  • 基于Spring Boot + Vue 3的乡村振兴综合服务平台架构设计与实现
  • 专门做门的网站软件开发公司专业的有哪些
  • 网站不用了 怎么关闭吗做资源网站怎么赚钱
  • J东h5st逆向实战
  • 营销型网站如何制作软件设计师含金量高吗
  • 【MySQL】从零开始了解数据库开发 --- 基本查询