Skip to content

mxcad_3d API 文档 / Mx3dAlgoChamfer

Class: Mx3dAlgoChamfer ​

倒斜角算法

Hierarchy ​

Table of contents ​

Constructors ​

Methods ​

Constructors ​

constructor ​

• new Mx3dAlgoChamfer(S)

构造函数,输入需要倒斜角的对象

Parameters ​

NameTypeDescription
SMx3dShapeObject进行倒斜角算法的对象

Overrides ​

Mx3dAlgoObject.constructor

Methods ​

Add ​

▸ Add(Dis, E): void

添加对象上需要倒斜角的边

Parameters ​

NameTypeDescription
Disnumber倒斜角距离
EMx3dShapeEdge对象上的边

Returns ​

void


Shape ​

▸ Shape(): Mx3dShapeObject

获取倒斜角后的形状对象

Returns ​

Mx3dShapeObject

倒斜角后的形状对象