MathKit
Toggle table of contents
2.0.0
common
Target filter
common
Switch theme
Search in API
Skip to content
MathKit
MathKit
/
com.sztorm.mathkit.euclidean2d
/
Triangle
Triangle
fun
Triangle
(
centroid
:
Vector2F
,
orientation
:
ComplexF
,
originPointA
:
Vector2F
,
originPointB
:
Vector2F
,
originPointC
:
Vector2F
)
:
Triangle
Creates a new instance of
Triangle
.
Parameters
orientation
the value is expected to be
normalized
.
fun
Triangle
(
pointA
:
Vector2F
,
pointB
:
Vector2F
,
pointC
:
Vector2F
)
:
Triangle
Creates a new instance of
Triangle
.