NGL@1.0.0-beta.7 Home Manual Reference Source Gallery
import AngleRepresentation from 'ngl/src/representation/angle-representation.js'
public class | source

AngleRepresentation

Extends:

RepresentationStructureRepresentationMeasurementRepresentation → AngleRepresentation

Angle representation object

Reperesentation consists of four parts, visibility can be set for each label - the text label with the angle size vectors - lines joining the three points sector - triangles representing the angle arc - line bordering the sector

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public

Method Summary

Public Methods
public

create()

public

init()

public
public
public

Inherited Summary

From class Representation
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public

Counter that keeps track of tasks related to the creation of the representation, including surface calculations.

public
public
public
public
private
private
public

attach()

public

build()

public

clear()

public

create()

public
public
public
public
public

init()

public

make()

public
public

Set the visibility of the representation

public

setVisibility(value: Boolean, noRenderRequest: Boolean): Representation

Set the visibility of the representation

public

update()

public
From class StructureRepresentation
public get
public
public
public
public
public
public
public
public
public
private
private
public

attach()

public

clear()

public

create()

public
public
public
public
public
public
public
public
public

init()

public

Set representation parameters

public

Set representation parameters

public

update()

public
From class MeasurementRepresentation
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public

n

public
public
public

init()

public
public
public

update()

public

Public Constructors

public constructor() source

Handles common label settings and position logic for distance and angle representations

Override:

MeasurementRepresentation#constructor

Public Members

public arcBuffer source

public arcLength source

public arcVisible source

public atomTriple source

public lineOpacity source

public linewidth source

public parameters source

Override:

MeasurementRepresentation#parameters

public sectorDoubleSidedBuffer source

public sectorLength source

public sectorMeshBuffer source

public sectorVisible source

public textBuffer source

public type source

Override:

StructureRepresentation#type

public vectorBuffer source

public vectorVisible source

Public Methods

public create() source

Override:

StructureRepresentation#create

public init() source

Override:

MeasurementRepresentation#init

public setParameters() source

Set representation parameters

Override:

MeasurementRepresentation#setParameters

public setVisibility() source

Set the visibility of the representation

Override:

MeasurementRepresentation#setVisibility

public updateData() source

Override:

MeasurementRepresentation#updateData