library
/
com.otaliastudios.opengl.geometry
/
SegmentF
common
Segment
F
open class
SegmentF
(ix:
Float
, iy:
Float
, jx:
Float
, jy:
Float
)
Content copied to clipboard
Constructors
Functions
Properties
Inheritors
Constructors
SegmentF
Link copied to clipboard
common
fun
SegmentF
(i:
PointF
, j:
PointF
)
Content copied to clipboard
Functions
intersects
Link copied to clipboard
common
open fun
intersects
(other:
SegmentF
):
Boolean
Content copied to clipboard
Not an easy task.
orientation
Link copied to clipboard
common
fun
orientation
(x:
Float
, y:
Float
):
Int
Content copied to clipboard
Returns -1 if the point is clockwise (right) from us.
Properties
ix
Link copied to clipboard
common
val
ix
:
Float
Content copied to clipboard
iy
Link copied to clipboard
common
val
iy
:
Float
Content copied to clipboard
jx
Link copied to clipboard
common
val
jx
:
Float
Content copied to clipboard
jy
Link copied to clipboard
common
val
jy
:
Float
Content copied to clipboard
length
Link copied to clipboard
common
val
length
:
Float
Content copied to clipboard
Inheritors
IndexedSegmentF
Link copied to clipboard