Package Pmv :: Module extruder :: Class Sheet2D
[hide private]
[frames] | no frames]

Class Sheet2D

source code

Class implementing a set of method to compute a path3D, normals, binormals and transformation matrices given a 2 sets of control points coordinates. (ctrl points and torsion ctrl points)

Instance Methods [hide private]
  compute(self, coords, isHelix, nbrib=2, nbchords=10, width=1.5, offset=1.2, off_c=0.5)
  interpolateSmoothArray(self, first, last, nPts)
Insert self.chord-1 points into self.smooth such that each residue is represented by exactly self.nchords points
  addFirstLastPoints(self)
  computeFaces2D(self)
  computeBinormals(self)
  computeNormals(self)
  buildTransformationMatrix(self, binormals, normals)

Method Details [hide private]

compute(self, coords, isHelix, nbrib=2, nbchords=10, width=1.5, offset=1.2, off_c=0.5)

source code 

interpolateSmoothArray(self, first, last, nPts)

source code 
Insert self.chord-1 points into self.smooth such that each residue is represented by exactly self.nchords points

addFirstLastPoints(self)

source code 
None

computeFaces2D(self)

source code 
None

computeBinormals(self)

source code 
None

computeNormals(self)

source code 
None

buildTransformationMatrix(self, binormals, normals)

source code 
None