Constructor and Description |
---|
Point(double x,
double y,
IlvUnit unit)
Creates a point located at (a,y) in the specified unit.
|
Point(IlvUnit unit)
Creates a point located at (0,0) in the specified unit.
|
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Clones the object.
|
IlvUnit |
getUnit()
Returns the unit of measurement of this object.
|
double |
getX()
Returns the x coordinate.
|
double |
getXAs(IlvUnit unit)
Returns the x coordinate in the specified unit.
|
double |
getY()
Returns the y coordinate.
|
double |
getYAs(IlvUnit unit)
Returns the y coordinate in the specified unit.
|
void |
setX(double x)
Changes the x coordinate.
|
void |
setY(double y)
Changes the y coordinate.
|
public Point(IlvUnit unit)
public Point(double x, double y, IlvUnit unit)
public IlvUnit getUnit()
public double getX()
setX(double)
public void setX(double x)
public double getY()
setY(double)
public void setY(double y)
getY()
public double getXAs(IlvUnit unit)
getX()
public double getYAs(IlvUnit unit)
getY()
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.