toggle menu
alchemist
35.0.2
jvm
switch theme
search in API
alchemist-implementationbase
/
it.unibo.alchemist.model.positions
/
AbstractPosition
Abstract
Position
abstract
class
AbstractPosition
<
P
:
Position
<
P
>
?
>
:
Position
<
P
>
(
source
)
N-dimensional position.
Parameters
<P>
actual type
Members
Functions
bounding
Box
Link copied to clipboard
@
Nonnull
fun
boundingBox
(
range
:
Double
)
:
List
<
P
>
distance
To
Link copied to clipboard
fun
distanceTo
(
@
Nonnull
other
:
P
)
:
Double
equals
Link copied to clipboard
fun
equals
(
o
:
Any
)
:
Boolean
get
Coordinate
Link copied to clipboard
fun
getCoordinate
(
dimension
:
Int
)
:
Double
get
Coordinates
Link copied to clipboard
@
Nonnull
fun
getCoordinates
(
)
:
Array
<
Double
>
get
Dimensions
Link copied to clipboard
fun
getDimensions
(
)
:
Int
hash
Code
Link copied to clipboard
fun
hashCode
(
)
:
Int
minus
Link copied to clipboard
@
Nonnull
fun
minus
(
@
Nonnull
other
:
P
)
:
P
Same as
minus
, with the internal representation of other.
@
Nonnull
fun
minus
(
@
Nonnull
other
:
Array
<
Double
>
)
:
P
plus
Link copied to clipboard
@
Nonnull
fun
plus
(
@
Nonnull
other
:
P
)
:
P
Same as
plus
, with the internal representation of other.
@
Nonnull
fun
plus
(
@
Nonnull
other
:
Array
<
Double
>
)
:
P
to
String
Link copied to clipboard
open
fun
toString
(
)
:
String
Prints the coordinates.