public class MatrixOperations extends Object
| Constructor and Description |
|---|
MatrixOperations() |
| Modifier and Type | Method and Description |
|---|---|
double |
getDistColumns()
Returns the distance among the columns of the matrix in units of the map
|
double |
getDistRows()
Returns the distance among the rows of the matrix in units of the map
|
int |
getNum()
Returns the number of geometries to show in polar form.
|
int |
getNumColumns()
Returns the number of columns in the matrix.
|
int |
getNumRows()
Returns the number of rows in the matrix.
|
double |
getPositionX()
Returns the position x of polar form center.
|
double |
getPositionY()
Returns the position y of polar form center.
|
double |
getRotation()
Returns de rotation of geometries.
|
boolean |
isAccepted()
Returns true if all of properties are ready to be applied.
|
boolean |
isRectangular()
Returns true if the form to calculate the matrix is rectangular and false it if is polar.
|
boolean |
isRotateElements()
Returns true if the geometries has to rate also in the polar form.
|
void |
setAccepted(boolean accepted)
Add true if all of properties are ready to be applied.
|
void |
setDistColumns(double distColumns)
Add the distance among the columns of the matrix in units of the map
|
void |
setDistRows(double distRows)
Add the distance among the rows of the matrix in units of the map
|
void |
setNum(int num)
Add the number of geometries to show in polar form.
|
void |
setNumColumns(int numColumns)
Add the number of columns in the matrix.
|
void |
setNumRows(int numRows)
Add the number of rows in the matrix.
|
void |
setPositionX(double positionX)
Add the position x of polar form center.
|
void |
setPositionY(double positionY)
Add the position y of polar form center.
|
void |
setRectangular(boolean isRectangular)
Add if the form to calulate the matrix is rectangular or polar.
|
void |
setRotateElements(boolean b)
Introduces true if the geometries has to rotate also in the polar form.
|
void |
setRotation(double rotation)
Add the rotation of geometries.
|
public double getDistColumns()
public void setDistColumns(double distColumns)
distColumns - Distance Xpublic double getDistRows()
public void setDistRows(double distRows)
distColumns - Distance Ypublic boolean isRectangular()
public void setRectangular(boolean isRectangular)
isRectangular - public int getNum()
public void setNum(int num)
num - Number of geometries.public int getNumColumns()
public void setNumColumns(int numColumns)
numColumns - Number of columns.public int getNumRows()
public void setNumRows(int numRows)
numRows - Number of rows.public double getPositionX()
public void setPositionX(double positionX)
positionX - Position x.public double getPositionY()
public void setPositionY(double positionY)
positionY - Position y.public double getRotation()
public void setRotation(double rotation)
rotation - Rotation.public boolean isAccepted()
public void setAccepted(boolean accepted)
accepted - True if is ready.public void setRotateElements(boolean b)
b - True if has to ratate.public boolean isRotateElements()