IndexedSegmentF

class IndexedSegmentF(i: Int, j: Int, ix: Float, iy: Float, jx: Float, jy: Float) : SegmentF

Constructors

IndexedSegmentF
Link copied to clipboard
common
fun IndexedSegmentF(i: IndexedPointF, j: IndexedPointF)

Functions

hasIndex
Link copied to clipboard
common
fun hasIndex(index: Int): Boolean
intersects
Link copied to clipboard
common
open override fun intersects(other: SegmentF): Boolean
Not an easy task.
orientation
Link copied to clipboard
common
fun orientation(x: Float, y: Float): Int
Returns -1 if the point is clockwise (right) from us.

Properties

i
Link copied to clipboard
common
val i: Int
ix
Link copied to clipboard
common
val ix: Float
iy
Link copied to clipboard
common
val iy: Float
j
Link copied to clipboard
common
val j: Int
jx
Link copied to clipboard
common
val jx: Float
jy
Link copied to clipboard
common
val jy: Float
length
Link copied to clipboard
common
val length: Float