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

矩形集合类 更多...

#include <Document_RectangleCollection.hxx>

类 NXOpen::Document::RectangleCollection 继承关系图:
NXOpen::TaggedObjectCollection

class  iterator

Public 成员函数

iterator begin ()
NXOpen::Document::RectangleBuilderCreateRectangleBuilder (NXOpen::Document::Page *page, NXOpen::Document::Rectangle *rectangle)
iterator end ()
NXOpen::Document::RectangleFindObject (const char *journalIdentifier)
NXOpen::Document::RectangleFindObject (const NXString &journalIdentifier)
tag_t Tag () const

详细描述

矩形集合类

表示文档中矩形的集合对象。
要获取此类的实例,请参考 NXOpen::Document::DocumentPart

于 NX2212.0.0 版本创建。

成员函数说明

◆ begin()

iterator NXOpen::Document::RectangleCollection::begin ( )

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

◆ CreateRectangleBuilder()

NXOpen::Document::RectangleBuilder * NXOpen::Document::RectangleCollection::CreateRectangleBuilder ( NXOpen::Document::Page * page,
NXOpen::Document::Rectangle * rectangle )

创建一个 NXOpen::Document::RectangleBuilder
于 NX2212.0.0 版本创建。

许可证要求:无

参数
page页面
rectangle要编辑的 NXOpen::Document::Rectangle ,如果为 NULL 则创建新的

◆ end()

iterator NXOpen::Document::RectangleCollection::end ( )
inline

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

◆ FindObject() [1/2]

NXOpen::Document::Rectangle * NXOpen::Document::RectangleCollection::FindObject ( const char * journalIdentifier)

查找在日志中记录的具有指定标识符的 NXOpen::Document::Rectangle 。 如果找不到具有指定名称的对象,则会抛出异常。

返回
具有此名称的 NXOpen::Document::Rectangle
于 NX2212.0.0 版本创建。

许可证要求:无
参数
journalIdentifier要查找的标识符

◆ FindObject() [2/2]

NXOpen::Document::Rectangle * NXOpen::Document::RectangleCollection::FindObject ( const NXString & journalIdentifier)

查找在日志中记录的具有指定标识符的 NXOpen::Document::Rectangle 。 如果找不到具有指定名称的对象,则会抛出异常。

返回
具有此名称的 NXOpen::Document::Rectangle
于 NX2212.0.0 版本创建。

许可证要求:无
参数
journalIdentifier要查找的标识符

◆ Tag()

tag_t NXOpen::Document::RectangleCollection::Tag ( ) const

返回此对象的标签。