mxcad API 文档 / MdGeLabelTree
Class: MdGeLabelTree
所有类的父类, 除去MdGeTopo以及MdGeBrep
Hierarchy
↳
MdGeLabelTree
Table of contents
Constructors
Properties
Methods
- appendChild
- clear
- getImp
- initTempObject
- nodeChildFirst
- nodeChildLast
- nodeData
- nodeIsLeaf
- nodeIsRoot
- nodeParent
- nodeRoot
- nodeSiblingNext
- nodeSiblingPrevious
- roots
Constructors
constructor
• new MdGeLabelTree(p?
)
Parameters
Name | Type |
---|---|
p? | object |
Overrides
Properties
imp
• Protected
imp: any
= 0
Inherited from
Methods
appendChild
▸ appendChild(parentId
, data
): number
Parameters
Name | Type |
---|---|
parentId | number |
data | MdGeLabel |
Returns
number
clear
▸ clear(): void
Returns
void
getImp
▸ getImp(): any
Returns
any
Inherited from
initTempObject
▸ Protected
initTempObject(imp
): void
Parameters
Name | Type |
---|---|
imp | any |
Returns
void
Inherited from
nodeChildFirst
▸ nodeChildFirst(id
): number
Parameters
Name | Type |
---|---|
id | number |
Returns
number
nodeChildLast
▸ nodeChildLast(id
): number
Parameters
Name | Type |
---|---|
id | number |
Returns
number
nodeData
▸ nodeData(id
): MdGeLabel
Parameters
Name | Type |
---|---|
id | number |
Returns
nodeIsLeaf
▸ nodeIsLeaf(id
): boolean
Parameters
Name | Type |
---|---|
id | number |
Returns
boolean
nodeIsRoot
▸ nodeIsRoot(id
): boolean
Parameters
Name | Type |
---|---|
id | number |
Returns
boolean
nodeParent
▸ nodeParent(id
): number
Parameters
Name | Type |
---|---|
id | number |
Returns
number
nodeRoot
▸ nodeRoot(id
): number
Parameters
Name | Type |
---|---|
id | number |
Returns
number
nodeSiblingNext
▸ nodeSiblingNext(id
): number
Parameters
Name | Type |
---|---|
id | number |
Returns
number
nodeSiblingPrevious
▸ nodeSiblingPrevious(id
): number
Parameters
Name | Type |
---|---|
id | number |
Returns
number
roots
▸ roots(): MdGeArray1OfInteger