| Package | Description |
|---|---|
| com.io7m.jregions.core.parameterized.areas |
Area types.
|
| com.io7m.jregions.generators |
Quickcheck generators.
|
| Modifier and Type | Method and Description |
|---|---|
static <S> PAreaD<S> |
PAreasD.alignCenter(PAreaD<S> outer,
PAreaD<S> inner)
Align the area
inner such that the center of the area is equal to
the center of outer. |
static <S> PAreaD<S> |
PAreasD.alignHorizontallyCenter(PAreaD<S> outer,
PAreaD<S> inner)
Align the area
inner horizontally in the center of outer. |
static <S> PAreaD<S> |
PAreasD.alignHorizontallyMaxX(PAreaD<S> outer,
PAreaD<S> inner)
Equivalent to calling
PAreasD.alignHorizontallyMaxXOffset(PAreaD,
PAreaD, double) with a zero offset. |
static <S> PAreaD<S> |
PAreasD.alignHorizontallyMaxXOffset(PAreaD<S> outer,
PAreaD<S> inner,
double offset)
Align the area
inner horizontally against the inside maximum-x edge
of outer. |
static <S> PAreaD<S> |
PAreasD.alignHorizontallyMinX(PAreaD<S> outer,
PAreaD<S> inner)
Equivalent to calling
PAreasD.alignHorizontallyMinXOffset(PAreaD, PAreaD,
double) with a zero offset. |
static <S> PAreaD<S> |
PAreasD.alignHorizontallyMinXOffset(PAreaD<S> outer,
PAreaD<S> inner,
double offset)
Align the area
inner horizontally against the inside minimum-x edge
of outer. |
static <S> PAreaD<S> |
PAreasD.alignMaxYMaxX(PAreaD<S> outer,
PAreaD<S> inner)
Equivalent to calling
PAreasD.alignMaxYMaxXOffset(PAreaD, PAreaD,
double, double) with zero offsets. |
static <S> PAreaD<S> |
PAreasD.alignMaxYMaxXOffset(PAreaD<S> outer,
PAreaD<S> inner,
double offset_x,
double offset_y)
Align the area
inner such that the maximum-y edge is at least
offset_y from the inside maximum-y edge of outer and the
maximum-x edge is at least offset_x from the inside maximum-x edge
of outer. |
static <S> PAreaD<S> |
PAreasD.alignMaxYMinX(PAreaD<S> outer,
PAreaD<S> inner)
Equivalent to calling
PAreasD.alignMaxYMinXOffset(PAreaD, PAreaD,
double, double) with zero offsets. |
static <S> PAreaD<S> |
PAreasD.alignMaxYMinXOffset(PAreaD<S> outer,
PAreaD<S> inner,
double offset_x,
double offset_y)
Align the area
inner such that the maximum-y edge is at least
offset_y from the inside maximum-y edge of outer and the
minimum-x edge is at least offset_x from the inside minimum-x edge
of outer. |
static <S> PAreaD<S> |
PAreasD.alignMinYMaxX(PAreaD<S> outer,
PAreaD<S> inner)
Equivalent to calling
PAreasD.alignMinYMaxXOffset(PAreaD, PAreaD,
double, double) with zero offsets. |
static <S> PAreaD<S> |
PAreasD.alignMinYMaxXOffset(PAreaD<S> outer,
PAreaD<S> inner,
double offset_x,
double offset_y)
Align the area
inner such that the minimum-y edge is at least
offset_y from the inside minimum-y edge of outer and the
maximum-x edge is at least offset_x from the inside maximum-x edge
of outer. |
static <S> PAreaD<S> |
PAreasD.alignMinYMinX(PAreaD<S> outer,
PAreaD<S> inner)
Equivalent to calling
PAreasD.alignMinYMinXOffset(PAreaD, PAreaD,
double, double) with zero offsets. |
static <S> PAreaD<S> |
PAreasD.alignMinYMinXOffset(PAreaD<S> outer,
PAreaD<S> inner,
double offset_x,
double offset_y)
Align the area
inner such that the minimum-y edge is at least
offset_y from the inside minimum-y edge of outer and the
minimum-x edge is at least offset_x from the inside minimum-x edge
of outer. |
static <S> PAreaD<S> |
PAreasD.alignVerticallyCenter(PAreaD<S> outer,
PAreaD<S> inner)
Align the area
inner vertically in the center of outer. |
static <S> PAreaD<S> |
PAreasD.alignVerticallyMaxY(PAreaD<S> outer,
PAreaD<S> inner)
Equivalent to calling
PAreasD.alignVerticallyMaxYOffset(PAreaD, PAreaD,
double) with a zero offset. |
static <S> PAreaD<S> |
PAreasD.alignVerticallyMaxYOffset(PAreaD<S> outer,
PAreaD<S> inner,
double offset)
Align the area
inner vertically against the inside maximum-y edge
of outer. |
static <S> PAreaD<S> |
PAreasD.alignVerticallyMinY(PAreaD<S> outer,
PAreaD<S> inner)
Equivalent to calling
PAreasD.alignVerticallyMinYOffset(PAreaD, PAreaD,
double) with a zero offset. |
static <S> PAreaD<S> |
PAreasD.alignVerticallyMinYOffset(PAreaD<S> outer,
PAreaD<S> inner,
double offset)
Align the area
inner vertically against the inside minimum-y edge
of outer. |
PAreaD<S> |
PAreaD.Builder.build()
Builds a new
PAreaD. |
static <S,T> PAreaD<T> |
PAreasD.cast(PAreaD<S> area)
Brand a given area as belonging to a different coordinate space.
|
static <S> PAreaD<S> |
PAreasD.containing(PAreaD<S> a,
PAreaD<S> b)
Construct a area that will contain both
a and b. |
static <S> PAreaD<S> |
PAreasD.create(double x,
double y,
double width,
double height)
Create an area of width
width and height height, placing
the minimum corner at (x, y). |
static <S> PAreaD<S> |
PAreasD.fitBetweenHorizontal(PAreaD<S> fit,
PAreaD<S> a,
PAreaD<S> b)
Attempt to fit
fit between a and b, horizontally. |
static <S> PAreaD<S> |
PAreasD.fitBetweenVertical(PAreaD<S> fit,
PAreaD<S> a,
PAreaD<S> b)
Attempt to fit
fit between a and b, vertically. |
static <S> PAreaD<S> |
PAreasD.hollowOut(PAreaD<S> outer,
double min_x_offset,
double max_x_offset,
double min_y_offset,
double max_y_offset)
Construct a new area that fits inside
outer based on the given
offsets from each edge. |
static <S> PAreaD<S> |
PAreasD.hollowOutEvenly(PAreaD<S> outer,
double offset)
Equivalent to calling
PAreasD.hollowOut(PAreaD, double, double,
double, double) with offset for all offset parameters. |
static <S> PAreaD<S> |
PAreasD.moveAbsolute(PAreaD<S> area,
double x,
double y)
Move the given area to
(x, y). |
static <S> PAreaD<S> |
PAreasD.moveRelative(PAreaD<S> area,
double x,
double y)
Move the given area by
(x, y). |
static <S> PAreaD<S> |
PAreasD.moveToOrigin(PAreaD<S> area)
Move the given area to
(0, 0). |
static <S> PAreaD<S> |
PAreaD.of(double minimumX,
double maximumX,
double minimumY,
double maximumY)
Construct a new immutable
PAreaD instance. |
static <S> PAreaD<S> |
PAreasD.scaleFromCenter(PAreaD<S> area,
double x_diff,
double y_diff)
Scale
area by adding x_diff to the width, and y_diff to the height. |
static <S> PAreaD<S> |
PAreasD.scaleFromMaxYMaxX(PAreaD<S> area,
double x_diff,
double y_diff)
Scale
area by adding x_diff to the width, and y_diff to the height. |
static <S> PAreaD<S> |
PAreasD.scaleFromMaxYMinX(PAreaD<S> area,
double x_diff,
double y_diff)
Scale
area by adding x_diff to the width, and y_diff to the height. |
static <S> PAreaD<S> |
PAreasD.scaleFromMinYMaxX(PAreaD<S> area,
double x_diff,
double y_diff)
Scale
area by adding x_diff to the width, and y_diff to the height. |
static <S> PAreaD<S> |
PAreasD.scaleFromMinYMinX(PAreaD<S> area,
double x_diff,
double y_diff)
Scale
area by adding x_diff to the width, and y_diff to the height. |
static <S> PAreaD<S> |
PAreasD.setSizeFromCenter(PAreaD<S> area,
double width,
double height)
Set the width and height of
area to width and height, respectively. |
static <S> PAreaD<S> |
PAreasD.setSizeFromMaxYMaxX(PAreaD<S> area,
double width,
double height)
Set the width and height of
area to width and height, respectively. |
static <S> PAreaD<S> |
PAreasD.setSizeFromMaxYMinX(PAreaD<S> area,
double width,
double height)
Set the width and height of
area to width and height, respectively. |
static <S> PAreaD<S> |
PAreasD.setSizeFromMinYMaxX(PAreaD<S> area,
double width,
double height)
Set the width and height of
area to width and height, respectively. |
static <S> PAreaD<S> |
PAreasD.setSizeFromMinYMinX(PAreaD<S> area,
double width,
double height)
Set the width and height of
area to width and height, respectively. |
| Modifier and Type | Method and Description |
|---|---|
static <S> PAreaXSplitD<S,PAreaD<S>> |
PAreasD.splitAlongParallelToX(PAreaD<S> area,
double y)
Split
area along a line parallel to the X axis placed at
y units from its own minimum-y edge. |
static <S> PAreaYSplitD<S,PAreaD<S>> |
PAreasD.splitAlongParallelToY(PAreaD<S> area,
double x)
Split
area along a line parallel to the Y axis placed at
x units from its own minimum-x edge. |
| Modifier and Type | Method and Description |
|---|---|
static <S> PAreaD<S> |
PAreasD.alignCenter(PAreaD<S> outer,
PAreaD<S> inner)
Align the area
inner such that the center of the area is equal to
the center of outer. |
static <S> PAreaD<S> |
PAreasD.alignCenter(PAreaD<S> outer,
PAreaD<S> inner)
Align the area
inner such that the center of the area is equal to
the center of outer. |
static <S> PAreaD<S> |
PAreasD.alignHorizontallyCenter(PAreaD<S> outer,
PAreaD<S> inner)
Align the area
inner horizontally in the center of outer. |
static <S> PAreaD<S> |
PAreasD.alignHorizontallyCenter(PAreaD<S> outer,
PAreaD<S> inner)
Align the area
inner horizontally in the center of outer. |
static <S> PAreaD<S> |
PAreasD.alignHorizontallyMaxX(PAreaD<S> outer,
PAreaD<S> inner)
Equivalent to calling
PAreasD.alignHorizontallyMaxXOffset(PAreaD,
PAreaD, double) with a zero offset. |
static <S> PAreaD<S> |
PAreasD.alignHorizontallyMaxX(PAreaD<S> outer,
PAreaD<S> inner)
Equivalent to calling
PAreasD.alignHorizontallyMaxXOffset(PAreaD,
PAreaD, double) with a zero offset. |
static <S> PAreaD<S> |
PAreasD.alignHorizontallyMaxXOffset(PAreaD<S> outer,
PAreaD<S> inner,
double offset)
Align the area
inner horizontally against the inside maximum-x edge
of outer. |
static <S> PAreaD<S> |
PAreasD.alignHorizontallyMaxXOffset(PAreaD<S> outer,
PAreaD<S> inner,
double offset)
Align the area
inner horizontally against the inside maximum-x edge
of outer. |
static <S> PAreaD<S> |
PAreasD.alignHorizontallyMinX(PAreaD<S> outer,
PAreaD<S> inner)
Equivalent to calling
PAreasD.alignHorizontallyMinXOffset(PAreaD, PAreaD,
double) with a zero offset. |
static <S> PAreaD<S> |
PAreasD.alignHorizontallyMinX(PAreaD<S> outer,
PAreaD<S> inner)
Equivalent to calling
PAreasD.alignHorizontallyMinXOffset(PAreaD, PAreaD,
double) with a zero offset. |
static <S> PAreaD<S> |
PAreasD.alignHorizontallyMinXOffset(PAreaD<S> outer,
PAreaD<S> inner,
double offset)
Align the area
inner horizontally against the inside minimum-x edge
of outer. |
static <S> PAreaD<S> |
PAreasD.alignHorizontallyMinXOffset(PAreaD<S> outer,
PAreaD<S> inner,
double offset)
Align the area
inner horizontally against the inside minimum-x edge
of outer. |
static <S> PAreaD<S> |
PAreasD.alignMaxYMaxX(PAreaD<S> outer,
PAreaD<S> inner)
Equivalent to calling
PAreasD.alignMaxYMaxXOffset(PAreaD, PAreaD,
double, double) with zero offsets. |
static <S> PAreaD<S> |
PAreasD.alignMaxYMaxX(PAreaD<S> outer,
PAreaD<S> inner)
Equivalent to calling
PAreasD.alignMaxYMaxXOffset(PAreaD, PAreaD,
double, double) with zero offsets. |
static <S> PAreaD<S> |
PAreasD.alignMaxYMaxXOffset(PAreaD<S> outer,
PAreaD<S> inner,
double offset_x,
double offset_y)
Align the area
inner such that the maximum-y edge is at least
offset_y from the inside maximum-y edge of outer and the
maximum-x edge is at least offset_x from the inside maximum-x edge
of outer. |
static <S> PAreaD<S> |
PAreasD.alignMaxYMaxXOffset(PAreaD<S> outer,
PAreaD<S> inner,
double offset_x,
double offset_y)
Align the area
inner such that the maximum-y edge is at least
offset_y from the inside maximum-y edge of outer and the
maximum-x edge is at least offset_x from the inside maximum-x edge
of outer. |
static <S> PAreaD<S> |
PAreasD.alignMaxYMinX(PAreaD<S> outer,
PAreaD<S> inner)
Equivalent to calling
PAreasD.alignMaxYMinXOffset(PAreaD, PAreaD,
double, double) with zero offsets. |
static <S> PAreaD<S> |
PAreasD.alignMaxYMinX(PAreaD<S> outer,
PAreaD<S> inner)
Equivalent to calling
PAreasD.alignMaxYMinXOffset(PAreaD, PAreaD,
double, double) with zero offsets. |
static <S> PAreaD<S> |
PAreasD.alignMaxYMinXOffset(PAreaD<S> outer,
PAreaD<S> inner,
double offset_x,
double offset_y)
Align the area
inner such that the maximum-y edge is at least
offset_y from the inside maximum-y edge of outer and the
minimum-x edge is at least offset_x from the inside minimum-x edge
of outer. |
static <S> PAreaD<S> |
PAreasD.alignMaxYMinXOffset(PAreaD<S> outer,
PAreaD<S> inner,
double offset_x,
double offset_y)
Align the area
inner such that the maximum-y edge is at least
offset_y from the inside maximum-y edge of outer and the
minimum-x edge is at least offset_x from the inside minimum-x edge
of outer. |
static <S> PAreaD<S> |
PAreasD.alignMinYMaxX(PAreaD<S> outer,
PAreaD<S> inner)
Equivalent to calling
PAreasD.alignMinYMaxXOffset(PAreaD, PAreaD,
double, double) with zero offsets. |
static <S> PAreaD<S> |
PAreasD.alignMinYMaxX(PAreaD<S> outer,
PAreaD<S> inner)
Equivalent to calling
PAreasD.alignMinYMaxXOffset(PAreaD, PAreaD,
double, double) with zero offsets. |
static <S> PAreaD<S> |
PAreasD.alignMinYMaxXOffset(PAreaD<S> outer,
PAreaD<S> inner,
double offset_x,
double offset_y)
Align the area
inner such that the minimum-y edge is at least
offset_y from the inside minimum-y edge of outer and the
maximum-x edge is at least offset_x from the inside maximum-x edge
of outer. |
static <S> PAreaD<S> |
PAreasD.alignMinYMaxXOffset(PAreaD<S> outer,
PAreaD<S> inner,
double offset_x,
double offset_y)
Align the area
inner such that the minimum-y edge is at least
offset_y from the inside minimum-y edge of outer and the
maximum-x edge is at least offset_x from the inside maximum-x edge
of outer. |
static <S> PAreaD<S> |
PAreasD.alignMinYMinX(PAreaD<S> outer,
PAreaD<S> inner)
Equivalent to calling
PAreasD.alignMinYMinXOffset(PAreaD, PAreaD,
double, double) with zero offsets. |
static <S> PAreaD<S> |
PAreasD.alignMinYMinX(PAreaD<S> outer,
PAreaD<S> inner)
Equivalent to calling
PAreasD.alignMinYMinXOffset(PAreaD, PAreaD,
double, double) with zero offsets. |
static <S> PAreaD<S> |
PAreasD.alignMinYMinXOffset(PAreaD<S> outer,
PAreaD<S> inner,
double offset_x,
double offset_y)
Align the area
inner such that the minimum-y edge is at least
offset_y from the inside minimum-y edge of outer and the
minimum-x edge is at least offset_x from the inside minimum-x edge
of outer. |
static <S> PAreaD<S> |
PAreasD.alignMinYMinXOffset(PAreaD<S> outer,
PAreaD<S> inner,
double offset_x,
double offset_y)
Align the area
inner such that the minimum-y edge is at least
offset_y from the inside minimum-y edge of outer and the
minimum-x edge is at least offset_x from the inside minimum-x edge
of outer. |
static <S> PAreaD<S> |
PAreasD.alignVerticallyCenter(PAreaD<S> outer,
PAreaD<S> inner)
Align the area
inner vertically in the center of outer. |
static <S> PAreaD<S> |
PAreasD.alignVerticallyCenter(PAreaD<S> outer,
PAreaD<S> inner)
Align the area
inner vertically in the center of outer. |
static <S> PAreaD<S> |
PAreasD.alignVerticallyMaxY(PAreaD<S> outer,
PAreaD<S> inner)
Equivalent to calling
PAreasD.alignVerticallyMaxYOffset(PAreaD, PAreaD,
double) with a zero offset. |
static <S> PAreaD<S> |
PAreasD.alignVerticallyMaxY(PAreaD<S> outer,
PAreaD<S> inner)
Equivalent to calling
PAreasD.alignVerticallyMaxYOffset(PAreaD, PAreaD,
double) with a zero offset. |
static <S> PAreaD<S> |
PAreasD.alignVerticallyMaxYOffset(PAreaD<S> outer,
PAreaD<S> inner,
double offset)
Align the area
inner vertically against the inside maximum-y edge
of outer. |
static <S> PAreaD<S> |
PAreasD.alignVerticallyMaxYOffset(PAreaD<S> outer,
PAreaD<S> inner,
double offset)
Align the area
inner vertically against the inside maximum-y edge
of outer. |
static <S> PAreaD<S> |
PAreasD.alignVerticallyMinY(PAreaD<S> outer,
PAreaD<S> inner)
Equivalent to calling
PAreasD.alignVerticallyMinYOffset(PAreaD, PAreaD,
double) with a zero offset. |
static <S> PAreaD<S> |
PAreasD.alignVerticallyMinY(PAreaD<S> outer,
PAreaD<S> inner)
Equivalent to calling
PAreasD.alignVerticallyMinYOffset(PAreaD, PAreaD,
double) with a zero offset. |
static <S> PAreaD<S> |
PAreasD.alignVerticallyMinYOffset(PAreaD<S> outer,
PAreaD<S> inner,
double offset)
Align the area
inner vertically against the inside minimum-y edge
of outer. |
static <S> PAreaD<S> |
PAreasD.alignVerticallyMinYOffset(PAreaD<S> outer,
PAreaD<S> inner,
double offset)
Align the area
inner vertically against the inside minimum-y edge
of outer. |
static <S,T> PAreaD<T> |
PAreasD.cast(PAreaD<S> area)
Brand a given area as belonging to a different coordinate space.
|
static <S> PAreaD<S> |
PAreasD.containing(PAreaD<S> a,
PAreaD<S> b)
Construct a area that will contain both
a and b. |
static <S> PAreaD<S> |
PAreasD.containing(PAreaD<S> a,
PAreaD<S> b)
Construct a area that will contain both
a and b. |
static <S> boolean |
PAreasD.contains(PAreaD<S> a,
PAreaD<S> b)
Determine whether or not one area contains another.
|
static <S> boolean |
PAreasD.contains(PAreaD<S> a,
PAreaD<S> b)
Determine whether or not one area contains another.
|
static <S> boolean |
PAreasD.containsPoint(PAreaD<S> a,
double x,
double y)
Determine whether or not a area contains a given point.
|
static <S> boolean |
PAreasD.couldFitInside(PAreaD<S> a,
PAreaD<S> b)
Determine whether or not one area could fit inside another.
|
static <S> boolean |
PAreasD.couldFitInside(PAreaD<S> a,
PAreaD<S> b)
Determine whether or not one area could fit inside another.
|
static <S> PAreaD<S> |
PAreasD.fitBetweenHorizontal(PAreaD<S> fit,
PAreaD<S> a,
PAreaD<S> b)
Attempt to fit
fit between a and b, horizontally. |
static <S> PAreaD<S> |
PAreasD.fitBetweenHorizontal(PAreaD<S> fit,
PAreaD<S> a,
PAreaD<S> b)
Attempt to fit
fit between a and b, horizontally. |
static <S> PAreaD<S> |
PAreasD.fitBetweenHorizontal(PAreaD<S> fit,
PAreaD<S> a,
PAreaD<S> b)
Attempt to fit
fit between a and b, horizontally. |
static <S> PAreaD<S> |
PAreasD.fitBetweenVertical(PAreaD<S> fit,
PAreaD<S> a,
PAreaD<S> b)
Attempt to fit
fit between a and b, vertically. |
static <S> PAreaD<S> |
PAreasD.fitBetweenVertical(PAreaD<S> fit,
PAreaD<S> a,
PAreaD<S> b)
Attempt to fit
fit between a and b, vertically. |
static <S> PAreaD<S> |
PAreasD.fitBetweenVertical(PAreaD<S> fit,
PAreaD<S> a,
PAreaD<S> b)
Attempt to fit
fit between a and b, vertically. |
static <S> PAreaD<S> |
PAreasD.hollowOut(PAreaD<S> outer,
double min_x_offset,
double max_x_offset,
double min_y_offset,
double max_y_offset)
Construct a new area that fits inside
outer based on the given
offsets from each edge. |
static <S> PAreaD<S> |
PAreasD.hollowOutEvenly(PAreaD<S> outer,
double offset)
Equivalent to calling
PAreasD.hollowOut(PAreaD, double, double,
double, double) with offset for all offset parameters. |
static <S> PAreaD<S> |
PAreasD.moveAbsolute(PAreaD<S> area,
double x,
double y)
Move the given area to
(x, y). |
static <S> PAreaD<S> |
PAreasD.moveRelative(PAreaD<S> area,
double x,
double y)
Move the given area by
(x, y). |
static <S> PAreaD<S> |
PAreasD.moveToOrigin(PAreaD<S> area)
Move the given area to
(0, 0). |
static <S> boolean |
PAreasD.overlaps(PAreaD<S> a,
PAreaD<S> b)
Determine whether or not two areas overlap.
|
static <S> boolean |
PAreasD.overlaps(PAreaD<S> a,
PAreaD<S> b)
Determine whether or not two areas overlap.
|
static <S> PAreaD<S> |
PAreasD.scaleFromCenter(PAreaD<S> area,
double x_diff,
double y_diff)
Scale
area by adding x_diff to the width, and y_diff to the height. |
static <S> PAreaD<S> |
PAreasD.scaleFromMaxYMaxX(PAreaD<S> area,
double x_diff,
double y_diff)
Scale
area by adding x_diff to the width, and y_diff to the height. |
static <S> PAreaD<S> |
PAreasD.scaleFromMaxYMinX(PAreaD<S> area,
double x_diff,
double y_diff)
Scale
area by adding x_diff to the width, and y_diff to the height. |
static <S> PAreaD<S> |
PAreasD.scaleFromMinYMaxX(PAreaD<S> area,
double x_diff,
double y_diff)
Scale
area by adding x_diff to the width, and y_diff to the height. |
static <S> PAreaD<S> |
PAreasD.scaleFromMinYMinX(PAreaD<S> area,
double x_diff,
double y_diff)
Scale
area by adding x_diff to the width, and y_diff to the height. |
static <S> PAreaD<S> |
PAreasD.setSizeFromCenter(PAreaD<S> area,
double width,
double height)
Set the width and height of
area to width and height, respectively. |
static <S> PAreaD<S> |
PAreasD.setSizeFromMaxYMaxX(PAreaD<S> area,
double width,
double height)
Set the width and height of
area to width and height, respectively. |
static <S> PAreaD<S> |
PAreasD.setSizeFromMaxYMinX(PAreaD<S> area,
double width,
double height)
Set the width and height of
area to width and height, respectively. |
static <S> PAreaD<S> |
PAreasD.setSizeFromMinYMaxX(PAreaD<S> area,
double width,
double height)
Set the width and height of
area to width and height, respectively. |
static <S> PAreaD<S> |
PAreasD.setSizeFromMinYMinX(PAreaD<S> area,
double width,
double height)
Set the width and height of
area to width and height, respectively. |
static <S> String |
PAreasD.show(PAreaD<S> area) |
static <S> String |
PAreasD.showToBuilder(PAreaD<S> area,
StringBuilder sb) |
static <S> PAreaXSplitD<S,PAreaD<S>> |
PAreasD.splitAlongParallelToX(PAreaD<S> area,
double y)
Split
area along a line parallel to the X axis placed at
y units from its own minimum-y edge. |
static <S> PAreaYSplitD<S,PAreaD<S>> |
PAreasD.splitAlongParallelToY(PAreaD<S> area,
double x)
Split
area along a line parallel to the Y axis placed at
x units from its own minimum-x edge. |
| Modifier and Type | Method and Description |
|---|---|
PAreaD<S> |
PAreaDGenerator.next() |
Copyright © 2017 <code@io7m.com> http://io7m.com