Skip to content

Latest commit

 

History

History
256 lines (146 loc) · 7.33 KB

_providers_bimface_bimface_external_.bimfaceexternal.md

File metadata and controls

256 lines (146 loc) · 7.33 KB

@yzw/bim-operator - v1.8.0Globals"providers/bimface/bimface_external"BimfaceExternal

Class: BimfaceExternal

bimface外部构件

Hierarchy

  • BimfaceExternal

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

+ new BimfaceExternal(viewer3D: any): BimfaceExternal

Defined in src/providers/bimface/bimface_external.ts:13

Parameters:

Name Type
viewer3D any

Returns: BimfaceExternal

Properties

externalMgr

externalMgr: any

Defined in src/providers/bimface/bimface_external.ts:11


loader

loader: any

Defined in src/providers/bimface/bimface_external.ts:12


viewer3D

viewer3D: any

Defined in src/providers/bimface/bimface_external.ts:13

Methods

add

add(name: string, url: string): Promise‹string›

Implementation of IExternal

Defined in src/providers/bimface/bimface_external.ts:25

Parameters:

Name Type
name string
url string

Returns: Promise‹string›


clear

clear(): void

Implementation of IExternal

Defined in src/providers/bimface/bimface_external.ts:37

Returns: void


getAllObjectIds

getAllObjectIds(): string[]

Implementation of IExternal

Defined in src/providers/bimface/bimface_external.ts:79

获取所有外部构件的ID

Returns: string[]


getPosition

getPosition(objectId: string): Position

Implementation of IExternal

Defined in src/providers/bimface/bimface_external.ts:73

获取外部构件的世界坐标

Parameters:

Name Type Description
objectId string 外部构件id

Returns: Position


offset

offset(objectId: string, option: OffsetOption): void

Implementation of IExternal

Defined in src/providers/bimface/bimface_external.ts:53

Parameters:

Name Type
objectId string
option OffsetOption

Returns: void


removeById

removeById(objectId: string): void

Implementation of IExternal

Defined in src/providers/bimface/bimface_external.ts:34

Parameters:

Name Type
objectId string

Returns: void


rotate

rotate(objectId: string, option: RotateOption): void

Implementation of IExternal

Defined in src/providers/bimface/bimface_external.ts:40

Parameters:

Name Type
objectId string
option RotateOption

Returns: void


scale

scale(objectId: string, option: ScaleOption): void

Implementation of IExternal

Defined in src/providers/bimface/bimface_external.ts:56

Parameters:

Name Type
objectId string
option ScaleOption

Returns: void


setPosition

setPosition(objectId: string, position: Position): void

Implementation of IExternal

Defined in src/providers/bimface/bimface_external.ts:62

Parameters:

Name Type
objectId string
position Position

Returns: void


translate

translate(objectId: string, option: TranslateOption): void

Implementation of IExternal

Defined in src/providers/bimface/bimface_external.ts:65

Parameters:

Name Type
objectId string
option TranslateOption

Returns: void