Remove all inheritDoc tags from src/ol/geom
This commit is contained in:
@@ -138,7 +138,6 @@ class MultiPolygon extends SimpleGeometry {
|
||||
/**
|
||||
* Make a complete copy of the geometry.
|
||||
* @return {!MultiPolygon} Clone.
|
||||
* @override
|
||||
* @api
|
||||
*/
|
||||
clone() {
|
||||
@@ -153,7 +152,11 @@ class MultiPolygon extends SimpleGeometry {
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
* @param {number} x X.
|
||||
* @param {number} y Y.
|
||||
* @param {import("../coordinate.js").Coordinate} closestPoint Closest point.
|
||||
* @param {number} minSquaredDistance Minimum squared distance.
|
||||
* @return {number} Minimum squared distance.
|
||||
*/
|
||||
closestPointXY(x, y, closestPoint, minSquaredDistance) {
|
||||
if (minSquaredDistance < closestSquaredDistanceXY(this.getExtent(), x, y)) {
|
||||
@@ -170,7 +173,9 @@ class MultiPolygon extends SimpleGeometry {
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
* @param {number} x X.
|
||||
* @param {number} y Y.
|
||||
* @return {boolean} Contains (x, y).
|
||||
*/
|
||||
containsXY(x, y) {
|
||||
return linearRingssContainsXY(this.getOrientedFlatCoordinates(), 0, this.endss_, this.stride, x, y);
|
||||
@@ -196,7 +201,6 @@ class MultiPolygon extends SimpleGeometry {
|
||||
* By default, coordinate orientation will depend on how the geometry was
|
||||
* constructed.
|
||||
* @return {Array<Array<Array<import("../coordinate.js").Coordinate>>>} Coordinates.
|
||||
* @override
|
||||
* @api
|
||||
*/
|
||||
getCoordinates(opt_right) {
|
||||
@@ -266,7 +270,9 @@ class MultiPolygon extends SimpleGeometry {
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
* @param {number} squaredTolerance Squared tolerance.
|
||||
* @return {MultiPolygon} Simplified MultiPolygon.
|
||||
* @protected
|
||||
*/
|
||||
getSimplifiedGeometryInternal(squaredTolerance) {
|
||||
const simplifiedFlatCoordinates = [];
|
||||
@@ -332,7 +338,8 @@ class MultiPolygon extends SimpleGeometry {
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
* Get the type of this geometry.
|
||||
* @return {import("./GeometryType.js").default} Geometry type.
|
||||
* @api
|
||||
*/
|
||||
getType() {
|
||||
@@ -340,7 +347,9 @@ class MultiPolygon extends SimpleGeometry {
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
* Test if the geometry and the passed extent intersect.
|
||||
* @param {import("../extent.js").Extent} extent Extent.
|
||||
* @return {boolean} `true` if the geometry and the extent intersect.
|
||||
* @api
|
||||
*/
|
||||
intersectsExtent(extent) {
|
||||
@@ -352,7 +361,6 @@ class MultiPolygon extends SimpleGeometry {
|
||||
* Set the coordinates of the multipolygon.
|
||||
* @param {!Array<Array<Array<import("../coordinate.js").Coordinate>>>} coordinates Coordinates.
|
||||
* @param {GeometryLayout=} opt_layout Layout.
|
||||
* @override
|
||||
* @api
|
||||
*/
|
||||
setCoordinates(coordinates, opt_layout) {
|
||||
|
||||
Reference in New Issue
Block a user