MCPcopy Create free account
hub / github.com/SuperMap/iClient-JavaScript / getVertices

Method getVertices

src/common/commontypes/Geometry.js:142–143  ·  view source on GitHub ↗

* @function Geometry.prototype.getVertices * @description 返回几何图形的所有顶点的列表(需要在子类中实现此方法)。 * @param {boolean} [nodes] - 如果是 true,线则只返回线的末端点,如果 false,仅仅返回顶点,如果没有设置,则返回顶点。 * @returns {Array} 几何图形的顶点列表。

(nodes)

Source from the content-addressed store, hash-verified

140 * @returns {Array} 几何图形的顶点列表。
141 */
142 getVertices(nodes) { // eslint-disable-line no-unused-vars
143 }
144
145 /**
146 * @function Geometry.prototype.getArea

Callers 5

LineStringSpec.jsFile · 0.45
CollectionSpec.jsFile · 0.45
LinearRingSpec.jsFile · 0.45
WebMap.jsFile · 0.45
fromGeometryMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected