jass.generators
Interface TubeShape

All Known Implementing Classes:
TubeModel

public interface TubeShape

Describes a 1-d tube of varying radius. Deals with geometry only

Author:
Kees van den Doel (kvdoel@cs.ubc.ca)

Method Summary
 double getLength()
          Get length of tube (units not specified)
 double getRadius(double x)
          Get radius at point 0
 

Method Detail

getLength

double getLength()
Get length of tube (units not specified)

Returns:
length of tube

getRadius

double getRadius(double x)
Get radius at point 0
Parameters:
x - where to get radius
Returns:
radius at x