Yahoo! UI Library

CHZERO  1.0.0

Yahoo! UI Library > CHZERO > Geometry.js (source view)
Search:
 
Filters
/**
 * OpenLayers.Geometry<br/>
 * 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.
 * @class Geometry
 * @constructor
 * @namespace OpenLayers
 */
OpenLayers.Geometry = OpenLayers.Class({
	/**
	* @method clone
	**/
	clone: function(){},
	/**
	* @method getBounds
	* @return {OpenLayers.Bounds}
	**/
	getBounds: function(){},
	/**
	* @method calculateBounds
	**/
	calculateBounds: function(){},
	/**
	*
	* @method distanceTo
	* @param {OpenLayers.Geometry} geometry
	* @param {Object} options
	* @return {Number | Object} distance
	**/
	distanceTo: function(geometry,options){},
	/**
	*
	* @method getVertices
	* @param {Boolean} nodes
	* @return {Array} vertices
	*/
	getVertices: function(nodes){},
	/**
	*
	* @method getCentroid
	* @return {OpenLayers.Geometry.Point}
	*/
	getCentroid: function(){}
});

Copyright © 2012 Yahoo! Inc. All rights reserved.