Annotations for exports

This commit is contained in:
Tim Schaub
2014-04-08 13:40:35 -06:00
parent 457cfe851a
commit fb497f5288
243 changed files with 456 additions and 451 deletions

View File

@@ -13,6 +13,7 @@ goog.require('ol.geom.flat.transform');
* @constructor
* @extends {ol.geom.Geometry}
* @todo stability experimental
* @todo api
*/
ol.geom.SimpleGeometry = function() {
@@ -86,6 +87,7 @@ ol.geom.SimpleGeometry.prototype.containsXY = goog.functions.FALSE;
/**
* @inheritDoc
* @todo api
*/
ol.geom.SimpleGeometry.prototype.getExtent = function(opt_extent) {
if (this.extentRevision != this.getRevision()) {
@@ -101,6 +103,7 @@ ol.geom.SimpleGeometry.prototype.getExtent = function(opt_extent) {
/**
* @return {ol.Coordinate} First coordinate.
* @todo api
*/
ol.geom.SimpleGeometry.prototype.getFirstCoordinate = function() {
return this.flatCoordinates.slice(0, this.stride);
@@ -117,6 +120,7 @@ ol.geom.SimpleGeometry.prototype.getFlatCoordinates = function() {
/**
* @return {ol.Coordinate} Last point.
* @todo api
*/
ol.geom.SimpleGeometry.prototype.getLastCoordinate = function() {
return this.flatCoordinates.slice(this.flatCoordinates.length - this.stride);
@@ -126,6 +130,7 @@ ol.geom.SimpleGeometry.prototype.getLastCoordinate = function() {
/**
* @return {ol.geom.GeometryLayout} Layout.
* @todo stability experimental
* @todo api
*/
ol.geom.SimpleGeometry.prototype.getLayout = function() {
return this.layout;
@@ -134,6 +139,7 @@ ol.geom.SimpleGeometry.prototype.getLayout = function() {
/**
* @inheritDoc
* @todo api
*/
ol.geom.SimpleGeometry.prototype.getSimplifiedGeometry =
function(squaredTolerance) {
@@ -238,6 +244,7 @@ ol.geom.SimpleGeometry.prototype.setLayout =
/**
* @inheritDoc
* @todo api
*/
ol.geom.SimpleGeometry.prototype.transform = function(transformFn) {
if (!goog.isNull(this.flatCoordinates)) {