Class Segment

  • All Implemented Interfaces:
    java.io.Serializable

    public class Segment
    extends java.lang.Object
    implements java.io.Serializable
    Simple data structure for segments of proteins, e.g. fragments and chains.
    Author:
    Anthony Bradley
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Segment​(java.lang.String sequence, javax.vecmath.Point3d[] structure)
      Constructor for the Segment object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.vecmath.Point3d[] getCoordinates()  
      java.lang.String getSequence()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Segment

        public Segment​(java.lang.String sequence,
                       javax.vecmath.Point3d[] structure)
        Constructor for the Segment object.
        Parameters:
        sequence - the String sequence of the object
        structure - the Point3d array of the structure of the object
    • Method Detail

      • getSequence

        public java.lang.String getSequence()
        Returns:
        the sequence of this segment as one letter
      • getCoordinates

        public javax.vecmath.Point3d[] getCoordinates()
        Returns:
        the Point3d array specifying the structure of this segment.