Package jmri.jmrix.rps
Class Algorithms
java.lang.Object
jmri.jmrix.rps.Algorithms
- All Implemented Interfaces:
Constants
Provide central access to the RPS algorithms.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final int(package private) static final String[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CalculatornewCalculator(javax.vecmath.Point3d[] points, double vs, int offset, String name) Create proper Calculator instance.
-
Field Details
-
DEFAULTALGORITHMINDEX
- See Also:
-
names
-
-
Constructor Details
-
Algorithms
public Algorithms()
-
-
Method Details
-
algorithmBox
-
newCalculator
public static Calculator newCalculator(javax.vecmath.Point3d[] points, double vs, int offset, String name) Create proper Calculator instance.- Parameters:
points- the points array.vs- algorithm getVSound.offset- algorithm offset.name- algorithm name.- Returns:
- the calculator.
-