All Packages Class Hierarchy This Package Previous Next Index
Class sdoOracle.WPoint
java.lang.Object
|
+----sdoOracle.WPoint
- public class WPoint
- extends Object
Class WPoint defines a spatial location (x,y) for some
coordinate reference system.
-
WPoint()
- Constructs a new WPoint object.
-
WPoint(double, double)
- Constructs a new WPoint object passing x and y coordinates.
-
Define(double, double)
- Defines the coordinate for the WPoint object.
-
Distance(WPoint)
- Returns the distance between two WPoint objects.
-
GetX()
- Returns the x coordinate for the WPoint object.
-
GetY()
- Returns the y coordinate for the WPoint object.
-
Max(WPoint)
- Returns a WPoint object that contains the maximum x and
y coordinates between two WPoint objects.
-
Min(WPoint)
- Returns a WPoint object that contains the minimum x and
y coordinates between two WPoint objects.
-
SetX(double)
- Defines the x coordinate for the WPoint object.
-
SetY(double)
- Defines the y coordinate for the WPoint object.
WPoint
public WPoint()
- Constructs a new WPoint object.
WPoint
public WPoint(double x,
double y)
- Constructs a new WPoint object passing x and y coordinates.
- Parameters:
- x - the x coordinate for the spatial location.
- y - the y coordinate for the spatial location.
Define
public void Define(double x,
double y)
- Defines the coordinate for the WPoint object.
- Parameters:
- x - the x coordinate for the spatial location.
- y - the y coordinate for the spatial location.
GetX
public double GetX()
- Returns the x coordinate for the WPoint object.
- Returns:
- returns a double value.
SetX
public void SetX(double x)
- Defines the x coordinate for the WPoint object.
- Parameters:
- x - the x coordinate for the spatial location.
GetY
public double GetY()
- Returns the y coordinate for the WPoint object.
- Returns:
- returns a double value.
SetY
public void SetY(double y)
- Defines the y coordinate for the WPoint object.
- Parameters:
- y - the y coordinate for the spatial location.
Min
public WPoint Min(WPoint input)
- Returns a WPoint object that contains the minimum x and
y coordinates between two WPoint objects.
- Parameters:
- input - the input WPoint object.
- Returns:
- returns a WPoint coordinate defined by the minimum x, y values.
Max
public WPoint Max(WPoint input)
- Returns a WPoint object that contains the maximum x and
y coordinates between two WPoint objects.
- Parameters:
- input - the input WPoint object.
- Returns:
- returns a WPoint coordinate defined by the maximum x, y values.
Distance
public double Distance(WPoint input)
- Returns the distance between two WPoint objects.
- Parameters:
- input - the input WPoint object.
- Returns:
- returns a double value representing the distance.
All Packages Class Hierarchy This Package Previous Next Index