Skip to content
On this page

mxcad API 文档 / MdGeAisShape

Class: MdGeAisShape

所有类的父类, 除去MdGeTopo以及MdGeBrep

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new MdGeAisShape(shap)

Parameters

NameType
shapobject | MdGeShape

Overrides

MdGeAisObject.constructor

Properties

imp

Protected imp: any = 0

Inherited from

MdGeAisObject.imp

Methods

BoundingBox

BoundingBox(): MdGeBndBox

Returns

MdGeBndBox


GetColor

GetColor(): MdGeColor

Returns

MdGeColor


Material

Material(): MxNameOfMaterial

Returns

MxNameOfMaterial


SetColor

SetColor(theColor): void

Parameters

NameType
theColorMdGeColor

Returns

void


SetMaterial

SetMaterial(aName): void

Parameters

NameType
aNameMdGeMaterialAspect

Returns

void


SetShape

SetShape(theShape): void

Parameters

NameType
theShapeMdGeShape

Returns

void


SetTransparency

SetTransparency(aValue): void

Parameters

NameType
aValuenumber

Returns

void


SetTypeOfHLR

SetTypeOfHLR(theTypeOfHLR): void

Parameters

NameType
theTypeOfHLRMxPrs3dTypeOfHLR

Returns

void


SetWidth

SetWidth(aValue): void

Parameters

NameType
aValuenumber

Returns

void


Shape

Shape(): MdGeShape

Returns

MdGeShape


Signature

Signature(): number

Returns

number


Transparency

Transparency(): number

Returns

number


Type

Type(): MxKindOfInteractive

Returns

MxKindOfInteractive


TypeOfHLR

TypeOfHLR(): MxPrs3dTypeOfHLR

Returns

MxPrs3dTypeOfHLR


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

MdGeAisObject.getImp


initTempObject

Protected initTempObject(imp): void

Parameters

NameType
impany

Returns

void

Inherited from

MdGeAisObject.initTempObject