Uses of Enum Class
simpa.core.api.LengthUnit
Packages that use LengthUnit
Package
Description
This package contains all public interfaces and classes that can be programmed to.
This package contains all utils that can be used to set up the SIMPA Core library.
-
Uses of LengthUnit in simpa.core.api
Methods in simpa.core.api that return LengthUnitModifier and TypeMethodDescriptionTilingConfig.getLengthUnit()
Gets the length unit to be used for the diagnostic files.static LengthUnit
Parses the length unit as string to the correct enum.static LengthUnit
Returns the enum constant of this class with the specified name.static LengthUnit[]
LengthUnit.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in simpa.core.api with parameters of type LengthUnitModifier and TypeMethodDescriptionstatic String
OutputFileFormat.getOpera3DHeader
(int nPoints, LengthUnit lengthUnit) Gets a header specific for use of a file in Opera3D.void
BoundarySurface.setFieldFromFile
(String filename, double fieldScalingFactor, LengthUnit unit) Gets an electromagnetic field from a txt filevoid
TilingConfig.setLengthUnit
(LengthUnit lengthUnit) Sets the length unit to be used for the diagnostic files.void
BoundarySurface.surfacePointCoordinatesToFile
(String name, LengthUnit unit, OutputFileFormat off) Writes the surface points to a text file.BoundarySurface.surfacePointsToString
(LengthUnit unit) Constructors in simpa.core.api with parameters of type LengthUnitModifierConstructorDescriptionSolutionChecker
(String elementName, FieldType fieldType, LengthUnit lengthUnit) Creates a new implementation for SolutionChecker.TilingConfig
(String name, Profile profile, List<org.apache.commons.math3.geometry.euclidean.threed.Vector3D> path, LengthUnit lengthUnit, double elevation, OutputFileFormat outputFileFormat, double fieldScalingFactor, FieldType fieldType) Construct a config for tiling. -
Uses of LengthUnit in simpa.core.api.utils
Methods in simpa.core.api.utils with parameters of type LengthUnitModifier and TypeMethodDescriptionstatic void
DiagnosticUtils.getFieldsOnCurve
(List<PointSource> sources, List<org.apache.commons.math3.geometry.euclidean.threed.Vector3D> curve, org.apache.commons.math3.geometry.euclidean.threed.Vector3D shift, String outfile, LengthUnit lUnit, List<LocalFrame> lfl) Write the field components into a file along a curve.static List
<org.apache.commons.math3.geometry.euclidean.threed.Vector3D> FileUtils.readVectors
(InputStream is, LengthUnit lengthUnit) Read vectors from an inputstream.static List
<org.apache.commons.math3.geometry.euclidean.threed.Vector3D> FileUtils.readVectors
(String filename, LengthUnit lengthUnit) Reads 3D vectors from a given file.