<< Click to Display Table of Contents >>
new sg.geometry.MultiPart()
Description
create a multi-part object.
Position
Geometry.js
Properties
Properties |
Type |
Description |
extent |
sg.geometry.Extent |
Geometry extent |
type |
String |
Geometry type |
parts |
Array.<sg.geometry.Geometry> |
Array of geometries |
Methods
Methods |
Type |
Description |
||||||
addPart(part) |
sg.geometry.Geometry |
add geometries to the collection
|
||||||
getExtent() |
Returns: sg.geometry.Extent |
return geometry extent object. Returns:
|
||||||
update(updatePart) |
None |
Whether to update other geometry parts
|
||||||
Clone() |
Returns: sg.geometry.MultiPart |
Copy the multi-part geomtery object Returns:
|
||||||
forEachVertex(callback) |
function |
Get each verttex of a multi-part geomtery object
callback(context) { //Vertex Context.point; //Vertex index Context.pointIndex; } |
©2015 Supergeo Technologies Inc.