<< Click to Display Table of Contents >>
new sg.geometry.Geometry()
Description
建立一個Geometry 物件
Position
Geometry.js
Properties
Properties |
Type |
Description |
extent |
sg.geometry.Extent |
幾何資料範圍 |
type |
String |
幾何資料的類型 |
Methods
Methods |
Type |
Description |
|||||||||||||||||||
fromWKT(wkt) |
wkt:String Returns:Object |
將Well Know Text字串轉成Geometry
Return :
|
|||||||||||||||||||
toWkt(geom) |
geom:sg.geometry.Geomtry Returns:String |
將Geometry字串轉成Well Know Text 將Well Know Text字串轉成Geometry
Returns:
|
|||||||||||||||||||
getExtent() |
Returns: sg.geometry.Extent |
取得幾何資料範圍 Returns:
|
Example
|
©2015 Supergeo Technologies Inc.