PartCollection

Represents immutable collection of parts for a polygon or polyline geometry. Each part is a collection of segments. Polygons and polyline can have multiple disjoint parts. Each part is represented by a Part. A part is composed of segments representing the edge of the polygon or polyline.

Since

200.1.0

Properties

Link copied to clipboard
open override val size: Int

The number of parts in the immutable part collection.

Link copied to clipboard

The spatial reference for the immutable part collection. If the collection does not have a spatial reference null is returned.

Functions

Link copied to clipboard
open operator override fun get(index: Int): Part

Returns a part at the specified index in the immutable part collection. A part is represented by a immutable collection of segments.

Link copied to clipboard
open override fun indexOf(element: Part): Int

Retrieves the position of the given part in the immutable part collection

Link copied to clipboard
open override fun isEmpty(): Boolean

Indicates if the immutable part collection contains no parts.

Inherited functions

Link copied to clipboard
open override fun addFirst(p0: Part)
Link copied to clipboard
open override fun addLast(p0: Part)
Link copied to clipboard
open operator override fun contains(element: Part): Boolean
Link copied to clipboard
open override fun containsAll(elements: Collection<Part>): Boolean
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open fun forEach(p0: Consumer<in Part>)
Link copied to clipboard
open override fun getFirst(): Part
Link copied to clipboard
open override fun getLast(): Part
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open operator override fun iterator(): Iterator<Part>
Link copied to clipboard
open override fun lastIndexOf(element: Part): Int
Link copied to clipboard
open override fun listIterator(): ListIterator<Part>
open override fun listIterator(index: Int): ListIterator<Part>
Link copied to clipboard
Link copied to clipboard
open override fun removeFirst(): Part
Link copied to clipboard
open override fun removeLast(): Part
Link copied to clipboard
open override fun reversed(): MutableList<Part>
Link copied to clipboard
open override fun spliterator(): Spliterator<Part>
Link copied to clipboard
open fun stream(): Stream<Part>
Link copied to clipboard
open override fun subList(fromIndex: Int, toIndex: Int): List<Part>
Link copied to clipboard
open fun <T : Any> toArray(p0: IntFunction<Array<T>>): Array<T>
Link copied to clipboard
open override fun toString(): String