mxcad_3d API 文档 / Mx3dDimAngle
Class: Mx3dDimAngle
Hierarchy
↳
Mx3dDimAngle
Table of contents
Constructors
Methods
- CenterPoint
- FirstPoint
- FirstShape
- GetArrowsVisibility
- GetDisplayUnits
- GetFlyout
- GetGeometryType
- GetModelUnits
- GetPlane
- GetTextPosition
- GetType
- GetValue
- IsTextPositionCustom
- IsValid
- KindOfDimension
- SecondPoint
- SecondShape
- SelToleranceForText2d
- SetArrowsVisibility
- SetComputedValue
- SetCustomPlane
- SetCustomValue
- SetDimensionAspect
- SetDisplayUnits
- SetFlyout
- SetMeasuredGeometry
- SetModelUnits
- SetSelToleranceForText2d
- SetTextPosition
- SetType
- ThirdShape
- UnsetCustomPlane
- UnsetFixedTextPosition
Constructors
constructor
• new Mx3dDimAngle(theFirstEdge
, theSecondEdge
)
构造角度尺寸,针对指定的两条交叉边。
Parameters
Name | Type | Description |
---|---|---|
theFirstEdge | Mx3dShapeEdge | 第一条边。 |
theSecondEdge | Mx3dShapeEdge | 第二条边。 |
Overrides
Mx3dDimObject.constructor
• new Mx3dDimAngle(theFirstPoint
, theSecondPoint
, theThirdPoint
)
构造角度尺寸,针对指定的三点。
Parameters
Name | Type | Description |
---|---|---|
theFirstPoint | Mx3dGePoint | 第一点。 |
theSecondPoint | Mx3dGePoint | 第二点(角度中心点)。 |
theThirdPoint | Mx3dGePoint | 第三点。 |
Overrides
Mx3dDimObject.constructor
Methods
CenterPoint
▸ CenterPoint(): Mx3dGePoint
Returns
返回角度的中心点。
FirstPoint
▸ FirstPoint(): Mx3dGePoint
Returns
返回角度的第一点。
FirstShape
▸ FirstShape(): Mx3dShapeObject
Returns
返回第一个形状对象。
GetArrowsVisibility
▸ GetArrowsVisibility(): MxTypeOfAngleArrowVisibility
Returns
返回箭头可见性类型。
GetDisplayUnits
▸ GetDisplayUnits(): string
Returns
string
返回显示单位字符串。
GetFlyout
▸ GetFlyout(): number
Returns
number
返回尺寸线位置距离。
GetGeometryType
▸ GetGeometryType(): number
Returns
number
返回几何类型。
GetModelUnits
▸ GetModelUnits(): string
Returns
string
返回模型单位字符串。
GetPlane
▸ GetPlane(): Mx3dGePlane
Returns
返回角度的平面。
GetTextPosition
▸ GetTextPosition(): Mx3dGePoint
Returns
返回文本位置点。
GetType
▸ GetType(): MxTypeOfAngle
Returns
返回当前角度类型。
GetValue
▸ GetValue(): number
Returns
number
返回角度值。
IsTextPositionCustom
▸ IsTextPositionCustom(): boolean
Returns
boolean
返回文本位置是否自定义。
IsValid
▸ IsValid(): boolean
Returns
boolean
返回是否有效。
KindOfDimension
▸ KindOfDimension(): MxKindOfDimension
Returns
返回尺寸的类型。
SecondPoint
▸ SecondPoint(): Mx3dGePoint
Returns
返回角度的第二点。
SecondShape
▸ SecondShape(): Mx3dShapeObject
Returns
返回第二个形状对象。
SelToleranceForText2d
▸ SelToleranceForText2d(): number
Returns
number
返回二维文本选择公差。
SetArrowsVisibility
▸ SetArrowsVisibility(theType
): void
设置箭头可见性类型。
Parameters
Name | Type | Description |
---|---|---|
theType | MxTypeOfAngleArrowVisibility | 箭头可见性类型。 |
Returns
void
SetComputedValue
▸ SetComputedValue(): void
设置计算值。
Returns
void
SetCustomPlane
▸ SetCustomPlane(thePlane
): void
设置自定义平面。
Parameters
Name | Type | Description |
---|---|---|
thePlane | Mx3dGePlane | 自定义平面。 |
Returns
void
SetCustomValue
▸ SetCustomValue(theValue
): void
设置自定义值。
Parameters
Name | Type | Description |
---|---|---|
theValue | number | 自定义角度值。 |
Returns
void
SetDimensionAspect
▸ SetDimensionAspect(theDimensionAspect
): void
设置尺寸外观。
Parameters
Name | Type | Description |
---|---|---|
theDimensionAspect | Mx3dAspectDim | 尺寸外观。 |
Returns
void
SetDisplayUnits
▸ SetDisplayUnits(theUnits
): void
设置显示单位字符串。
Parameters
Name | Type | Description |
---|---|---|
theUnits | string | 显示单位。 |
Returns
void
SetFlyout
▸ SetFlyout(theFlyout
): void
设置尺寸线位置距离。
Parameters
Name | Type | Description |
---|---|---|
theFlyout | number | 尺寸线位置距离。 |
Returns
void
SetMeasuredGeometry
▸ SetMeasuredGeometry(theCone
): void
设置测量几何体为圆锥面。
Parameters
Name | Type | Description |
---|---|---|
theCone | Mx3dShapeFace | 圆锥面。 |
Returns
void
▸ SetMeasuredGeometry(theFirstEdge
, theSecondEdge
): void
设置测量几何体为两条交叉边。
Parameters
Name | Type | Description |
---|---|---|
theFirstEdge | Mx3dShapeEdge | 第一条边。 |
theSecondEdge | Mx3dShapeEdge | 第二条边。 |
Returns
void
▸ SetMeasuredGeometry(theFirstPoint
, theSecondPoint
, theThridPoint
): void
设置测量几何体为三点。
Parameters
Name | Type | Description |
---|---|---|
theFirstPoint | Mx3dGePoint | 第一点。 |
theSecondPoint | Mx3dGePoint | 第二点(角度中心点)。 |
theThridPoint | Mx3dGePoint | 第三点。 |
Returns
void
SetModelUnits
▸ SetModelUnits(theUnits
): void
设置模型单位字符串。
Parameters
Name | Type | Description |
---|---|---|
theUnits | string | 模型单位。 |
Returns
void
SetSelToleranceForText2d
▸ SetSelToleranceForText2d(theTol
): void
设置二维文本选择公差。
Parameters
Name | Type | Description |
---|---|---|
theTol | number | 选择公差。 |
Returns
void
SetTextPosition
▸ SetTextPosition(theTextPos
): void
设置文本位置。
Parameters
Name | Type | Description |
---|---|---|
theTextPos | Mx3dGePoint | 文本位置点。 |
Returns
void
SetType
▸ SetType(theType
): void
设置角度类型。
Parameters
Name | Type | Description |
---|---|---|
theType | MxTypeOfAngle | 角度类型。 |
Returns
void
ThirdShape
▸ ThirdShape(): Mx3dShapeObject
Returns
返回第三个形状对象。
UnsetCustomPlane
▸ UnsetCustomPlane(): void
取消设置自定义平面。
Returns
void
UnsetFixedTextPosition
▸ UnsetFixedTextPosition(): void
取消设置固定文本位置。
Returns
void