Skip to content
On this page

mxcad API 文档 / 3d / MdGeLabelTree

Class: MdGeLabelTree

3d.MdGeLabelTree

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

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new MdGeLabelTree(p?)

Parameters

NameType
p?object

Overrides

Mx3dBaseObject.constructor

Properties

imp

Protected imp: any = 0

Inherited from

Mx3dBaseObject.imp

Methods

appendChild

appendChild(parentId, data): number

Parameters

NameType
parentIdnumber
dataMdGeLabel

Returns

number


clear

clear(): void

Returns

void


getImp

getImp(): any

Returns

any

Inherited from

Mx3dBaseObject.getImp


initTempObject

Protected initTempObject(imp): void

Parameters

NameType
impany

Returns

void

Inherited from

Mx3dBaseObject.initTempObject


nodeChildFirst

nodeChildFirst(id): number

Parameters

NameType
idnumber

Returns

number


nodeChildLast

nodeChildLast(id): number

Parameters

NameType
idnumber

Returns

number


nodeData

nodeData(id): MdGeLabel

Parameters

NameType
idnumber

Returns

MdGeLabel


nodeIsLeaf

nodeIsLeaf(id): boolean

Parameters

NameType
idnumber

Returns

boolean


nodeIsRoot

nodeIsRoot(id): boolean

Parameters

NameType
idnumber

Returns

boolean


nodeParent

nodeParent(id): number

Parameters

NameType
idnumber

Returns

number


nodeRoot

nodeRoot(id): number

Parameters

NameType
idnumber

Returns

number


nodeSiblingNext

nodeSiblingNext(id): number

Parameters

NameType
idnumber

Returns

number


nodeSiblingPrevious

nodeSiblingPrevious(id): number

Parameters

NameType
idnumber

Returns

number


roots

roots(): MdGeArray1OfInteger

Returns

MdGeArray1OfInteger