Functions
Link copied to clipboard
fun clone(collection: BufferPolygonCollection, result: BufferPolygonCollection, predicate: Function<*>? = definedExternally): BufferPolygonCollection
Duplicates the contents of this collection into the result collection. Result collection is not resized, and must contain enough space for all primitives in the source collection. Existing polygons in the result collection will be overwritten.
Link copied to clipboard
fun fromCollection(collection: BufferPolygonCollection, options: BufferPolygonCollectionOptions? = definedExternally, predicate: Function<*>? = definedExternally): BufferPolygonCollection
Returns a copy of the given collection, overriding any constructor options provided. Omitted options are inherited from the source collection. Any resized buffers must be large enough to hold every polygon.