ggplotd.bounds

Undocumented in source.

Members

Functions

adjustedBounds
Bounds adjustedBounds(Bounds bounds, Point point)

Returns adjust bounds based on given bounds to include point

height
double height(Bounds bounds)

Return the height of the given bounds

minimalBounds
Bounds minimalBounds(Point[] points)

Return minimal bounds size containing those points

validBounds
bool validBounds(Point[] points)

Can we construct valid bounds given these points

width
double width(Bounds bounds)

Return the width of the given bounds

withinBounds
bool withinBounds(Bounds bounds, Point point)

Is the point within the Bounds

Structs

AdaptiveBounds
struct AdaptiveBounds

Bounds that can adapt to new points being passed

Bounds
struct Bounds

Bounds struct holding the bounds (min_x, max_x, min_y, max_y)

Point
struct Point

Point with x and y value

Meta