Class SnapToRoadOptions.Builder
java.lang.Object
com.cercalia.sdk.model.snaptoroad.SnapToRoadOptions.Builder
- Enclosing class:
- SnapToRoadOptions
Builder for
SnapToRoadOptions.-
Method Summary
Modifier and TypeMethodDescription@NotNull SnapToRoadOptionsbuild()@NotNull SnapToRoadOptions.Builder@NotNull SnapToRoadOptions.BuildergeometrySrs(@Nullable String geometrySrs) @NotNull SnapToRoadOptions.BuildergeometryTolerance(@Nullable Integer geometryTolerance) @NotNull SnapToRoadOptions.BuildermaxDirectionSearchDistance(@Nullable Integer maxDirectionSearchDistance) @NotNull SnapToRoadOptions.BuildermaxSearchDistance(@Nullable Integer maxSearchDistance) @NotNull SnapToRoadOptions.Builder@NotNull SnapToRoadOptions.Builder@NotNull SnapToRoadOptions.Builder@NotNull SnapToRoadOptions.Builder@NotNull SnapToRoadOptions.BuilderspeedTolerance(@Nullable Integer speedTolerance) @NotNull SnapToRoadOptions.Builderweight(@Nullable SnapToRoadOptions.Weight weight)
-
Method Details
-
weight
@NotNull public @NotNull SnapToRoadOptions.Builder weight(@Nullable @Nullable SnapToRoadOptions.Weight weight) - Parameters:
weight- Weight type. @return This builder.
-
net
- Parameters:
net- Network code. @return This builder.
-
geometrySrs
@NotNull public @NotNull SnapToRoadOptions.Builder geometrySrs(@Nullable @Nullable String geometrySrs) - Parameters:
geometrySrs- Geometry SRS. @return This builder.
-
geometryTolerance
@NotNull public @NotNull SnapToRoadOptions.Builder geometryTolerance(@Nullable @Nullable Integer geometryTolerance) - Parameters:
geometryTolerance- Geometry tolerance. @return This builder.
-
points
- Parameters:
points- Include points. @return This builder.
-
speeding
- Parameters:
speeding- Enable speeding detection. @return This builder.
-
speedTolerance
@NotNull public @NotNull SnapToRoadOptions.Builder speedTolerance(@Nullable @Nullable Integer speedTolerance) - Parameters:
speedTolerance- Speed tolerance. @return This builder.
-
onlyTrack
- Parameters:
onlyTrack- Only track. @return This builder.
-
maxDirectionSearchDistance
@NotNull public @NotNull SnapToRoadOptions.Builder maxDirectionSearchDistance(@Nullable @Nullable Integer maxDirectionSearchDistance) - Parameters:
maxDirectionSearchDistance- Max direction search distance. @return This builder.
-
maxSearchDistance
@NotNull public @NotNull SnapToRoadOptions.Builder maxSearchDistance(@Nullable @Nullable Integer maxSearchDistance) - Parameters:
maxSearchDistance- Max search distance. @return This builder.
-
factor
- Parameters:
factor- Factor. @return This builder.
-
build
- Returns:
- A new
SnapToRoadOptionsinstance.
-