BoundaryDsl
The DSL for creating and configuring boundaries in the simulation.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
BoundaryDsl.type
Members list
Extensions
Extensions
Sets the position of the boundary.
Sets the position of the boundary.
Value parameters
- pos
-
the position of the boundary.
Attributes
- Returns
-
The updated boundary with the specified position.
Validates the boundary's properties. This method allows ensuring that the boundary properties reflect domain constraints.
Validates the boundary's properties. This method allows ensuring that the boundary properties reflect domain constraints.
Attributes
- Returns
-
Right with the updated Boundary if valid, otherwise Left with a validation error.
Sets the height of the boundary.
Sets the height of the boundary.
Value parameters
- height
-
the height of the boundary.
Attributes
- Returns
-
The updated boundary with the specified height.
Sets the unique identifier for the boundary.
Sets the unique identifier for the boundary.
Value parameters
- id
-
the unique identifier for the boundary.
Attributes
- Returns
-
the updated boundary with the specified identifier.
Sets the orientation of the boundary.
Sets the orientation of the boundary.
Value parameters
- orientation
-
the orientation of the boundary.
Attributes
- Returns
-
The updated boundary with the specified orientation.