Class Index | File Index

Classes


Namespace drawHalfHelixResidPolygons


Defined in: naview.js.

Namespace Summary
Constructor Attributes Constructor Name and Description
 
Calculate Parent Path division points and Plots residue specific path elements for half turns representing 2 or 3 possible residues.
Namespace Detail
drawHalfHelixResidPolygons
Calculate Parent Path division points and Plots residue specific path elements for half turns representing 2 or 3 possible residues. d3.curveCardinal is used for drawing new Paths from old points
Parameters:
{Object} data
data object for each half helix turn representing 2 or 3 possible residues
{String} path_class
name to generate group element class of new sub paths
{number} data_index
index of half turn parent element
{HTMLElement} dom_created_path
half turn parent path element as DOM Object
{number} dom_created_path_length
total length of half turn parent path element
{Object} bottom_curve_points
bottom "left" and "right" coordinates of half turn parent path element
{Object} top_curve_points
top "left" and "right" coordinates of half turn parent path element
{number} height_sline
pixel height of each half turn symetrical left and right vertical lines
{number} curve_length
pixel length of each half turn symetrical top and bottom bezier curves
{Array} division_curve_lengths
proportion of each residue in parent path half helix polygon

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Sep 08 2021 09:00:35 GMT-0300 (BRT)