public class ImmutableBBox2D extends Object implements BBox2D, Serializable
| Constructor and Description |
|---|
ImmutableBBox2D(BBox2D bBox2D) |
ImmutableBBox2D(double x0,
double y0,
double x1,
double y1) |
ImmutableBBox2D(Point2D _southWest,
Point2D _northEast) |
| Modifier and Type | Method and Description |
|---|---|
protected Point2D[] |
_fixBoundings(Point2D p0,
Point2D p1) |
ImmutableBBox2D |
copy() |
double |
getArea() |
List<Point2D> |
getBounds() |
Point2D |
getCentroid() |
tr.com.terrayazilim.core.unit.DimensionUnit |
getDimensionUnit() |
double |
getHeight() |
Point2D |
getNorthEast() |
Point2D |
getNorthWest() |
ShapeUnit |
getShapeUnit() |
Point2D |
getSouthEast() |
Point2D |
getSouthWest() |
double |
getWidth() |
boolean |
isBounded() |
ImmutableBBox2D |
scale(double scaleFactor) |
BBox2D |
setNorthEast(Point2D point2D) |
BBox2D |
setSouthWest(Point2D point2D) |
ImmutableBBox2D |
translate(double... args) |
public ImmutableBBox2D(double x0,
double y0,
double x1,
double y1)
x0 - y0 - x1 - y1 - public ImmutableBBox2D(Point2D _southWest, Point2D _northEast)
_southWest - _northEast - public ImmutableBBox2D(BBox2D bBox2D)
bBox2D - protected final Point2D[] _fixBoundings(Point2D p0, Point2D p1)
p0 - p1 - public ImmutableBBox2D scale(double scaleFactor)
public ImmutableBBox2D translate(double... args)
public ImmutableBBox2D copy()
public BBox2D setSouthWest(Point2D point2D)
setSouthWest in interface BBox2Dpublic BBox2D setNorthEast(Point2D point2D)
setNorthEast in interface BBox2Dpublic Point2D getNorthWest()
getNorthWest in interface BBox2DgetNorthWest in interface Envelope2Dpublic Point2D getSouthEast()
getSouthEast in interface BBox2DgetSouthEast in interface Envelope2Dpublic Point2D getNorthEast()
getNorthEast in interface BBox2DgetNorthEast in interface Envelope2Dpublic Point2D getSouthWest()
getSouthWest in interface BBox2DgetSouthWest in interface Envelope2Dpublic Point2D getCentroid()
getCentroid in interface BBox2DgetCentroid in interface Envelope2Dpublic ShapeUnit getShapeUnit()
getShapeUnit in interface BBox2DgetShapeUnit in interface Envelope2DgetShapeUnit in interface Shapepublic tr.com.terrayazilim.core.unit.DimensionUnit getDimensionUnit()
getDimensionUnit in interface BBox2DgetDimensionUnit in interface Envelope2DgetDimensionUnit in interface Shapepublic boolean isBounded()
public double getArea()
getArea in interface BBox2DgetArea in interface Envelope2Dpublic double getHeight()
getHeight in interface BBox2DgetHeight in interface Envelope2Dpublic double getWidth()
getWidth in interface BBox2DgetWidth in interface Envelope2DCopyright © 2018 Terra Software Informatics LLC.. All rights reserved.