Overview
A 2D geometric point that represents the x, y coordinates.
Profile: common
Variable Summary
access | name | type | Can Read | Can Init | Can Write | Default Value | description |
---|---|---|---|---|---|---|---|
public-init | x | Number | 0.0 |
The x coordinate. |
|||
public-init | y | Number | 0.0 |
The y coordinate. |
Inherited Variables
Function Summary
- public distance(x1: Number, y1: Number) : Number
- public distance(p: Point2D) : Number
- public equals(obj: java.lang.Object) : Boolean
- public hashCode() : Integer
- public toString() : java.lang.String
-
Returns a string representation of this
Point2D
.Returns a string representation of this
Point2D
. This method is intended to be used only for informational purposes. The content and format of the returned string might vary between implementations. The returned string might be empty but cannot benull
.-
Returns
- String
Profile: common