Yahoo! UI Library

CHZERO  1.0.0

Yahoo! UI Library > CHZERO > LineString.js (source view)
Search:
 
Filters
/**
 * OpenLayers.Geometry.LineString<br/>
 * A LineString is a Curve which, once two points have been added to it, can never be less than two points long.<BR/>
 * @class LineString
 * @extends OpenLayers.Geometry.Curve
 * @constructor
 * @namespace OpenLayers.Geometry
 * @param {Array(OpenLayers.Geometry.Point)} points
 */
OpenLayers.Geometry.LineString = OpenLayers.Class(OpenLayers.Geometry.Curve,{
	/**
	* @method removeComponents
	* @param {Array(OpenLayers.Geometry)} components
	* @return {Boolean} was removed
	**/
	removeComponents: function(components){},
	/**
	* @method intersects
	* @param {OpenLayers.Geometry} geometry
	* @return {Boolean} intersects
	*/	
	intersects: function(geometry){},
	/**
	*
	* @method getVertices
	* @param {Boolean} nodes
	* @return {Array} vertices
	*/
	getVertices: function(nodes){},
	/**
	*
	* @method distanceTo
	* @param {OpenLayers.Geometry} geometry
	* @param {Object} options
	* @return {Number | Object} distance
	**/
	distanceTo: function(geometry,options){},
	/**
	* @method simplify
	* @param {number} tolerance
	* @return {OpenLayers.Geometry.LineString} LineString
	*/
	simplify: function(tolerance){}
});

Copyright © 2012 Yahoo! Inc. All rights reserved.