John W. Campbell
This is a simple class to store a pair of 'double' values. It is used
within this package as the returned object from a number of methods
e.g. to return a coordinate pair. The 'double' values
are accessible as the public fields 'x' and 'y'.
Constructors and Fields:
Class Details
Accessible Fields
Constructors
- Package:
- Jdl.JdlLib;
- Class name:
- JdlXY
- Class definition:
- public class JdlXY
- Extends:
- Object
- Implements:
- none
- Actions:
- none
The following accessible fields have been defined:
- public double x
- The first of the double values - 'x'
- public double y
- The second of the double values - 'y'
Two constructors are available.
Constructors:
Constructor 1
Constructor 2
Create a JdlXY object from two double values.
- Constructor Definition:
- public JdlXY(double x, double y)
- Parameters List:
- x
- The first double value.
- y
- The second double value.
Create a JdlXY object from two float values.
- Constructor Definition:
- public JdlXY(float x, float y)
- Parameters List:
- x
- The first float value.
- y
- The second float value.
⇑ Up 2
⇑ Up 1
⇑ Top of this