org.proteinshader.structure.factory
Class BetaStrandSegmentFactory

java.lang.Object
  extended by org.proteinshader.structure.factory.SegmentFactory
      extended by org.proteinshader.structure.factory.BetaStrandSegmentFactory

public class BetaStrandSegmentFactory
extends SegmentFactory

Creates Segment objects for a BetaStrandSegmentFactory.


Field Summary
static double HALF_PI
          90 degrees is half the value of PI radians.
 
Fields inherited from class org.proteinshader.structure.factory.SegmentFactory
MAX_CA_DISTANCE, SEGMENT_LENGTH
 
Constructor Summary
BetaStrandSegmentFactory()
          Constructs a BetaStrandSegmentFactory.
 
Method Summary
 LinkedHashMap<String,Segment> createSegments(Region region)
          After using the superclass createSegments() method, the LocalFrames held by some of the Segment objects will be modified so that beta-strands will have a pleated effect rather than a twisted ribbon appearance.
 
Methods inherited from class org.proteinshader.structure.factory.SegmentFactory
getErrors
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HALF_PI

public static final double HALF_PI
90 degrees is half the value of PI radians.

See Also:
Constant Field Values
Constructor Detail

BetaStrandSegmentFactory

public BetaStrandSegmentFactory()
Constructs a BetaStrandSegmentFactory.

Method Detail

createSegments

public LinkedHashMap<String,Segment> createSegments(Region region)
After using the superclass createSegments() method, the LocalFrames held by some of the Segment objects will be modified so that beta-strands will have a pleated effect rather than a twisted ribbon appearance.

Overrides:
createSegments in class SegmentFactory
Parameters:
region - the Region object to create Segments for.
Returns:
A hash with the Segment objects.


Copyright © 2007-2008