Constructors
constructor
- new Surface(name: string, path: string, data: object): Surface
-
Parameters
-
name: string
-
path: string
-
data: object
Methods
fromGeometry
- fromGeometry(geometry: any): void
getAtomindex
- getAtomindex(): undefined | Int32Array
-
Returns undefined
|
Int32Array
getColor
- getColor(params: any): Float32Array
-
Parameters
Returns Float32Array
getFilteredIndex
- getFilteredIndex(sele: any, structure: any): undefined | Uint16Array | Uint32Array
-
Parameters
Returns undefined
|
Uint16Array
|
Uint32Array
getIndex
- getIndex(): undefined | Uint16Array | Uint32Array
-
Returns undefined
|
Uint16Array
|
Uint32Array
getNormal
- getNormal(): undefined | Float32Array
-
Returns undefined
|
Float32Array
getPosition
- getPosition(): undefined | Float32Array
-
Returns undefined
|
Float32Array
getSize
- getSize(size: any, scale: any): number[] | Uint8Array | Int8Array | Int16Array | Int32Array | Uint16Array | Uint32Array | Float32Array | Uint8ClampedArray | Float64Array
-
Parameters
Returns number[]
|
Uint8Array
|
Int8Array
|
Int16Array
|
Int32Array
|
Uint16Array
|
Uint32Array
|
Float32Array
|
Uint8ClampedArray
|
Float64Array
set
- set(position: Float32Array, index: Int32Array, normal: Float32Array, color: Float32Array, atomindex: Int32Array, contour: boolean): undefined
-
Parameters
-
position: Float32Array
-
index: Int32Array
-
normal: Float32Array
-
color: Float32Array
-
atomindex: Int32Array
-
contour: boolean
Returns undefined
Surface