newPolyline

fun newPolyline(classID: Long, pts: Array<GeoPoint>, atts: Array<Attribute>?): Polyline2D?

Adds a simple polyline into the specified class and returns the corresponding Polyline2D form.

Return

A valid Polyline2D form or null if an error occurs.

Parameters

classID
        The class identifier.
pts
        Coordinates of the 2D polyline.
atts
        An optional array of SVS attributes.

Throws