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

运动段集合 更多...

#include <Motion_SegmentCollection.hxx>

类 NXOpen::Motion::SegmentCollection 继承关系图:
NXOpen::TaggedObjectCollection

class  iterator

Public 成员函数

iterator begin ()
iterator end ()
NXOpen::Motion::SegmentFindObject (const char *name)
NXOpen::Motion::SegmentFindObject (const NXString &name)
tag_t Tag () const

详细描述

运动段集合

表示Segment对象的集合,仅支持创建
要获取此类的实例,请参考 NXOpen::Motion::Road

于NX11.0.0版本创建。

成员函数说明

◆ begin()

iterator NXOpen::Motion::SegmentCollection::begin ( )

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

◆ end()

iterator NXOpen::Motion::SegmentCollection::end ( )
inline

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

◆ FindObject() [1/2]

NXOpen::Motion::Segment * NXOpen::Motion::SegmentCollection::FindObject ( const char * name)

根据给定名称查找 NXOpen::Motion::Segment 对象。 若找不到对应名称的对象,将抛出异常。

返回
具有此名称的 NXOpen::Motion::Segment 对象。
于NX11.0.0版本创建。

许可要求:无
参数
nameSegment对象的名称。

◆ FindObject() [2/2]

NXOpen::Motion::Segment * NXOpen::Motion::SegmentCollection::FindObject ( const NXString & name)

根据给定名称查找 NXOpen::Motion::Segment 对象。 若找不到对应名称的对象,将抛出异常。

返回
具有此名称的 NXOpen::Motion::Segment 对象。
于NX11.0.0版本创建。

许可要求:无
参数
nameSegment对象的名称。

◆ Tag()

tag_t NXOpen::Motion::SegmentCollection::Tag ( ) const

返回此对象的标识。