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

偏移路径集合 更多...

#include <Routing_OffsetPathCollection.hxx>

类 NXOpen::Routing::OffsetPathCollection 继承关系图:
NXOpen::TaggedObjectCollection

class  iterator

Public 类型

enum  BendType { BendTypeMaintainRadius , BendTypeMaintainCenter , BendTypeMaximumBendTypes }

Public 成员函数

iterator begin ()
void ConvertOffsetPaths (NXOpen::Routing::OffsetPath *masterOffsetPath)
NXOpen::Routing::OffsetPathCreateCircularOffsetPath (const std::vector< NXOpen::Routing::ISegment * > &segments, bool allStock, const std::vector< NXOpen::Routing::Stock * > &specStocks, bool maintainStock, bool copyBendCorners, NXOpen::Routing::OffsetPathCollection::BendType maintain, bool useMinimumBendRatio, double minimumBendRatio, double minimumBendRadius, bool deleteAllDuplicates, bool createAssociativePaths, const NXOpen::Vector3d &patternXVector, const NXOpen::Vector3d &patternYVector, const NXOpen::Point3d &patternAxisEndPoint, double patternStartAngle, double radialOffset, int nPaths, double totalAngle, std::vector< NXOpen::Routing::OffsetPath * > &slavePathsCreated)
NXOpen::Routing::OffsetPathCreateRectangularOffsetPath (const std::vector< NXOpen::Routing::ISegment * > &segments, bool allStock, const std::vector< NXOpen::Routing::Stock * > &specStocks, bool maintainStock, bool copyBendCorners, NXOpen::Routing::OffsetPathCollection::BendType maintain, bool useMinimumBendRatio, double minimumBendRatio, double minimumBendRadius, bool deleteAllDuplicates, bool createAssociativePaths, const NXOpen::Vector3d &patternXVector, const NXOpen::Vector3d &patternYVector, const NXOpen::Point3d &patternAxisEndPoint, double patternStartAngle, double rowOffset, double columnOffset, int nRows, int nColumns, int masterRow, int masterColumn, std::vector< NXOpen::Routing::OffsetPath * > &slavePathsCreated)
iterator end ()
tag_t Tag () const

详细描述

偏移路径集合

布线偏移路径对象是布线中的分段列表,同时包含路径的起始和终止控制点。
要获取此类实例,请参考 NXOpen::Routing::RouteManager

在NX4.0.0版本创建。

成员枚举类型说明

◆ BendType

创建偏移路径时的折弯类型

枚举值
BendTypeMaintainRadius 

保持半径

BendTypeMaintainCenter 

保持中心

BendTypeMaximumBendTypes 

最大折弯类型数

成员函数说明

◆ begin()

iterator NXOpen::Routing::OffsetPathCollection::begin ( )

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

◆ ConvertOffsetPaths()

void NXOpen::Routing::OffsetPathCollection::ConvertOffsetPaths ( NXOpen::Routing::OffsetPath * masterOffsetPath)

将偏置路径转换为应用于复制后布线对象的NXOpen::Positioning::Constraint对象。 转换输入的主偏置路径及其所有子偏置路径。 NXOpen::Routing::OffsetPath与通过NXOpen::Routing::SegmentManager::CreateConstrainedSegment创建的线段 或已应用NXOpen::Positioning::Constraint对象的线段不兼容。 此函数通过约束而非NXOpen::Routing::OffsetPath对象使路径保持平行且关联。 已转换的偏置路径对象会被标记为待删除,下次调用NXOpen::Update::DoUpdate时将删除这些偏置路径对象。
NX5.0.0版本创建。

许可证要求:routing_advanced("高级布线")、routing_base("基础布线")

参数
masterOffsetPath主偏置路径

◆ CreateCircularOffsetPath()

