newCorridor
fun newCorridor(classID: Long, pts: Array<GeoPoint>, radius: Int, atts: Array<Attribute>?): Polygon2D?
Adds a corridor (polygon) defined by a polyline and a radius into the specified class.
Return
A valid Polygon2D form or null if an error occurs.
Parameters
classID
The class identifier.Content copied to clipboard
pts
Coordinates of the 2D polyline (or point for a circular zone).Content copied to clipboard
radius
The radius of the corridor.Content copied to clipboard
atts
An optional array of SVS attributes.Content copied to clipboard