ProGAL.proteins.viewer
Class HelixSurface

java.lang.Object
  extended by ProGAL.geom3d.surface.ParametricSurface
      extended by ProGAL.proteins.viewer.HelixSurface
All Implemented Interfaces:
Shape

public class HelixSurface
extends ParametricSurface


Method Summary
 ParametricSurface clone()
           
 Point getCenter()
          Get the geometric center of the shape.
 Vector getNormal(double u, double v)
           
 Point getPoint(double u, double v)
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class ProGAL.geom3d.surface.ParametricSurface
getNormal, getPoint
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getPoint

public Point getPoint(double u,
                      double v)
Specified by:
getPoint in class ParametricSurface

getNormal

public Vector getNormal(double u,
                        double v)
Overrides:
getNormal in class ParametricSurface

getCenter

public Point getCenter()
Description copied from interface: Shape
Get the geometric center of the shape. The center of a shape can be interpreted in many ways (center of mass, circumcenter, inscribed center etc.). No strict requirement is given here, but typically the circumcenter should be supplied. This method is most prominently used to find the average center-position of a collection of shapes such that scene-viewers can be centered on the scene.

Specified by:
getCenter in interface Shape
Overrides:
getCenter in class ParametricSurface

clone

public ParametricSurface clone()
Specified by:
clone in class ParametricSurface

main

public static void main(java.lang.String[] args)
Parameters:
args -