toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-foundation
/
korlibs.math.geom.bezier
/
Bezier
/
ProjectedPoint
Projected
Point
data
class
ProjectedPoint
(
var
p
:
Point
=
Point()
,
var
t
:
Ratio
=
Ratio.ZERO
,
var
dSq
:
Double
=
0.0
)
:
IsAlmostEquals
<
Bezier.ProjectedPoint
>
Members
Constructors
Projected
Point
Link copied to clipboard
constructor
(
p
:
Point
=
Point()
,
t
:
Ratio
=
Ratio.ZERO
,
dSq
:
Double
=
0.0
)
Properties
bezier
Link copied to clipboard
lateinit
var
bezier
:
Bezier
d
Link copied to clipboard
val
d
:
Double
d
Sq
Link copied to clipboard
var
dSq
:
Double
normal
Link copied to clipboard
val
normal
:
Point
p
Link copied to clipboard
var
p
:
Point
t
Link copied to clipboard
var
t
:
Ratio
Functions
is
Almost
Equals
Link copied to clipboard
open
override
fun
isAlmostEquals
(
other
:
Bezier.ProjectedPoint
,
epsilon
:
Double
)
:
Boolean
round
Decimal
Places
Link copied to clipboard
fun
roundDecimalPlaces
(
places
:
Int
)
:
Bezier.ProjectedPoint