From fc14d37437d8ab3acedc3249ecbd123b42020ecd Mon Sep 17 00:00:00 2001 From: Benedikt Schwab Date: Thu, 27 Jul 2023 07:40:56 +0200 Subject: [PATCH] fixed formatting --- .../io/rtron/cli/SubcommandOpendriveToCitygml.kt | 10 +++++----- .../kotlin/io/rtron/cli/SubcommandValidateOpendrive.kt | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/rtron-cli/src/main/kotlin/io/rtron/cli/SubcommandOpendriveToCitygml.kt b/rtron-cli/src/main/kotlin/io/rtron/cli/SubcommandOpendriveToCitygml.kt index c50e20ae..4328d40c 100644 --- a/rtron-cli/src/main/kotlin/io/rtron/cli/SubcommandOpendriveToCitygml.kt +++ b/rtron-cli/src/main/kotlin/io/rtron/cli/SubcommandOpendriveToCitygml.kt @@ -59,13 +59,13 @@ class SubcommandOpendriveToCitygml : CliktCommand(name = "opendrive-to-citygml", private val tolerance by option(help = "allowed tolerance when comparing double values").double() .default(Opendrive2RoadspacesParameters.DEFAULT_NUMBER_TOLERANCE) private val planViewGeometryDistanceTolerance by option(help = "allowed distance tolerance between two geometry elements in the plan view").double() - .default(OpendriveEvaluatorParameters.DEFAULT_PLAN_VIEW_GEOMETRY_DISTANCE_TOLERANCE) + .default(OpendriveEvaluatorParameters.DEFAULT_PLAN_VIEW_GEOMETRY_DISTANCE_TOLERANCE) private val planViewGeometryDistanceWarningTolerance by option(help = "warning distance tolerance between two geometry elements in the plan view").double() - .default(OpendriveEvaluatorParameters.DEFAULT_PLAN_VIEW_GEOMETRY_DISTANCE_WARNING_TOLERANCE) + .default(OpendriveEvaluatorParameters.DEFAULT_PLAN_VIEW_GEOMETRY_DISTANCE_WARNING_TOLERANCE) private val planViewGeometryAngleTolerance by option(help = "allowed angle tolerance between two geometry elements in the plan view").double() - .default(OpendriveEvaluatorParameters.DEFAULT_PLAN_VIEW_GEOMETRY_ANGLE_TOLERANCE) + .default(OpendriveEvaluatorParameters.DEFAULT_PLAN_VIEW_GEOMETRY_ANGLE_TOLERANCE) private val planViewGeometryAngleWarningTolerance by option(help = "warning angle tolerance between two geometry elements in the plan view").double() - .default(OpendriveEvaluatorParameters.DEFAULT_PLAN_VIEW_GEOMETRY_ANGLE_WARNING_TOLERANCE) + .default(OpendriveEvaluatorParameters.DEFAULT_PLAN_VIEW_GEOMETRY_ANGLE_WARNING_TOLERANCE) private val crsEpsg by option(help = "EPSG code of the coordinate reference system used in the OpenDRIVE datasets").int() .default(Opendrive2RoadspacesParameters.DEFAULT_CRS_EPSG) private val addOffset by option(help = "offset values by which the model is translated along the x, y, and z axis").double().triple() @@ -73,7 +73,7 @@ class SubcommandOpendriveToCitygml : CliktCommand(name = "opendrive-to-citygml", private val cropPolygon by option(help = "2D polygon outline for cropping the OpenDRIVE dataset (experimental)").double().pair().multiple(default = emptyList()) private val discretizationStepSize by option(help = "distance between each discretization step for curves and surfaces").double() - .default(Roadspaces2CitygmlParameters.DEFAULT_DISCRETIZATION_STEP_SIZE) + .default(Roadspaces2CitygmlParameters.DEFAULT_DISCRETIZATION_STEP_SIZE) private val sweepDiscretizationStepSize by option(help = "distance between each discretization step for solid geometries of ParametricSweep3D").double() .default(Roadspaces2CitygmlParameters.DEFAULT_SWEEP_DISCRETIZATION_STEP_SIZE) private val circleSlices by option(help = "number of discretization points for a circle or cylinder").int() diff --git a/rtron-cli/src/main/kotlin/io/rtron/cli/SubcommandValidateOpendrive.kt b/rtron-cli/src/main/kotlin/io/rtron/cli/SubcommandValidateOpendrive.kt index 3291230b..9999b6b4 100644 --- a/rtron-cli/src/main/kotlin/io/rtron/cli/SubcommandValidateOpendrive.kt +++ b/rtron-cli/src/main/kotlin/io/rtron/cli/SubcommandValidateOpendrive.kt @@ -50,16 +50,16 @@ class SubcommandValidateOpendrive : CliktCommand(name = "validate-opendrive", he private val tolerance by option(help = "allowed tolerance when comparing double values").double() .default(Opendrive2RoadspacesParameters.DEFAULT_NUMBER_TOLERANCE) private val planViewGeometryDistanceTolerance by option(help = "allowed distance tolerance between two geometry elements in the plan view").double() - .default(OpendriveEvaluatorParameters.DEFAULT_PLAN_VIEW_GEOMETRY_DISTANCE_TOLERANCE) + .default(OpendriveEvaluatorParameters.DEFAULT_PLAN_VIEW_GEOMETRY_DISTANCE_TOLERANCE) private val planViewGeometryDistanceWarningTolerance by option(help = "warning distance tolerance between two geometry elements in the plan view").double() - .default(OpendriveEvaluatorParameters.DEFAULT_PLAN_VIEW_GEOMETRY_DISTANCE_WARNING_TOLERANCE) + .default(OpendriveEvaluatorParameters.DEFAULT_PLAN_VIEW_GEOMETRY_DISTANCE_WARNING_TOLERANCE) private val planViewGeometryAngleTolerance by option(help = "allowed angle tolerance between two geometry elements in the plan view").double() - .default(OpendriveEvaluatorParameters.DEFAULT_PLAN_VIEW_GEOMETRY_ANGLE_TOLERANCE) + .default(OpendriveEvaluatorParameters.DEFAULT_PLAN_VIEW_GEOMETRY_ANGLE_TOLERANCE) private val planViewGeometryAngleWarningTolerance by option(help = "warning angle tolerance between two geometry elements in the plan view").double() - .default(OpendriveEvaluatorParameters.DEFAULT_PLAN_VIEW_GEOMETRY_ANGLE_WARNING_TOLERANCE) + .default(OpendriveEvaluatorParameters.DEFAULT_PLAN_VIEW_GEOMETRY_ANGLE_WARNING_TOLERANCE) private val discretizationStepSize by option(help = "distance between each discretization step for curves and surfaces").double() - .default(Roadspaces2CitygmlParameters.DEFAULT_DISCRETIZATION_STEP_SIZE) + .default(Roadspaces2CitygmlParameters.DEFAULT_DISCRETIZATION_STEP_SIZE) private val skipOpendriveExport by option(help = "skip the export of the adjusted OpenDRIVE dataset").flag() private val skipCitygmlExport by option(help = "skip the export of the CityGML dataset for visual inspection purposes").flag()