NGL@1.0.0-beta.7 Home Manual Reference Source Gallery
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)

Member Summary

Public Members
public
public
public
public
public
public get

Method Summary

Public Methods
public
public
public
public
public
public

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

Public Members

public chainIndexList source

public description source

public entityType source

public index source

public structure source

public get type source

Public Methods

public eachChain() source

public getEntityType() source

public isMacrolide() source

public isNonPolymer() source

public isPolymer() source

public isWater() source