Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CgSpline

Spline for interploation of coarse-grained polymers

Hierarchy

  • CgSpline

Implements

Index

Constructors

constructor

Properties

Private _cgPolymerView

_cgPolymerView: CgPolymerView

Private _interpolator

_interpolator: CgInterpolator

Private _size

_size: number

Private _subdiv

_subdiv: number

Private _tension

_tension: number

Methods

Private getMonomerIterator

Private getNormals

  • getNormals(tangents: Float32Array): { binormal: Float32Array; normal: Float32Array }

Private getPositions

  • getPositions(): Float32Array

Private getSubdivCommon

  • getSubdivCommon<T>(elementLength: number, callback: (sdiv: number, cgPolymer: CgPolymerView, n: number, nPos: number) => T): T

getSubdividedColor

getSubdividedOrientation

  • getSubdividedOrientation(): { binormal: Float32Array; normal: Float32Array; tangent: Float32Array }

getSubdividedPicking

getSubdividedPosition

  • getSubdividedPosition(): { position: Float32Array }

getSubdividedSize

  • getSubdividedSize(params?: RadiusParams): { size: Float32Array }

Private getTangents

  • getTangents(): Float32Array

Generated using TypeDoc