NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
NXOpen::CoordinateSystemCollection类 参考

表示NXOpen::CoordinateSystem 的集合。 遍历此集合仅返回包含在集合所属部件中的活动未废弃对象。注意NXOpen::CoordinateSystem 是智能对象,许多智能对象会被废弃,因为它们仅用于支持其他对象且不显示。
要获取此类的实例,请参考NXOpen::BasePart

创建于NX3.0.0。
更多...

#include <CoordinateSystemCollection.hxx>

类 NXOpen::CoordinateSystemCollection 继承关系图:
NXOpen::TaggedObjectCollection

class  iterator

Public 成员函数

iterator begin ()
NXOpen::CartesianCoordinateSystemCreateCoordinateSystem (const NXOpen::Point3d &origin, const NXOpen::Matrix3x3 &orientation, bool isTemporary)
NXOpen::CartesianCoordinateSystemCreateCoordinateSystem (const NXOpen::Point3d &origin, const NXOpen::Vector3d &xDirection, const NXOpen::Vector3d &yDirection)
NXOpen::CartesianCoordinateSystemCreateCoordinateSystem (const NXOpen::Point3d &origin, NXOpen::NXMatrix *orientation, bool isTemporary)
NXOpen::CartesianCoordinateSystemCreateCoordinateSystem (NXOpen::Xform *xform, NXOpen::SmartObject::UpdateOption update)
NXOpen::CylindricalCoordinateSystemCreateCylindricalCoordinateSystem (const NXOpen::Point3d &origin, const NXOpen::Vector3d &xDirection, const NXOpen::Vector3d &yDirection)
NXOpen::CylindricalCoordinateSystemCreateCylindricalCoordinateSystem (const NXOpen::Point3d &origin, NXOpen::NXMatrix *orientation, bool isTemporary)
NXOpen::CylindricalCoordinateSystemCreateCylindricalCoordinateSystem (NXOpen::Xform *xform, NXOpen::SmartObject::UpdateOption update)
NXOpen::SphericalCoordinateSystemCreateSphericalCoordinateSystem (const NXOpen::Point3d &origin, const NXOpen::Vector3d &xDirection, const NXOpen::Vector3d &yDirection)
NXOpen::SphericalCoordinateSystemCreateSphericalCoordinateSystem (const NXOpen::Point3d &origin, NXOpen::NXMatrix *orientation, bool isTemporary)
NXOpen::SphericalCoordinateSystemCreateSphericalCoordinateSystem (NXOpen::Xform *xform, NXOpen::SmartObject::UpdateOption update)
iterator end ()
void GetOriginAndDirections (NXOpen::CoordinateSystem *csystem, NXOpen::Point **origin, NXOpen::Direction **direction1, NXOpen::Direction **direction2)
tag_t Tag () const

详细描述

表示NXOpen::CoordinateSystem 的集合。 遍历此集合仅返回包含在集合所属部件中的活动未废弃对象。注意NXOpen::CoordinateSystem 是智能对象,许多智能对象会被废弃,因为它们仅用于支持其他对象且不显示。
要获取此类的实例,请参考NXOpen::BasePart

创建于NX3.0.0。

坐标系集合类

成员函数说明

◆ begin()

iterator NXOpen::CoordinateSystemCollection::begin ( )

返回指向第一个元素的迭代器。

◆ CreateCoordinateSystem() [1/4]

NXOpen::CartesianCoordinateSystem * NXOpen::CoordinateSystemCollection::CreateCoordinateSystem ( const NXOpen::Point3d & origin,
const NXOpen::Matrix3x3 & orientation,
bool isTemporary )

创建新的笛卡尔坐标系

返回
创建的笛卡尔坐标系
于NX3.0.0版本创建。

许可要求:无
参数
origin新坐标系的原点 (相对于绝对坐标系)
orientation新坐标系的方向 (相对于绝对坐标系)。必须是正交矩阵。
isTemporary如果坐标系是临时的,则不会显示且不会保存到部件文件中

◆ CreateCoordinateSystem() [2/4]

NXOpen::CartesianCoordinateSystem * NXOpen::CoordinateSystemCollection::CreateCoordinateSystem ( const NXOpen::Point3d & origin,
const NXOpen::Vector3d & xDirection,
const NXOpen::Vector3d & yDirection )

创建新的笛卡尔坐标系

返回
创建的笛卡尔坐标系
于NX5.0.0版本创建。

许可要求:无
参数
origin新坐标系的原点 (相对于绝对坐标系)
xDirection新坐标系的X方向 (相对于绝对坐标系)
yDirection新坐标系的Y方向 (相对于绝对坐标系)

◆ CreateCoordinateSystem() [3/4]

NXOpen::CartesianCoordinateSystem * NXOpen::CoordinateSystemCollection::CreateCoordinateSystem ( const NXOpen::Point3d & origin,
NXOpen::NXMatrix * orientation,
bool isTemporary )

创建新的笛卡尔坐标系

