Class DMCLineString
Object
|
+--DMCPoly
|
+--DMCLineString
- class
DMCLineString
- extends DMCPoly
DMCLineString is a class that represents a line string
Defined in APIJS.js
|
Constructor Summary |
DMCLineString( pointArray )
Constructs a DMCLineString
|
|
Method Summary |
Object
|
base(pointArray, type)
|
DMCPoint
|
getCenter()
Returns the center of the line string (assuming the points are is geographics)
|
Object
|
getClone()
|
string
|
toString()
Returns the WKT representation
|
| Methods inherited from class DMCPoly |
getVertexCount, getVertex, getPoints, setPoints, getBounds, getArea, getLength, getHandles, modifyByHandle, insertVertex, projectToPixels
|
DMCLineString
DMCLineString( pointArray )
Constructs a DMCLineString
Parameters:
DMCPoint - [] } pointArray Array of DMCPoints
base
Object base(pointArray, type)
getCenter
DMCPoint getCenter()
Returns the center of the line string (assuming the points are is geographics)
Returns:
the center of the line string (assuming the points are is geographics)
getClone
Object getClone()
toString
string toString()
Returns the WKT representation
Documentation generated by
JSDoc on Mon Nov 24 17:54:35 2008