Yahoo! UI Library

CHZERO  1.0.0

Yahoo! UI Library > CHZERO > OpenLayers.Geometry
Search:
 
Filters

Class OpenLayers.Geometry

Known Subclasses:
OpenLayers.Geometry.Rectangle OpenLayers.Geometry.Collection OpenLayers.Geometry.Point
OpenLayers.Geometry
A Geometry is a description of a geographic object. Create an instance of this class with the OpenLayers.Geometry constructor. This is a base class, typical geometry types are described by subclasses of this class.

Constructor

OpenLayers.Geometry ( )

Methods

calculateBounds

void calculateBounds ( )

clone

void clone ( )

distanceTo

Number | Object distanceTo ( geometry , options )
Parameters:
geometry <OpenLayers.Geometry>
options <Object>
Returns: Number | Object
distance

getBounds

OpenLayers.Bounds getBounds ( )

getCentroid

OpenLayers.Geometry.Point getCentroid ( )

getVertices

Array getVertices ( nodes )
Parameters:
nodes <Boolean>
Returns: Array
vertices


Copyright © 2012 Yahoo! Inc. All rights reserved.