The OpenD Programming Language

AdaptiveBounds

Bounds that can adapt to new points being passed

Constructors

this
this(string str)

Constructor taking comma separated x and y limits

this
this(double my_min_x, double my_max_x, double my_min_y, double my_max_y)

Constructor taking x and y limits

this
this(Bounds bnds)

Contructor taking an existing Bounds struct

Alias This

bounds

Members

Functions

adapt
bool adapt(double x, double y)

Adapt by passing x and y variable

adapt
bool adapt(T bounds)

Adapt bounds to include the given bounds

adapt
bool adapt(T point)

Adapt bounds to include the new point

adapt
bool adapt(T points)

Adapt bounds to include the new points

Variables

bounds
Bounds bounds;

Actual bounds being used

Meta