NXOpen::Routing::OffsetPath * NXOpen::Routing::OffsetPathCollection::CreateCircularOffsetPath ( const std::vector< NXOpen::Routing::ISegment * > & segments,
bool allStock,
const std::vector< NXOpen::Routing::Stock * > & specStocks,
bool maintainStock,
bool copyBendCorners,
NXOpen::Routing::OffsetPathCollection::BendType maintain,
bool useMinimumBendRatio,
double minimumBendRatio,
double minimumBendRadius,
bool deleteAllDuplicates,
bool createAssociativePaths,
const NXOpen::Vector3d & patternXVector,
const NXOpen::Vector3d & patternYVector,
const NXOpen::Point3d & patternAxisEndPoint,
double patternStartAngle,
double radialOffset,
int nPaths,
double totalAngle,
std::vector< NXOpen::Routing::OffsetPath * > & slavePathsCreated )

创建圆形偏置路径。

返回
创建的主偏置路径
于NX4.0.0版本创建。

许可证要求:routing_advanced("高级布线"), routing_base("基础布线")
参数
segments要与偏置路径关联的段列表
allStock全部管料
specStocks指定管料
maintainStock若为TRUE:在路径上保留管料
copyBendCorners若为TRUE:复制弯角
maintain保留半径或圆心
useMinimumBendRatio若为TRUE:使用与管料直径的比率
minimumBendRatio最小弯角比率
minimumBendRadius最小弯角半径
deleteAllDuplicates若为TRUE:删除所有重复路径
createAssociativePaths若为TRUE:创建关联路径
patternXVector用于设置阵列参考轴的X向量
patternYVector用于设置阵列参考轴的Y向量
patternAxisEndPoint用于设置阵列参考轴方向的点 若为NULL:使用启发式方法计算参考轴
patternStartAngle起始角度
radialOffset径向偏置距离
nPaths路径数量
totalAngle总角度
slavePathsCreated创建的从偏置路径

◆ CreateRectangularOffsetPath()

NXOpen::Routing::OffsetPath * NXOpen::Routing::OffsetPathCollection::CreateRectangularOffsetPath ( const std::vector< NXOpen::Routing::ISegment * > & segments,
bool allStock,
const std::vector< NXOpen::Routing::Stock * > & specStocks,
bool maintainStock,
bool copyBendCorners,
NXOpen::Routing::OffsetPathCollection::BendType maintain,
bool useMinimumBendRatio,
double minimumBendRatio,
double minimumBendRadius,
bool deleteAllDuplicates,
bool createAssociativePaths,
const NXOpen::Vector3d & patternXVector,
const NXOpen::Vector3d & patternYVector,
const NXOpen::Point3d & patternAxisEndPoint,
double patternStartAngle,
double rowOffset,
double columnOffset,
int nRows,
int nColumns,
int masterRow,
int masterColumn,
std::vector< NXOpen::Routing::OffsetPath * > & slavePathsCreated )

创建矩形偏置路径。

返回
创建的主偏置路径
于NX4.0.0版本创建。

许可证要求:routing_advanced("高级布线"), routing_base("基础布线")
参数
segments要与偏置路径关联的段列表
allStock全部管料
specStocks指定管料
maintainStock若为TRUE:在路径上保留管料
copyBendCorners若为TRUE:复制弯角
maintain保留半径或圆心
useMinimumBendRatio若为TRUE:使用与管料直径的比率
minimumBendRatio最小弯角比率
minimumBendRadius最小弯角半径
deleteAllDuplicates若为TRUE:删除所有重复路径
createAssociativePaths若为TRUE:创建关联路径
patternXVector用于设置阵列参考轴的X向量
patternYVector用于设置阵列参考轴的Y向量
patternAxisEndPoint用于设置阵列参考轴方向的点 若为NULL:使用启发式方法计算参考轴
patternStartAngle阵列起始角度
rowOffset行方向偏置距离
columnOffset列方向偏置距离
nRows行数
nColumns列数
masterRow主路径所在行
masterColumn主路径所在列
slavePathsCreated创建的从偏置路径

◆ end()

iterator NXOpen::Routing::OffsetPathCollection::end ( )
inline

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

◆ Tag()

tag_t NXOpen::Routing::OffsetPathCollection::Tag ( ) const

返回此对象的标识。