A circle is a circle. Circles are pseudo-spatial, in that they are spatially defined, but their arcs are not projected.
| EMS. | A circle is a circle. |
| Properties | |
| center | {OpenLayers.Geometry.Point} |
| radius | {float} |
| pixelRadius | {boolean} |
| 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 )