Surface

A surface.

Constructor

new Surface()

Methods

editSurface(id, surfaceSpec)

Finalizes the surface card with value specified in the surfaceSpec

Parameters:
NameTypeDescription
idString

Id of the surface generated by StateManager

surfaceSpecObject

Different value of the surface menu

Source

getSymmetries() → {Array.<Matrix4>}

Returns list of rotational/translational matrices if there is BIOMT data
Otherwise returns a list of just the ID matrix

Returns:
Type: 
Array.<Matrix4>

setSymmetries(list)

Sets symmetries based on specified matrices in list

Parameters:
NameTypeDescription
listArray.<Matrix4>