パッケージ org.piax.common.subspace
クラス GeoEllipse
java.lang.Object
java.awt.geom.RectangularShape
java.awt.geom.Ellipse2D
org.piax.common.subspace.GeoEllipse
- すべての実装されたインタフェース:
Shape,Serializable,Cloneable,Destination,GeoRegion,KeyContainable<Location>,Region<Location>
- 直系の既知のサブクラス:
GeoCircle
public class GeoEllipse extends Ellipse2D implements GeoRegion
- 関連項目:
- 直列化された形式
-
ネストされたクラスの概要
-
コンストラクタの概要
コンストラクタ コンストラクタ 説明 GeoEllipse(double x, double y, double w, double h)Constructs and initializes anGeoEllipsefrom the specified coordinates.GeoEllipse(Point2D p, double w, double h) -
メソッドの概要
修飾子とタイプ メソッド 説明 booleancontains(double x, double y)booleancontains(Location loc)Rectangle2DgetBounds2D()doublegetHeight()doublegetWidth()doublegetX()Returns the X coordinate of the lower-left corner of the framing rectangle.doublegetY()Returns the Y coordinate of the lower-left corner of the framing rectangle.booleanisEmpty()voidsetFrame(double x, double y, double w, double h)Sets the location and size of the framing rectangle of thisGeoEllipseto the specified rectangular values.StringtoString()Returns theStringrepresentation of thisGeoEllipse.クラスから継承されたメソッド java.awt.geom.RectangularShape
clone, contains, contains, getBounds, getCenterX, getCenterY, getFrame, getMaxX, getMaxY, getMinX, getMinY, getPathIterator, intersects, setFrame, setFrame, setFrameFromCenter, setFrameFromCenter, setFrameFromDiagonal, setFrameFromDiagonal
-
コンストラクタの詳細
-
GeoEllipse
Constructs and initializes anGeoEllipsefrom the specified coordinates.- パラメータ:
x- the X coordinate of the lower-left corner of the framing rectangley- the Y coordinate of the lower-left corner of the framing rectanglew- the width of the framing rectangleh- the height of the framing rectangle- 例外:
IllegalArgumentException- if the specified arguments are geographically illegal.
-
GeoEllipse
-
-
メソッドの詳細
-
getX
public double getX()Returns the X coordinate of the lower-left corner of the framing rectangle.- 定義:
getXクラス内RectangularShape- 戻り値:
- the X coordinate of the lower-left corner of the framing rectangle.
-
getY
public double getY()Returns the Y coordinate of the lower-left corner of the framing rectangle.- 定義:
getYクラス内RectangularShape- 戻り値:
- the Y coordinate of the lower-left corner of the framing rectangle.
-
getWidth
public double getWidth()- 定義:
getWidthクラス内RectangularShape
-
getHeight
public double getHeight()- 定義:
getHeightクラス内RectangularShape
-
isEmpty
public boolean isEmpty()- 定義:
isEmptyクラス内RectangularShape
-
setFrame
Sets the location and size of the framing rectangle of thisGeoEllipseto the specified rectangular values.- 定義:
setFrameクラス内RectangularShape- パラメータ:
x- the X coordinate of the lower-left corner of the specified rectangular shapey- the Y coordinate of the lower-left corner of the specified rectangular shapew- the width of the specified rectangular shapeh- the height of the specified rectangular shape- 例外:
IllegalArgumentException- if the specified arguments are geographically illegal.
-
getBounds2D
- 定義:
getBounds2Dインタフェース内Shape
-
contains
public boolean contains(double x, double y) -
contains
- 定義:
containsインタフェース内KeyContainable<Location>
-
toString
Returns theStringrepresentation of thisGeoEllipse.
-