new SuperMap.Geometry()
            common/commontypes/Geometry.js, line 9
        
        
    Classes
- Collection
- Curve
- GeoText
- LinearRing
- LineString
- MultiLineString
- MultiPoint
- MultiPolygon
- Point
- Polygon
- Rectangle
Members
- 
    boundsSuperMap.Bounds
- 
    
    几何对象的范围。 
- 
    idstring
- 
    
    此几何对象的唯一标示符。 
- 
    parentSuperMap.Geometry
- 
    
    This is set when a Geometry is added as component of another geometry 
- 
    SRIDinterger
- 
    
    投影坐标参数。通过该参数,服务器判断 Geometry 对象的坐标参考系是否与数据集相同,如果不同,则在数据入库前进行投影变换。 Examplevar geometry= new SuperMap.Geometry(); geometry. SRID=4326;
Methods
- 
    calculateBounds()common/commontypes/Geometry.js, line 128
- 
    
    
    重新计算几何图形的边界(需要在子类中实现此方法)。 
- 
    clearBounds()common/commontypes/Geometry.js, line 85
- 
    
    
    清除几何对象的 bounds。 如果该对象有父类,也会清除父类几何对象的 bounds。 
- 
    clone(){SuperMap.Geometry}common/commontypes/Geometry.js, line 63
- 
    
    
    创建克隆的几何图形。克隆的几何图形不设置非标准的属性。 Returns:Type Description SuperMap.Geometry 克隆的几何图形。 
- 
    destroy()common/commontypes/Geometry.js, line 52
- 
    
    
    解构 Geometry 类,释放资源。 
- 
    extendBounds(newBounds)common/commontypes/Geometry.js, line 98
- 
    
    
    Extend the existing bounds to include the new bounds. If geometry's bounds is not yet set, then set a new Bounds. Name Type Description newBoundsSuperMap.Bounds 范围。 
- 
    getArea(){float}common/commontypes/Geometry.js, line 147
- 
    
    
    计算几何对象的面积 ,此方法需要在子类中定义。 Returns:Type Description float The area of the collection by summing its parts 
- 
    getBounds(){SuperMap.Bounds}common/commontypes/Geometry.js, line 115
- 
    
    
    获得几何图形的边界。如果没有设置边界,可通过计算获得。 Returns:Type Description SuperMap.Bounds 返回的几何对象的边界。 
- 
    getVertices(nodes){Array}common/commontypes/Geometry.js, line 138
- 
    
    
    返回几何图形的所有顶点的列表(需要在子类中实现此方法)。 Name Type Description nodesboolean 可选 如果是 true,线则只返回线的末端点,如果 false,仅仅返回顶点,如果没有设置,则返回顶点。 Returns:Type Description Array 几何图形的顶点列表。 
- 
    setBounds(bounds)common/commontypes/Geometry.js, line 73
- 
    
    
    设置此几何对象的 bounds。 Name Type Description boundsSuperMap.Bounds 范围。