alchemist
alchemist
/
it.unibo.alchemist.model.interfaces.geometry.euclidean2d
/
Segment2D
/
isCollinearWith
is
Collinear
With
open
fun
isCollinearWith
(
point
:
P
)
:
Boolean
Content copied to clipboard
Checks if
first
,
second
and
point
lie on a single line.
open
fun
isCollinearWith
(
other
:
Segment2D
<
P
>
)
:
Boolean
Content copied to clipboard
Checks if two segments lie on a single line.