返回
创建的笛卡尔坐标系
于NX3.0.0版本创建。

许可要求:无
参数
origin新坐标系的原点 (相对于绝对坐标系
orientation新坐标系的方向
isTemporary如果坐标系是临时的,则不会显示且不会保存到部件文件中

◆ CreateCoordinateSystem() [4/4]

NXOpen::CartesianCoordinateSystem * NXOpen::CoordinateSystemCollection::CreateCoordinateSystem ( NXOpen::Xform * xform,
NXOpen::SmartObject::UpdateOption update )

从变换和更新选项创建笛卡尔坐标系。

返回
创建的笛卡尔坐标系
创建于NX4.0.0。

许可要求:无
参数
xform坐标系的变换
update更新选项

◆ CreateCylindricalCoordinateSystem() [1/3]

NXOpen::CylindricalCoordinateSystem * NXOpen::CoordinateSystemCollection::CreateCylindricalCoordinateSystem ( const NXOpen::Point3d & origin,
const NXOpen::Vector3d & xDirection,
const NXOpen::Vector3d & yDirection )

创建新的圆柱坐标系

返回
创建的圆柱坐标系
于NX5.0.0版本创建。

许可要求:无
参数
origin新坐标系的原点 (相对于绝对坐标系)
xDirection新坐标系的X方向 (相对于绝对坐标系)
yDirection新坐标系的Y方向 (相对于绝对坐标系)

◆ CreateCylindricalCoordinateSystem() [2/3]

NXOpen::CylindricalCoordinateSystem * NXOpen::CoordinateSystemCollection::CreateCylindricalCoordinateSystem ( const NXOpen::Point3d & origin,
NXOpen::NXMatrix * orientation,
bool isTemporary )

创建新的圆柱坐标系

返回
创建的圆柱坐标系
创建于NX4.0.0。

许可要求:无
参数
origin新坐标系的原点(相对于绝对坐标系
orientation新坐标系的方位
isTemporary如果坐标系是临时的,则不会显示且不会保存在部件文件中

◆ CreateCylindricalCoordinateSystem() [3/3]

NXOpen::CylindricalCoordinateSystem * NXOpen::CoordinateSystemCollection::CreateCylindricalCoordinateSystem ( NXOpen::Xform * xform,
NXOpen::SmartObject::UpdateOption update )

从变换和更新选项创建圆柱坐标系。

返回
创建的圆柱坐标系
创建于NX4.0.0。

许可要求:无
参数
xform坐标系的变换
update更新选项

◆ CreateSphericalCoordinateSystem() [1/3]

NXOpen::SphericalCoordinateSystem * NXOpen::CoordinateSystemCollection::CreateSphericalCoordinateSystem ( const NXOpen::Point3d & origin,
const NXOpen::Vector3d & xDirection,
const NXOpen::Vector3d & yDirection )

创建新的球坐标系

返回
创建的球坐标系
于NX5.0.0版本创建。

许可要求:无
参数
origin新坐标系的原点 (相对于绝对坐标系)
xDirection新坐标系的X方向 (相对于绝对坐标系)
yDirection新坐标系的Y方向 (相对于绝对坐标系)

◆ CreateSphericalCoordinateSystem() [2/3]

NXOpen::SphericalCoordinateSystem * NXOpen::CoordinateSystemCollection::CreateSphericalCoordinateSystem ( const NXOpen::Point3d & origin,
NXOpen::NXMatrix * orientation,
bool isTemporary )

创建新的球坐标系

返回
创建的球坐标系
创建于NX4.0.0。

许可要求:无
参数
origin新坐标系的原点(相对于绝对坐标系
orientation新坐标系的方位
isTemporary如果坐标系是临时的,则不会显示且不会保存在部件文件中

◆ CreateSphericalCoordinateSystem() [3/3]

NXOpen::SphericalCoordinateSystem * NXOpen::CoordinateSystemCollection::CreateSphericalCoordinateSystem ( NXOpen::Xform * xform,
NXOpen::SmartObject::UpdateOption update )

从变换和更新选项创建球坐标系。

返回
创建的球坐标系
创建于NX4.0.0。

许可要求:无
参数
xform坐标系的变换
update更新选项

◆ end()

iterator NXOpen::CoordinateSystemCollection::end ( )
inline

返回指向最后一个元素之后位置的迭代器。

◆ GetOriginAndDirections()

void NXOpen::CoordinateSystemCollection::GetOriginAndDirections ( NXOpen::CoordinateSystem * csystem,
NXOpen::Point ** origin,
NXOpen::Direction ** direction1,
NXOpen::Direction ** direction2 )

如果笛卡尔坐标系由点和两个方向定义,则输出其原点和方向。
创建于NX1899.0.0。

许可要求:无

参数
csystem坐标系
origin原点(如果存在)
direction1第一个方向(如果存在)
direction2第二个方向(如果存在)

◆ Tag()

tag_t NXOpen::CoordinateSystemCollection::Tag ( ) const

返回此对象的标签。