<< Click to Display Table of Contents >>
Geometry.js
Namespace |
SuperGIS.Geometry |
||
Class |
ImportFromWKT(string WKT, object SRef) |
||
Class |
ExportToWKT(object Geom) |
||
Class |
Geometry() |
||
Method |
MinX |
getMinX() |
get the minimum X coordinate of the geometry. |
Method |
MaxX |
getMaxX() |
get the maximum X coordinate of the geometry. |
Method |
MinY |
getMinY() |
get the minimum Y coordinate of the geometry. |
Method |
MaxY |
getMaxY() |
get the maximum Y coordinate of the geometry. |
Method |
MinZ |
getMinZ() |
get the minimum Z coordinate of the geometry. |
Method |
MaxZ |
getMaxZ() |
get the maximum Z coordinate of the geometry. |
Method |
MinM |
getMinM() |
get the minimum M value of the geometry. |
Method |
MaxM |
getMaxM() |
get the maximum M vaule of the geometry. |
Class |
Envelope(number Left, number Top, number Right, number Bottom, object SR) |
||
Property |
number |
Left |
define the left boundary of the envelope. |
Property |
number |
top |
define the top boundary of the envelope. |
Property |
number |
Right |
define the right boundary of the envelope. |
Property |
number |
Bottom |
define the bottom boundary of the envelope. |
Method |
SR |
getSpatialReference() |
return the spatial reference of the envelope. |
Method |
void |
setSpatialReference(object v) |
set the spatial reference of the envelope. |
Class |
Point() |
||
Method |
MinX |
getMinX() |
get the minimum X coordinate of the point. |
Method |
MaxX |
getMaxX() |
get the maximum X coordinate of the point. |
Method |
MinY |
getMinY() |
get the minimum Y coordinate of the point. |
Method |
MaxY |
getMaxY() |
get the maximum Y coordinate of the point. |
Method |
MinZ |
getMinZ() |
get the minimum Z coordinate of the point. |
Method |
MaxZ |
getMaxZ() |
get the maximum Z coordinate of the point. |
Method |
MinM |
getMinM() |
get the minimum M value of the point. |
Method |
MaxM |
getMaxM() |
get the maximum M vaule of the point. |
Method |
X |
getX() |
return the X coordinate of a point. |
Method |
void |
setX(v) |
set the X coordinate of a point. |
Method |
Y |
getY() |
return the Y coordinate of a point. |
Method |
void |
setY(v) |
set the Y coordinate of a point. |
Method |
Z |
getZ() |
return the Z coordinate of a point. |
Method |
void |
setZ(v) |
set the Z coordinate of a point. |
Method |
M |
getM() |
return the M value of a point. |
Method |
void |
setM(v) |
set the M value of a point. |
Method |
pos |
getPoint() |
return the point object. |
Method |
void |
setPoint(v) |
set the point object. |
Class |
LineString(object SR) |
||
Method |
array |
getPoint() |
return an array of points in a line. |
Method |
void |
setPoint(array v) |
set an array of points in a line. |
Method |
getPoint(nIndex) |
return a specific point. |
|
Method |
void |
setPoint(nIndex, v) |
set a specific point. |
Method |
AddPoint(Point) |
add a point to the line. |
|
Method |
void |
ClearAllPoint() |
clear all points in the line. |
Method |
Len |
Length() |
return the line length. |
Class |
LinearRing() |
||
Method |
a |
Area() |
return the area. |
Class |
Polygon(object SR) |
||
Method |
void |
setSpatialReference(v) |
set the spatial reference. |
Method |
ExteriorRing |
getExteriorRing() |
return the exterior ring. |
Method |
void |
setExteriorRing(v) |
set the exterior ring. |
Method |
InteriorRings |
getInteriorRings() |
return the interior rings. |
Method |
void |
setInteriorRings(v) |
set the interior rings. |
Method |
LinearRing |
getInteriorRing(nIndex) |
return the interior ring. |
Method |
void |
setInteriorRing(nIndex) |
set the interior ring. |
Method |
number |
AddInteriorRing(ring) |
add interior ring(s). |
Method |
void |
ClearAllInteriorRing() |
clear all interior rings. |
Method |
a |
Area() |
return the area of the polygon. |
Class |
GeometryCollection(object SR) |
||
Method |
void |
setSpatialReference(v) |
set the spatial reference. |
Method |
Geometrys |
getGeometrys() |
return geometrys. |
Method |
void |
setGeometrys(v) |
set geometrys. |
Method |
number |
AddGeometry(object Geom) |
add geometires. |
Method |
void |
ClearAllGeometry() |
clear all geometries. |
Class |
MultiLineString() |
||
Method |
l |
Length() |
return the length of the lines. |
Class |
MultiPolygon() |
||
Method |
a |
Area() |
return the area of the polygons. |
Namespace |
SuperGIS.GeometryXML |
||
Class |
coordinateType(string Text) |
control the coordinate type |
|
Method |
number |
getX() |
return X coordinate. |
Method |
number |
getY() |
return Y coordinate. |
Method |
number |
getZ() |
return Z coordinate. |
Method |
array |
GetPoint() |
return an array of point coordinates. |
Class |
coordinatesType(object Elem) |
||
Class |
GeometryType() |
||
Class |
PointType(object Elem) |
control the point type |
|
Method |
array |
GetPositions() |
return an array of point positions. |
Class |
LineStringType(object Elem) |
control the line string type. |
|
Method |
array |
GetPositions() |
return an array of line vertex positions. |
Class |
LinearRingType(object Elem) |
||
Class |
PolygonType(object Elem) |
control the polygon type. |
|
Method |
array |
GetPositions(object Earth) |
return an array of polygon vertex positions. |
Class |
BoundaryType(object Elem) |
control the boundary type. |
|
Method |
LinearRing |
getLinearRing() |
|
Class |
GeometryCollectionType(object Elem) |
||
Class |
MultiPointType(object Elem) |
||
Class |
MultiLineStringType(object Elem) |
||
Class |
MultiPolygonType(object Elem) |
© 2017 Supergeo Technologies Inc.