public class CylindricalSurfaceStepGenerator extends java.lang.Object implements StepGenerator
Constructor and Description |
---|
CylindricalSurfaceStepGenerator(double len)
test constructor.
|
CylindricalSurfaceStepGenerator(SimulationParams simParams) |
CylindricalSurfaceStepGenerator(SimulationParams simParams,
StickyCylinderSubstrate substrate) |
CylindricalSurfaceStepGenerator(Substrate substrate)
constructor that takes step length directly
|
Modifier and Type | Method and Description |
---|---|
double |
getBorder()
get the border width for cloning
|
double[] |
getStep(Walker walker)
Generates steps confined to the surface of the given cylinder.
|
StepGeneratorFactory.StepType |
getType()
get the step generator type
|
static void |
main(java.lang.String[] args) |
void |
setCylinder(Cylinder cylinder)
set the current cylinder
|
public CylindricalSurfaceStepGenerator(double len)
len
- arclength of step on surfacepublic CylindricalSurfaceStepGenerator(SimulationParams simParams)
public CylindricalSurfaceStepGenerator(SimulationParams simParams, StickyCylinderSubstrate substrate)
public CylindricalSurfaceStepGenerator(Substrate substrate)
public double getBorder()
StepGenerator
getBorder
in interface StepGenerator
StepGenerator.getBorder()
public double[] getStep(Walker walker)
getStep
in interface StepGenerator
walker
- the walker on the surfacepublic void setCylinder(Cylinder cylinder)
public StepGeneratorFactory.StepType getType()
StepGenerator
getType
in interface StepGenerator
StepGenerator.getType()
public static void main(java.lang.String[] args)
args
-