org.simtk.geometry3d
Class Cylinder

java.lang.Object
  extended by org.simtk.geometry3d.Cylinder
Direct Known Subclasses:
SemiCylinder

public class Cylinder
extends java.lang.Object

Author:
Christopher Bruns A generic cylinder shape in 3 dimensions

Constructor Summary
Cylinder(Vector3D hd, Vector3D tl, double rd)
           
 
Method Summary
 Vector3D getHead()
           
 Vector3D getMidpoint()
           
 double getRadius()
           
 Vector3D getTail()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Cylinder

public Cylinder(Vector3D hd,
                Vector3D tl,
                double rd)
Method Detail

getHead

public Vector3D getHead()

getTail

public Vector3D getTail()

getRadius

public double getRadius()

getMidpoint

public Vector3D getMidpoint()