Interface for a mutable point in 2D coordinate space with double precision coordinates.
Remarks
This interface provides read and write access to the coordinates. It adds write access to the read-only interface IPoint.
Type Details
- yFiles module
- core
See Also
Properties
Gets or sets the x-coordinate for this point.
Gets or sets the y-coordinate for this point.
Methods
Returns the euclidean distance between this point and a given point.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- x - number
- the x coordinate of the second point
- y - number
- the y coordinate of the second point
Returns
- ↪number
- the Euclidean distance between this point and the point (x,y).