Skip to content

mxcad_3d API 文档 / Mx3dDimAngle

Class: Mx3dDimAngle ​

Hierarchy ​

Table of contents ​

Constructors ​

Methods ​

Constructors ​

constructor ​

• new Mx3dDimAngle(theFirstEdge, theSecondEdge)

构造角度尺寸,针对指定的两条交叉边。

Parameters ​

NameTypeDescription
theFirstEdgeMx3dShapeEdge第一条边。
theSecondEdgeMx3dShapeEdge第二条边。

Overrides ​

Mx3dDimObject.constructor

• new Mx3dDimAngle(theFirstPoint, theSecondPoint, theThirdPoint)

构造角度尺寸,针对指定的三点。

Parameters ​

NameTypeDescription
theFirstPointMx3dGePoint第一点。
theSecondPointMx3dGePoint第二点(角度中心点)。
theThirdPointMx3dGePoint第三点。

Overrides ​

Mx3dDimObject.constructor

Methods ​

CenterPoint ​

▸ CenterPoint(): Mx3dGePoint

Returns ​

Mx3dGePoint

返回角度的中心点。


FirstPoint ​

▸ FirstPoint(): Mx3dGePoint

Returns ​

Mx3dGePoint

返回角度的第一点。


FirstShape ​

▸ FirstShape(): Mx3dShapeObject

Returns ​

Mx3dShapeObject

返回第一个形状对象。


GetArrowsVisibility ​

▸ GetArrowsVisibility(): MxTypeOfAngleArrowVisibility

Returns ​

MxTypeOfAngleArrowVisibility

返回箭头可见性类型。


GetDisplayUnits ​

▸ GetDisplayUnits(): string

Returns ​

string

返回显示单位字符串。


GetFlyout ​

▸ GetFlyout(): number

Returns ​

number

返回尺寸线位置距离。


GetGeometryType ​

▸ GetGeometryType(): number

Returns ​

number

返回几何类型。


GetModelUnits ​

▸ GetModelUnits(): string

Returns ​

string

返回模型单位字符串。


GetPlane ​

▸ GetPlane(): Mx3dGePlane

Returns ​

Mx3dGePlane

返回角度的平面。


GetTextPosition ​

▸ GetTextPosition(): Mx3dGePoint

Returns ​

Mx3dGePoint

返回文本位置点。


GetType ​

▸ GetType(): MxTypeOfAngle

Returns ​

MxTypeOfAngle

返回当前角度类型。


GetValue ​

▸ GetValue(): number

Returns ​

number

返回角度值。


IsTextPositionCustom ​

▸ IsTextPositionCustom(): boolean

Returns ​

boolean

返回文本位置是否自定义。


IsValid ​

▸ IsValid(): boolean

Returns ​

boolean

返回是否有效。


KindOfDimension ​

▸ KindOfDimension(): MxKindOfDimension

Returns ​

MxKindOfDimension

返回尺寸的类型。


SecondPoint ​

▸ SecondPoint(): Mx3dGePoint

Returns ​

Mx3dGePoint

返回角度的第二点。


SecondShape ​

▸ SecondShape(): Mx3dShapeObject

Returns ​

Mx3dShapeObject

返回第二个形状对象。


SelToleranceForText2d ​

▸ SelToleranceForText2d(): number

Returns ​

number

返回二维文本选择公差。


SetArrowsVisibility ​

▸ SetArrowsVisibility(theType): void

设置箭头可见性类型。

Parameters ​

NameTypeDescription
theTypeMxTypeOfAngleArrowVisibility箭头可见性类型。

Returns ​

void


SetComputedValue ​

▸ SetComputedValue(): void

设置计算值。

Returns ​

void


SetCustomPlane ​

▸ SetCustomPlane(thePlane): void

设置自定义平面。

Parameters ​

NameTypeDescription
thePlaneMx3dGePlane自定义平面。

Returns ​

void


SetCustomValue ​

▸ SetCustomValue(theValue): void

设置自定义值。

Parameters ​

NameTypeDescription
theValuenumber自定义角度值。

Returns ​

void


SetDimensionAspect ​

▸ SetDimensionAspect(theDimensionAspect): void

设置尺寸外观。

Parameters ​

NameTypeDescription
theDimensionAspectMx3dAspectDim尺寸外观。

Returns ​

void


SetDisplayUnits ​

▸ SetDisplayUnits(theUnits): void

设置显示单位字符串。

Parameters ​

NameTypeDescription
theUnitsstring显示单位。

Returns ​

void


SetFlyout ​

▸ SetFlyout(theFlyout): void

设置尺寸线位置距离。

Parameters ​

NameTypeDescription
theFlyoutnumber尺寸线位置距离。

Returns ​

void


SetMeasuredGeometry ​

▸ SetMeasuredGeometry(theCone): void

设置测量几何体为圆锥面。

Parameters ​

NameTypeDescription
theConeMx3dShapeFace圆锥面。

Returns ​

void

▸ SetMeasuredGeometry(theFirstEdge, theSecondEdge): void

设置测量几何体为两条交叉边。

Parameters ​

NameTypeDescription
theFirstEdgeMx3dShapeEdge第一条边。
theSecondEdgeMx3dShapeEdge第二条边。

Returns ​

void

▸ SetMeasuredGeometry(theFirstPoint, theSecondPoint, theThridPoint): void

设置测量几何体为三点。

Parameters ​

NameTypeDescription
theFirstPointMx3dGePoint第一点。
theSecondPointMx3dGePoint第二点(角度中心点)。
theThridPointMx3dGePoint第三点。

Returns ​

void


SetModelUnits ​

▸ SetModelUnits(theUnits): void

设置模型单位字符串。

Parameters ​

NameTypeDescription
theUnitsstring模型单位。

Returns ​

void


SetSelToleranceForText2d ​

▸ SetSelToleranceForText2d(theTol): void

设置二维文本选择公差。

Parameters ​

NameTypeDescription
theTolnumber选择公差。

Returns ​

void


SetTextPosition ​

▸ SetTextPosition(theTextPos): void

设置文本位置。

Parameters ​

NameTypeDescription
theTextPosMx3dGePoint文本位置点。

Returns ​

void


SetType ​

▸ SetType(theType): void

设置角度类型。

Parameters ​

NameTypeDescription
theTypeMxTypeOfAngle角度类型。

Returns ​

void


ThirdShape ​

▸ ThirdShape(): Mx3dShapeObject

Returns ​

Mx3dShapeObject

返回第三个形状对象。


UnsetCustomPlane ​

▸ UnsetCustomPlane(): void

取消设置自定义平面。

Returns ​

void


UnsetFixedTextPosition ​

▸ UnsetFixedTextPosition(): void

取消设置固定文本位置。

Returns ​

void