public class GeoCircle extends Geometry
The GeoCircle class.
| Modifier and Type | Field and Description |
|---|---|
Point2D |
center
The specified center of the circle.
|
double |
radius
The specified radius of the circle.
|
| Constructor and Description |
|---|
GeoCircle()
The Constructor.
|
GeoCircle(GeoCircle geoCircle)
Constructs a new object identical to the given GeoCircle object.
|
GeoCircle(int id, Point2D center, double radius)
Creates a new GeoCircle object according to the specified arguments.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
${services_components_commontypes_Geometry_method_equals_Title}
|
Point2D |
getCenter()
${services_components_commontypes_Geometry_method_getCenter_Title}
|
int |
hashCode()
${services_components_commontypes_Geometry_method_hashCode_Title}
|
equals, fromPoint2D, fromPoint2Ds, fromPoint2Ds, fromRect2D, getBounds, isGeometryCAD, isPointInPolygon, setCenterpublic Point2D center
The specified center of the circle.
public double radius
The specified radius of the circle.
public GeoCircle()
The Constructor.
public GeoCircle(int id,
Point2D center,
double radius)
Creates a new GeoCircle object according to the specified arguments.
id - The ID of the circle.center - The center point.radius - the radius.public GeoCircle(GeoCircle geoCircle)
Constructs a new object identical to the given GeoCircle object.
geoCircle - The given GeoCircle object.public Point2D getCenter()
Geometry${services_components_commontypes_Geometry_method_getCenter_Title}
${services_components_commontypes_Geometry_method_getCenter_Description}
public boolean equals(java.lang.Object obj)
Geometry${services_components_commontypes_Geometry_method_equals_Title}
${services_components_commontypes_Geometry_method_equals_Description}
public int hashCode()
Geometry${services_components_commontypes_Geometry_method_hashCode_Title}
${services_components_commontypes_Geometry_method_hashCode_Description}