mxcad API 文档 / 3d / MdGeAisShape
Class: MdGeAisShape
3d.MdGeAisShape
所有类的父类, 除去MdGeTopo以及MdGeBrep
Hierarchy
↳
MdGeAisShape
Table of contents
Constructors
Properties
Methods
- BoundingBox
- GetColor
- Material
- SetColor
- SetMaterial
- SetShape
- SetTransparency
- SetTypeOfHLR
- SetWidth
- Shape
- Signature
- Transparency
- Type
- TypeOfHLR
- UnsetColor
- UnsetMaterial
- UnsetTransparency
- UnsetWidth
- getImp
- initTempObject
Constructors
constructor
• new MdGeAisShape(shap
)
Parameters
Name | Type |
---|---|
shap | object | MdGeShape |
Overrides
Properties
imp
• Protected
imp: any
= 0
Inherited from
Methods
BoundingBox
▸ BoundingBox(): MdGeBndBox
Returns
GetColor
▸ GetColor(): MdGeColor
Returns
Material
▸ Material(): MxNameOfMaterial
Returns
SetColor
▸ SetColor(theColor
): void
Parameters
Name | Type |
---|---|
theColor | MdGeColor |
Returns
void
SetMaterial
▸ SetMaterial(aName
): void
Parameters
Name | Type |
---|---|
aName | MdGeMaterialAspect |
Returns
void
SetShape
▸ SetShape(theShape
): void
Parameters
Name | Type |
---|---|
theShape | MdGeShape |
Returns
void
SetTransparency
▸ SetTransparency(aValue
): void
Parameters
Name | Type |
---|---|
aValue | number |
Returns
void
SetTypeOfHLR
▸ SetTypeOfHLR(theTypeOfHLR
): void
Parameters
Name | Type |
---|---|
theTypeOfHLR | MxPrs3dTypeOfHLR |
Returns
void
SetWidth
▸ SetWidth(aValue
): void
Parameters
Name | Type |
---|---|
aValue | number |
Returns
void
Shape
▸ Shape(): MdGeShape
Returns
Signature
▸ Signature(): number
Returns
number
Transparency
▸ Transparency(): number
Returns
number
Type
▸ Type(): MxKindOfInteractive
Returns
TypeOfHLR
▸ TypeOfHLR(): MxPrs3dTypeOfHLR
Returns
UnsetColor
▸ UnsetColor(): void
Returns
void
UnsetMaterial
▸ UnsetMaterial(): void
Returns
void
UnsetTransparency
▸ UnsetTransparency(): void
Returns
void
UnsetWidth
▸ UnsetWidth(): number
Returns
number
getImp
▸ getImp(): any
Returns
any
Inherited from
initTempObject
▸ Protected
initTempObject(imp
): void
Parameters
Name | Type |
---|---|
imp | any |
Returns
void