Options
All
  • Public
  • Public/Protected
  • All
Menu

Model Class

Hierarchy

  • Model

Implements

Index

Constructors

constructor

Properties

Private _kernel

_kernel: Kernel

Methods

addEntAttrib

addGroup

  • Add a group to the model. If the parent name is given and does not exist, then an error will be thrown.

    Parameters

    • name: string
    • Optional parent: IGroup

    Returns IGroup

addTopoAttrib

delAttrib

  • delAttrib(attrib: IAttrib): boolean
  • Delete an attribute from the model. Return ture if successful, false otherwise.

    Parameters

    Returns boolean

delGroup

  • delGroup(group: IGroup): boolean

findAttribs

getAllAttribs

getAllEntAttribs

getAllGroups

getAllTopoAttribs

getEntAttrib

getGeom

getGroup

  • getGroup(name: string): IGroup

getTopoAttrib

hasAttrib

  • hasAttrib(attrib: IAttrib): boolean

hasGroup

  • hasGroup(group: IGroup): boolean

purge

  • purge(): void

setAttribName

  • setAttribName(attrib: IAttrib, new_name: string): boolean

setGroupName

  • setGroupName(group: IGroup, new_name: any): boolean
  • Renames the group.

    Parameters

    Returns boolean

toJSON

  • toJSON(): string

toString

  • toString(): string
  • Save the model as file

    Returns string

validate

  • validate(): boolean

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc