PointList

Properties

Link copied to clipboard
abstract val closed: Boolean
Link copied to clipboard
open override val dimensions: Int
Link copied to clipboard
abstract var extra: ExtraType
Link copied to clipboard
open val first: Point
Link copied to clipboard
open val last: Point
Link copied to clipboard
abstract val size: Int

Functions

Link copied to clipboard
open fun clone(out: PointArrayList = PointArrayList(this.size)): PointArrayList
Link copied to clipboard
open operator fun contains(p: Point): Boolean
open fun contains(x: Double, y: Double): Boolean
open fun contains(x: Float, y: Float): Boolean
open fun contains(x: Int, y: Int): Boolean
Link copied to clipboard
fun <T> Extra.extraCache(name: String, block: () -> T): T
Link copied to clipboard
inline fun PointList.fastForEach(block: (Point) -> Unit)
Link copied to clipboard
inline fun PointList.fastForEachIndexed(block: (index: Int, Point) -> Unit)
Link copied to clipboard
inline fun PointList.fastForEachReverse(block: (Point) -> Unit)
Link copied to clipboard
inline fun PointList.fastForEachReverseIndexed(block: (index: Int, Point) -> Unit)
Link copied to clipboard
abstract operator fun get(index: Int, dim: Int): Double
open operator fun get(index: Int): Point
Link copied to clipboard
open fun getComponentList(component: Int, out: DoubleArray = DoubleArray(size)): DoubleArray
Link copied to clipboard
fun Extra.getExtra(name: String): Any?
Link copied to clipboard
fun <T> Extra.getExtraTyped(name: String): T?
Link copied to clipboard
Link copied to clipboard
inline fun DoubleVectorList.getOrElse(index: Int, dim: Int, default: Double = 0.0): Double
Link copied to clipboard
Link copied to clipboard
open fun getX(index: Int): Double
Link copied to clipboard
Link copied to clipboard
open fun getY(index: Int): Double
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun isAlmostEquals(other: DoubleVectorList, epsilon: Double): Boolean
Link copied to clipboard
open fun isEmpty(): Boolean
Link copied to clipboard
open fun isNotEmpty(): Boolean
Link copied to clipboard
fun <T> PointList.map(gen: (x: Double, y: Double) -> T): List<T>
Link copied to clipboard
Link copied to clipboard
fun <T> DoubleVectorList.mapVector(block: (list: DoubleVectorList, index: Int) -> T): List<T>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open operator fun plus(other: PointList): PointArrayList
Link copied to clipboard
open fun roundDecimalPlaces(places: Int, out: PointArrayList = PointArrayList()): PointList
Link copied to clipboard
fun Extra.setExtra(name: String, value: Any?)
Link copied to clipboard
open fun toList(): List<Point>
Link copied to clipboard
fun PointList.toPolygon(out: VectorPath = VectorPath()): VectorPath
Link copied to clipboard
fun PointList.toShape2D(closed: Boolean = true): Shape2D
Link copied to clipboard
fun PointList.toShape2d(closed: Boolean = true): Shape2D