PointAdapter

Adapts various representations of bidimensional positions.

Parameters

<P>

position type

Properties

Link copied to clipboard
val x: Double
Link copied to clipboard
val y: Double

Functions

Link copied to clipboard
open fun diff(op: PointAdapter<out Any>): PointAdapter<P>
Link copied to clipboard
open fun equals(obj: Any): Boolean
Link copied to clipboard
open fun <P : Position2D<out P>?> from(p: Position2D<out Any>): PointAdapter<P>
open fun <P : Position2D<out P>?> from(p: Point2D): PointAdapter<P>
Builds a PointAdapter.
open fun <P : Position2D<out P>?> from(x: Double, y: Double): PointAdapter<P>
Builds a PointAdapter from coordinates.
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun sum(op: PointAdapter<out Any>): PointAdapter<P>
Link copied to clipboard
open fun toPoint(): Point
Link copied to clipboard
open fun toPoint2D(): Point2D
Link copied to clipboard
open fun toPosition(environment: Environment<out Any, P>): P
Link copied to clipboard
open fun toString(): String