from

open fun <P : Position2D<out P>?> from(x: Double, y: Double): PointAdapter<P>(source)

Builds a PointAdapter from coordinates.

Return

a PointAdapter

Parameters

x

the x coordinate

y

the y coordinate

<P>

Position type


open fun <P : Position2D<out P>?> from(p: Position2D<out Any>): PointAdapter<P>(source)

Builds a PointAdapter.

Return

a PointAdapter

Parameters


open fun <P : Position2D<out P>?> from(p: Point2D): PointAdapter<P>(source)

Builds a PointAdapter.

Return

a PointAdapter

Parameters

p
<P>

Position type