| Package | Description |
|---|---|
| com.io7m.jregions.core.conversions |
Functions to convert between parameterized and unparameterized types.
|
| com.io7m.jregions.core.parameterized.areas |
Area types.
|
| com.io7m.jregions.generators |
Quickcheck generators.
|
| Modifier and Type | Method | Description |
|---|---|---|
static <S> PAreaBD<S> |
AreaConversions.toPAreaBD(AreaBD a) |
Convert an area.
|
| Modifier and Type | Method | Description |
|---|---|---|
static <S> AreaBD |
AreaConversions.toAreaBD(PAreaBD<S> a) |
Convert an area.
|
| Modifier and Type | Method | Description |
|---|---|---|
static <S> PAreaBD<S> |
PAreasBD.alignCenter(PAreaBD<S> outer,
PAreaBD<S> inner) |
Align the area
inner such that the center of the area is equal to
the center of outer. |
static <S> PAreaBD<S> |
PAreasBD.alignHorizontallyCenter(PAreaBD<S> outer,
PAreaBD<S> inner) |
Deprecated.
|
static <S> PAreaBD<S> |
PAreasBD.alignHorizontallyMaxX(PAreaBD<S> outer,
PAreaBD<S> inner) |
Deprecated.
|
static <S> PAreaBD<S> |
PAreasBD.alignHorizontallyMaxXOffset(PAreaBD<S> outer,
PAreaBD<S> inner,
java.math.BigDecimal offset) |
|
static <S> PAreaBD<S> |
PAreasBD.alignHorizontallyMinX(PAreaBD<S> outer,
PAreaBD<S> inner) |
Deprecated.
|
static <S> PAreaBD<S> |
PAreasBD.alignHorizontallyMinXOffset(PAreaBD<S> outer,
PAreaBD<S> inner,
java.math.BigDecimal offset) |
|
static <S> PAreaBD<S> |
PAreasBD.alignMaxYMaxX(PAreaBD<S> outer,
PAreaBD<S> inner) |
Equivalent to calling
PAreasBD.alignMaxYMaxXOffset(PAreaBD, PAreaBD,
java.math.BigDecimal, java.math.BigDecimal) with zero offsets. |
static <S> PAreaBD<S> |
PAreasBD.alignMaxYMaxXOffset(PAreaBD<S> outer,
PAreaBD<S> inner,
java.math.BigDecimal offset_x,
java.math.BigDecimal 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> PAreaBD<S> |
PAreasBD.alignMaxYMinX(PAreaBD<S> outer,
PAreaBD<S> inner) |
Equivalent to calling
PAreasBD.alignMaxYMinXOffset(PAreaBD, PAreaBD,
java.math.BigDecimal, java.math.BigDecimal) with zero offsets. |
static <S> PAreaBD<S> |
PAreasBD.alignMaxYMinXOffset(PAreaBD<S> outer,
PAreaBD<S> inner,
java.math.BigDecimal offset_x,
java.math.BigDecimal 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> PAreaBD<S> |
PAreasBD.alignMinYMaxX(PAreaBD<S> outer,
PAreaBD<S> inner) |
Equivalent to calling
PAreasBD.alignMinYMaxXOffset(PAreaBD, PAreaBD,
java.math.BigDecimal, java.math.BigDecimal) with zero offsets. |
static <S> PAreaBD<S> |
PAreasBD.alignMinYMaxXOffset(PAreaBD<S> outer,
PAreaBD<S> inner,
java.math.BigDecimal offset_x,
java.math.BigDecimal 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> PAreaBD<S> |
PAreasBD.alignMinYMinX(PAreaBD<S> outer,
PAreaBD<S> inner) |
Equivalent to calling
PAreasBD.alignMinYMinXOffset(PAreaBD, PAreaBD,
java.math.BigDecimal, java.math.BigDecimal) with zero offsets. |
static <S> PAreaBD<S> |
PAreasBD.alignMinYMinXOffset(PAreaBD<S> outer,
PAreaBD<S> inner,
java.math.BigDecimal offset_x,
java.math.BigDecimal 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> PAreaBD<S> |
PAreasBD.alignOnXCenter(PAreaBD<S> outer,
PAreaBD<S> inner) |
Align the area
inner along the X axis in the center of outer. |
static <S> PAreaBD<S> |
PAreasBD.alignOnXMaxX(PAreaBD<S> outer,
PAreaBD<S> inner) |
Equivalent to calling
PAreasBD.alignOnXMaxXOffset(PAreaBD,
PAreaBD, java.math.BigDecimal) with a zero offset. |
static <S> PAreaBD<S> |
PAreasBD.alignOnXMaxXOffset(PAreaBD<S> outer,
PAreaBD<S> inner,
java.math.BigDecimal offset) |
Align the area
inner along the X axis against the inside maximum-x edge
of outer. |
static <S> PAreaBD<S> |
PAreasBD.alignOnXMinX(PAreaBD<S> outer,
PAreaBD<S> inner) |
Equivalent to calling
PAreasBD.alignOnXMinXOffset(PAreaBD, PAreaBD,
java.math.BigDecimal) with a zero offset. |
static <S> PAreaBD<S> |
PAreasBD.alignOnXMinXOffset(PAreaBD<S> outer,
PAreaBD<S> inner,
java.math.BigDecimal offset) |
Align the area
inner along the X axis against the inside minimum-x edge
of outer. |
static <S> PAreaBD<S> |
PAreasBD.alignOnYCenter(PAreaBD<S> outer,
PAreaBD<S> inner) |
Align the area
inner along the Y axis in the center of outer. |
static <S> PAreaBD<S> |
PAreasBD.alignOnYMaxY(PAreaBD<S> outer,
PAreaBD<S> inner) |
Equivalent to calling
PAreasBD.alignOnYMaxYOffset(PAreaBD, PAreaBD,
java.math.BigDecimal) with a zero offset. |
static <S> PAreaBD<S> |
PAreasBD.alignOnYMaxYOffset(PAreaBD<S> outer,
PAreaBD<S> inner,
java.math.BigDecimal offset) |
Align the area
inner along the Y axis against the inside maximum-y edge
of outer. |
static <S> PAreaBD<S> |
PAreasBD.alignOnYMinY(PAreaBD<S> outer,
PAreaBD<S> inner) |
Equivalent to calling
PAreasBD.alignOnYMinYOffset(PAreaBD, PAreaBD,
java.math.BigDecimal) with a zero offset. |
static <S> PAreaBD<S> |
PAreasBD.alignOnYMinYOffset(PAreaBD<S> outer,
PAreaBD<S> inner,
java.math.BigDecimal offset) |
Align the area
inner along the Y axis against the inside minimum-y edge
of outer. |
static <S> PAreaBD<S> |
PAreasBD.alignVerticallyCenter(PAreaBD<S> outer,
PAreaBD<S> inner) |
Deprecated.
|
static <S> PAreaBD<S> |
PAreasBD.alignVerticallyMaxY(PAreaBD<S> outer,
PAreaBD<S> inner) |
Deprecated.
|
static <S> PAreaBD<S> |
PAreasBD.alignVerticallyMaxYOffset(PAreaBD<S> outer,
PAreaBD<S> inner,
java.math.BigDecimal offset) |
|
static <S> PAreaBD<S> |
PAreasBD.alignVerticallyMinY(PAreaBD<S> outer,
PAreaBD<S> inner) |
Deprecated.
|
static <S> PAreaBD<S> |
PAreasBD.alignVerticallyMinYOffset(PAreaBD<S> outer,
PAreaBD<S> inner,
java.math.BigDecimal offset) |
|
PAreaBD<S> |
PAreaBD.Builder.build() |
Builds a new
PAreaBD. |
static <S,T> PAreaBD<T> |
PAreasBD.cast(PAreaBD<S> area) |
Brand a given area as belonging to a different coordinate space.
|
static <S> PAreaBD<S> |
PAreasBD.containing(PAreaBD<S> a,
PAreaBD<S> b) |
Construct a area that will contain both
a and b. |
static <S> PAreaBD<S> |
PAreasBD.create(java.math.BigDecimal x,
java.math.BigDecimal y,
java.math.BigDecimal size_x,
java.math.BigDecimal size_y) |
Create an area of size
size_x on the X axis and size size_y
on the Y axis, placing the minimum corner at (x, y). |
static <S> PAreaBD<S> |
PAreasBD.fitBetweenHorizontal(PAreaBD<S> fit,
PAreaBD<S> a,
PAreaBD<S> b) |
Deprecated.
|
static <S> PAreaBD<S> |
PAreasBD.fitBetweenOnX(PAreaBD<S> fit,
PAreaBD<S> a,
PAreaBD<S> b) |
Attempt to fit
fit between a and b, horizontally. |
static <S> PAreaBD<S> |
PAreasBD.fitBetweenOnY(PAreaBD<S> fit,
PAreaBD<S> a,
PAreaBD<S> b) |
Attempt to fit
fit between a and b, vertically. |
static <S> PAreaBD<S> |
PAreasBD.fitBetweenVertical(PAreaBD<S> fit,
PAreaBD<S> a,
PAreaBD<S> b) |
Deprecated.
|
static <S> PAreaBD<S> |
PAreasBD.hollowOut(PAreaBD<S> outer,
java.math.BigDecimal min_x_offset,
java.math.BigDecimal max_x_offset,
java.math.BigDecimal min_y_offset,
java.math.BigDecimal max_y_offset) |
Construct a new area that fits inside
outer based on the given
offsets from each edge. |
static <S> PAreaBD<S> |
PAreasBD.hollowOutEvenly(PAreaBD<S> outer,
java.math.BigDecimal offset) |
Equivalent to calling
PAreasBD.hollowOut(PAreaBD, java.math.BigDecimal, java.math.BigDecimal,
java.math.BigDecimal, java.math.BigDecimal) with offset for all offset parameters. |
static <S> PAreaBD<S> |
PAreasBD.moveAbsolute(PAreaBD<S> area,
java.math.BigDecimal x,
java.math.BigDecimal y) |
Move the given area to
(x, y). |
static <S> PAreaBD<S> |
PAreasBD.moveRelative(PAreaBD<S> area,
java.math.BigDecimal x,
java.math.BigDecimal y) |
Move the given area by
(x, y). |
static <S> PAreaBD<S> |
PAreasBD.moveToOrigin(PAreaBD<S> area) |
Move the given area to
(0, 0). |
static <S> PAreaBD<S> |
PAreaBD.of(java.math.BigDecimal minimumX,
java.math.BigDecimal maximumX,
java.math.BigDecimal minimumY,
java.math.BigDecimal maximumY) |
Construct a new immutable
PAreaBD instance. |
static <S> PAreaBD<S> |
PAreasBD.scaleFromCenter(PAreaBD<S> area,
java.math.BigDecimal x_diff,
java.math.BigDecimal y_diff) |
Scale
area by adding x_diff to the sizeX, and
y_diff to the sizeY. |
static <S> PAreaBD<S> |
PAreasBD.scaleFromMaxYMaxX(PAreaBD<S> area,
java.math.BigDecimal x_diff,
java.math.BigDecimal y_diff) |
Scale
area by adding x_diff to the sizeX, and
y_diff to the sizeY. |
static <S> PAreaBD<S> |
PAreasBD.scaleFromMaxYMinX(PAreaBD<S> area,
java.math.BigDecimal x_diff,
java.math.BigDecimal y_diff) |
Scale
area by adding x_diff to the sizeX, and
y_diff to the sizeY. |
static <S> PAreaBD<S> |
PAreasBD.scaleFromMinYMaxX(PAreaBD<S> area,
java.math.BigDecimal x_diff,
java.math.BigDecimal y_diff) |
Scale
area by adding x_diff to the sizeX, and
y_diff to the sizeY. |
static <S> PAreaBD<S> |
PAreasBD.scaleFromMinYMinX(PAreaBD<S> area,
java.math.BigDecimal x_diff,
java.math.BigDecimal y_diff) |
Scale
area by adding x_diff to the sizeX, and
y_diff to the sizeY. |
static <S> PAreaBD<S> |
PAreasBD.setSizeFromCenter(PAreaBD<S> area,
java.math.BigDecimal sizeX,
java.math.BigDecimal sizeY) |
Set the sizeX and sizeY of
area to sizeX and
sizeY, respectively. |
static <S> PAreaBD<S> |
PAreasBD.setSizeFromMaxYMaxX(PAreaBD<S> area,
java.math.BigDecimal sizeX,
java.math.BigDecimal sizeY) |
Set the sizeX and sizeY of
area to sizeX and
sizeY, respectively. |
static <S> PAreaBD<S> |
PAreasBD.setSizeFromMaxYMinX(PAreaBD<S> area,
java.math.BigDecimal sizeX,
java.math.BigDecimal sizeY) |
Set the sizeX and sizeY of
area to sizeX and
sizeY, respectively. |
static <S> PAreaBD<S> |
PAreasBD.setSizeFromMinYMaxX(PAreaBD<S> area,
java.math.BigDecimal sizeX,
java.math.BigDecimal sizeY) |
Set the sizeX and sizeY of
area to sizeX and
sizeY, respectively. |
static <S> PAreaBD<S> |
PAreasBD.setSizeFromMinYMinX(PAreaBD<S> area,
java.math.BigDecimal sizeX,
java.math.BigDecimal sizeY) |
Set the sizeX and sizeY of
area to sizeX and
sizeY, respectively. |
| Modifier and Type | Method | Description |
|---|---|---|
static <S> PAreaXSplitBD<S,PAreaBD<S>> |
PAreasBD.splitAlongParallelToX(PAreaBD<S> area,
java.math.BigDecimal y) |
Split
area along a line parallel to the X axis placed at
y units from its own minimum-y edge. |
static <S> PAreaYSplitBD<S,PAreaBD<S>> |
PAreasBD.splitAlongParallelToY(PAreaBD<S> area,
java.math.BigDecimal x) |
Split
area along a line parallel to the Y axis placed at
x units from its own minimum-x edge. |
static <S> PAreaXYSplitBD<S,PAreaBD<S>> |
PAreasBD.splitAlongXY(PAreaBD<S> area,
java.math.BigDecimal x,
java.math.BigDecimal y) |
Split
area along a two axis-aligned perpendicular lines that intercept at (x, y). |
| Modifier and Type | Method | Description |
|---|---|---|
static <S> PAreaBD<S> |
PAreasBD.alignCenter(PAreaBD<S> outer,
PAreaBD<S> inner) |
Align the area
inner such that the center of the area is equal to
the center of outer. |
static <S> PAreaBD<S> |
PAreasBD.alignHorizontallyCenter(PAreaBD<S> outer,
PAreaBD<S> inner) |
Deprecated.
|
static <S> PAreaBD<S> |
PAreasBD.alignHorizontallyMaxX(PAreaBD<S> outer,
PAreaBD<S> inner) |
Deprecated.
|
static <S> PAreaBD<S> |
PAreasBD.alignHorizontallyMaxXOffset(PAreaBD<S> outer,
PAreaBD<S> inner,
java.math.BigDecimal offset) |
|
static <S> PAreaBD<S> |
PAreasBD.alignHorizontallyMinX(PAreaBD<S> outer,
PAreaBD<S> inner) |
Deprecated.
|
static <S> PAreaBD<S> |
PAreasBD.alignHorizontallyMinXOffset(PAreaBD<S> outer,
PAreaBD<S> inner,
java.math.BigDecimal offset) |
|
static <S> PAreaBD<S> |
PAreasBD.alignMaxYMaxX(PAreaBD<S> outer,
PAreaBD<S> inner) |
Equivalent to calling
PAreasBD.alignMaxYMaxXOffset(PAreaBD, PAreaBD,
java.math.BigDecimal, java.math.BigDecimal) with zero offsets. |
static <S> PAreaBD<S> |
PAreasBD.alignMaxYMaxXOffset(PAreaBD<S> outer,
PAreaBD<S> inner,
java.math.BigDecimal offset_x,
java.math.BigDecimal 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> PAreaBD<S> |
PAreasBD.alignMaxYMinX(PAreaBD<S> outer,
PAreaBD<S> inner) |
Equivalent to calling
PAreasBD.alignMaxYMinXOffset(PAreaBD, PAreaBD,
java.math.BigDecimal, java.math.BigDecimal) with zero offsets. |
static <S> PAreaBD<S> |
PAreasBD.alignMaxYMinXOffset(PAreaBD<S> outer,
PAreaBD<S> inner,
java.math.BigDecimal offset_x,
java.math.BigDecimal 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> PAreaBD<S> |
PAreasBD.alignMinYMaxX(PAreaBD<S> outer,
PAreaBD<S> inner) |
Equivalent to calling
PAreasBD.alignMinYMaxXOffset(PAreaBD, PAreaBD,
java.math.BigDecimal, java.math.BigDecimal) with zero offsets. |
static <S> PAreaBD<S> |
PAreasBD.alignMinYMaxXOffset(PAreaBD<S> outer,
PAreaBD<S> inner,
java.math.BigDecimal offset_x,
java.math.BigDecimal 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> PAreaBD<S> |
PAreasBD.alignMinYMinX(PAreaBD<S> outer,
PAreaBD<S> inner) |
Equivalent to calling
PAreasBD.alignMinYMinXOffset(PAreaBD, PAreaBD,
java.math.BigDecimal, java.math.BigDecimal) with zero offsets. |
static <S> PAreaBD<S> |
PAreasBD.alignMinYMinXOffset(PAreaBD<S> outer,
PAreaBD<S> inner,
java.math.BigDecimal offset_x,
java.math.BigDecimal 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> PAreaBD<S> |
PAreasBD.alignOnXCenter(PAreaBD<S> outer,
PAreaBD<S> inner) |
Align the area
inner along the X axis in the center of outer. |
static <S> PAreaBD<S> |
PAreasBD.alignOnXMaxX(PAreaBD<S> outer,
PAreaBD<S> inner) |
Equivalent to calling
PAreasBD.alignOnXMaxXOffset(PAreaBD,
PAreaBD, java.math.BigDecimal) with a zero offset. |
static <S> PAreaBD<S> |
PAreasBD.alignOnXMaxXOffset(PAreaBD<S> outer,
PAreaBD<S> inner,
java.math.BigDecimal offset) |
Align the area
inner along the X axis against the inside maximum-x edge
of outer. |
static <S> PAreaBD<S> |
PAreasBD.alignOnXMinX(PAreaBD<S> outer,
PAreaBD<S> inner) |
Equivalent to calling
PAreasBD.alignOnXMinXOffset(PAreaBD, PAreaBD,
java.math.BigDecimal) with a zero offset. |
static <S> PAreaBD<S> |
PAreasBD.alignOnXMinXOffset(PAreaBD<S> outer,
PAreaBD<S> inner,
java.math.BigDecimal offset) |
Align the area
inner along the X axis against the inside minimum-x edge
of outer. |
static <S> PAreaBD<S> |
PAreasBD.alignOnYCenter(PAreaBD<S> outer,
PAreaBD<S> inner) |
Align the area
inner along the Y axis in the center of outer. |
static <S> PAreaBD<S> |
PAreasBD.alignOnYMaxY(PAreaBD<S> outer,
PAreaBD<S> inner) |
Equivalent to calling
PAreasBD.alignOnYMaxYOffset(PAreaBD, PAreaBD,
java.math.BigDecimal) with a zero offset. |
static <S> PAreaBD<S> |
PAreasBD.alignOnYMaxYOffset(PAreaBD<S> outer,
PAreaBD<S> inner,
java.math.BigDecimal offset) |
Align the area
inner along the Y axis against the inside maximum-y edge
of outer. |
static <S> PAreaBD<S> |
PAreasBD.alignOnYMinY(PAreaBD<S> outer,
PAreaBD<S> inner) |
Equivalent to calling
PAreasBD.alignOnYMinYOffset(PAreaBD, PAreaBD,
java.math.BigDecimal) with a zero offset. |
static <S> PAreaBD<S> |
PAreasBD.alignOnYMinYOffset(PAreaBD<S> outer,
PAreaBD<S> inner,
java.math.BigDecimal offset) |
Align the area
inner along the Y axis against the inside minimum-y edge
of outer. |
static <S> PAreaBD<S> |
PAreasBD.alignVerticallyCenter(PAreaBD<S> outer,
PAreaBD<S> inner) |
Deprecated.
|
static <S> PAreaBD<S> |
PAreasBD.alignVerticallyMaxY(PAreaBD<S> outer,
PAreaBD<S> inner) |
Deprecated.
|
static <S> PAreaBD<S> |
PAreasBD.alignVerticallyMaxYOffset(PAreaBD<S> outer,
PAreaBD<S> inner,
java.math.BigDecimal offset) |
|
static <S> PAreaBD<S> |
PAreasBD.alignVerticallyMinY(PAreaBD<S> outer,
PAreaBD<S> inner) |
Deprecated.
|
static <S> PAreaBD<S> |
PAreasBD.alignVerticallyMinYOffset(PAreaBD<S> outer,
PAreaBD<S> inner,
java.math.BigDecimal offset) |
|
static <S,T> PAreaBD<T> |
PAreasBD.cast(PAreaBD<S> area) |
Brand a given area as belonging to a different coordinate space.
|
static <S> PAreaBD<S> |
PAreasBD.containing(PAreaBD<S> a,
PAreaBD<S> b) |
Construct a area that will contain both
a and b. |
static <S> boolean |
PAreasBD.contains(PAreaBD<S> a,
PAreaBD<S> b) |
Determine whether or not one area contains another.
|
static <S> boolean |
PAreasBD.containsPoint(PAreaBD<S> a,
java.math.BigDecimal x,
java.math.BigDecimal y) |
Determine whether or not a area contains a given point.
|
static <S> boolean |
PAreasBD.couldFitInside(PAreaBD<S> a,
PAreaBD<S> b) |
Determine whether or not one area could fit inside another.
|
static <S> PAreaBD<S> |
PAreasBD.fitBetweenHorizontal(PAreaBD<S> fit,
PAreaBD<S> a,
PAreaBD<S> b) |
Deprecated.
|
static <S> PAreaBD<S> |
PAreasBD.fitBetweenOnX(PAreaBD<S> fit,
PAreaBD<S> a,
PAreaBD<S> b) |
Attempt to fit
fit between a and b, horizontally. |
static <S> PAreaBD<S> |
PAreasBD.fitBetweenOnY(PAreaBD<S> fit,
PAreaBD<S> a,
PAreaBD<S> b) |
Attempt to fit
fit between a and b, vertically. |
static <S> PAreaBD<S> |
PAreasBD.fitBetweenVertical(PAreaBD<S> fit,
PAreaBD<S> a,
PAreaBD<S> b) |
Deprecated.
|
static <S> PAreaBD<S> |
PAreasBD.hollowOut(PAreaBD<S> outer,
java.math.BigDecimal min_x_offset,
java.math.BigDecimal max_x_offset,
java.math.BigDecimal min_y_offset,
java.math.BigDecimal max_y_offset) |
Construct a new area that fits inside
outer based on the given
offsets from each edge. |
static <S> PAreaBD<S> |
PAreasBD.hollowOutEvenly(PAreaBD<S> outer,
java.math.BigDecimal offset) |
Equivalent to calling
PAreasBD.hollowOut(PAreaBD, java.math.BigDecimal, java.math.BigDecimal,
java.math.BigDecimal, java.math.BigDecimal) with offset for all offset parameters. |
static <S> PAreaBD<S> |
PAreasBD.moveAbsolute(PAreaBD<S> area,
java.math.BigDecimal x,
java.math.BigDecimal y) |
Move the given area to
(x, y). |
static <S> PAreaBD<S> |
PAreasBD.moveRelative(PAreaBD<S> area,
java.math.BigDecimal x,
java.math.BigDecimal y) |
Move the given area by
(x, y). |
static <S> PAreaBD<S> |
PAreasBD.moveToOrigin(PAreaBD<S> area) |
Move the given area to
(0, 0). |
static <S> boolean |
PAreasBD.overlaps(PAreaBD<S> a,
PAreaBD<S> b) |
Determine whether or not two areas overlap.
|
static <S> PAreaBD<S> |
PAreasBD.scaleFromCenter(PAreaBD<S> area,
java.math.BigDecimal x_diff,
java.math.BigDecimal y_diff) |
Scale
area by adding x_diff to the sizeX, and
y_diff to the sizeY. |
static <S> PAreaBD<S> |
PAreasBD.scaleFromMaxYMaxX(PAreaBD<S> area,
java.math.BigDecimal x_diff,
java.math.BigDecimal y_diff) |
Scale
area by adding x_diff to the sizeX, and
y_diff to the sizeY. |
static <S> PAreaBD<S> |
PAreasBD.scaleFromMaxYMinX(PAreaBD<S> area,
java.math.BigDecimal x_diff,
java.math.BigDecimal y_diff) |
Scale
area by adding x_diff to the sizeX, and
y_diff to the sizeY. |
static <S> PAreaBD<S> |
PAreasBD.scaleFromMinYMaxX(PAreaBD<S> area,
java.math.BigDecimal x_diff,
java.math.BigDecimal y_diff) |
Scale
area by adding x_diff to the sizeX, and
y_diff to the sizeY. |
static <S> PAreaBD<S> |
PAreasBD.scaleFromMinYMinX(PAreaBD<S> area,
java.math.BigDecimal x_diff,
java.math.BigDecimal y_diff) |
Scale
area by adding x_diff to the sizeX, and
y_diff to the sizeY. |
static <S> PAreaBD<S> |
PAreasBD.setSizeFromCenter(PAreaBD<S> area,
java.math.BigDecimal sizeX,
java.math.BigDecimal sizeY) |
Set the sizeX and sizeY of
area to sizeX and
sizeY, respectively. |
static <S> PAreaBD<S> |
PAreasBD.setSizeFromMaxYMaxX(PAreaBD<S> area,
java.math.BigDecimal sizeX,
java.math.BigDecimal sizeY) |
Set the sizeX and sizeY of
area to sizeX and
sizeY, respectively. |
static <S> PAreaBD<S> |
PAreasBD.setSizeFromMaxYMinX(PAreaBD<S> area,
java.math.BigDecimal sizeX,
java.math.BigDecimal sizeY) |
Set the sizeX and sizeY of
area to sizeX and
sizeY, respectively. |
static <S> PAreaBD<S> |
PAreasBD.setSizeFromMinYMaxX(PAreaBD<S> area,
java.math.BigDecimal sizeX,
java.math.BigDecimal sizeY) |
Set the sizeX and sizeY of
area to sizeX and
sizeY, respectively. |
static <S> PAreaBD<S> |
PAreasBD.setSizeFromMinYMinX(PAreaBD<S> area,
java.math.BigDecimal sizeX,
java.math.BigDecimal sizeY) |
Set the sizeX and sizeY of
area to sizeX and
sizeY, respectively. |
static <S> java.lang.String |
PAreasBD.show(PAreaBD<S> area) |
|
static <S> java.lang.String |
PAreasBD.showToBuilder(PAreaBD<S> area,
java.lang.StringBuilder sb) |
|
static <S> PAreaSizeBD<S> |
PAreasBD.size(PAreaBD<S> area) |
|
static <S> PAreaXSplitBD<S,PAreaBD<S>> |
PAreasBD.splitAlongParallelToX(PAreaBD<S> area,
java.math.BigDecimal y) |
Split
area along a line parallel to the X axis placed at
y units from its own minimum-y edge. |
static <S> PAreaYSplitBD<S,PAreaBD<S>> |
PAreasBD.splitAlongParallelToY(PAreaBD<S> area,
java.math.BigDecimal x) |
Split
area along a line parallel to the Y axis placed at
x units from its own minimum-x edge. |
static <S> PAreaXYSplitBD<S,PAreaBD<S>> |
PAreasBD.splitAlongXY(PAreaBD<S> area,
java.math.BigDecimal x,
java.math.BigDecimal y) |
Split
area along a two axis-aligned perpendicular lines that intercept at (x, y). |
| Modifier and Type | Method | Description |
|---|---|---|
PAreaBD<S> |
PAreaBDGenerator.next() |
Copyright © 2017 <code@io7m.com> http://io7m.com