An ellipse is a closed curve geometry defined by an origin (or center), a radius on the X axis (radiusX), a radius on the Y axis (radiusY), and an angle of rotation. Ellipses are pseudo-spatial, in that they are spatially defined, but their curves are not projected.
| EMS. | An ellipse is a closed curve geometry defined by an origin (or center), a radius on the X axis (radiusX), a radius on the Y axis (radiusY), and an angle of rotation. |
| Properties | |
| center | {OpenLayers.Geometry.Point} |
| radiusX | {float} |
| radiusX | {float} |
| pixelRadius | {boolean} NB:Not implemented |
| Functions | |
| clone | {EMS.Geometry.Circle} An exact clone of this EMS.Geometry.Circle |
| getCentroid | Calculate the centroid of this geometry. |
| move | Moves a geometry by the given displacement along positive x and y axes. |
getCentroid: function()
Calculate the centroid of this geometry. This method is defined in subclasses.
{OpenLayers.Geometry.Point} The centroid of the circle
{EMS.Geometry.Circle} An exact clone of this EMS.Geometry.Circle
clone: function( obj )
Calculate the centroid of this geometry.
getCentroid: function()
Moves a geometry by the given displacement along positive x and y axes.
move: function( x, y )