Obstacle

floodsim.model.cell.Obstacle
final case class Obstacle(surface: Double, height: Double)

Represents a physical obstacle in a cell. Obstacles affect water flow and capacity by occupying space within a cell.

Value parameters

height

the height of the obstacle

surface

the surface area of the obstacle

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product