Boundary#

Returns the distance to a rectangular boundary

Registered properties:

Constructs a new instance.

Parameters:
  • range – The range of view

  • min_x – The minimal x coordinate

  • max_x – The maximal x coordinate

  • min_y – The minimal y coordinate

  • max_y – The maximal y coordinate

  • name – The name to use as a prefix

Type:

float

The maximum x.

Type:

float

The maximum y.

Type:

float

The minimum x.

Type:

float

The minimum y.

Type:

float

The range of view.