MC-Basic:CASTPOINT/zh-hans

From SoftMC-Wiki
< MC-Basic:CASTPOINT
Revision as of 02:22, 26 April 2017 by Chi (talk | contribs) (Created page with "{{Languages}} == 缩写 == == 格式 == <''point_variable''> = castpoint (<''list_of_coordinates''>, <''long_expression''>) == 适用版本 == 从版本4.9.11起 == 描述 ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
语言: English  • 中文(简体)‎

缩写

格式

<point_variable> = castpoint (<list_of_coordinates>, <long_expression>)

适用版本

从版本4.9.11起

描述

使用第二个长类型参数给出的机器人类型创建并返回一个通用点,而点类型(即关节或位置)和坐标值取自第一个坐标列表参数。

类型

Joint or Location

取值范围

单位

默认

使用范围

Configuration, Task, Terminal

限制

第二个参数中给出的机器人类型必须与坐标列表参数的坐标数相匹配。

例子

GenJoint = CASTPOINT({0.0, 10.0, 20.0}, TYPE_XYZ)

? CASTPOINT(#{0.0, 0.0, 0.0, 1.0}, TYPE_XYZR)

参见