Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Entity

Entity of a Structure

Hierarchy

  • Entity

Index

Constructors

constructor

  • Parameters

    • structure: Structure

      structure the entity belongs to

    • index: number

      index within structure.entityList

    • Default value description: string = ""

      entity description

    • Optional type: EntityTypeString

      entity type

    • Default value chainIndexList: number[] = []

      entity chainIndexList

    Returns Entity

Properties

chainIndexList

chainIndexList: number[]

description

description: string

entityType

entityType: number

index

index: number

structure

structure: Structure

Accessors

type

  • get type(): undefined | "polymer" | "non-polymer" | "macrolide" | "water"

Methods

eachChain

  • eachChain(callback: (cp: ChainProxy) => any): void

getEntityType

  • getEntityType(): number

isMacrolide

  • isMacrolide(): boolean

isNonPolymer

  • isNonPolymer(): boolean

isPolymer

  • isPolymer(): boolean

isWater

  • isWater(): boolean

Generated using TypeDoc