NGL@0.10.4 Home Manual Reference Source GalleryRepository
import Entity from 'ngl/src/structure/entity.js'
public class | source

Entity

Entity of a Structure

Constructor Summary

Public Constructor
public

constructor(structure: Structure, index: Integer, description: String, type: String, chainIndexList: Array)

Public Constructors

public constructor(structure: Structure, index: Integer, description: String, type: String, chainIndexList: Array) source

Params:

NameTypeAttributeDescription
structure Structure

structure the entity belongs to

index Integer

index within structure.entityList

description String

entity description

type String

entity type

chainIndexList Array

entity chainIndexList