FooCAD
Toggle table of contents
3.0
jvm
Platform filter
jvm
Switch theme
Search in API
FooCAD
foocad-core
/
uk.co.nickthecoder.foocad.core.util
/
Vector2
/
Companion
Companion
object
Companion
Members
Properties
UNIT
Link copied to clipboard
@
JvmStatic
val
UNIT
:
Vector2
ZERO
Link copied to clipboard
@
JvmStatic
val
ZERO
:
Vector2
Functions
intersection
Link copied to clipboard
fun
intersection
(
a1
:
Vector2
,
a2
:
Vector2
,
b1
:
Vector2
,
b2
:
Vector2
)
:
Vector2
The point where two lines intersect.
parse
Link copied to clipboard
fun
parse
(
str
:
String
)
:
Vector2
tangent
Intersection
Link copied to clipboard
fun
tangentIntersection
(
a
:
Vector2
,
da
:
Vector2
,
b
:
Vector2
,
db
:
Vector2
)
:
Vector2
Intersection of two lines.