public class Heightmap
extends java.lang.Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence maxOccurs="unbounded" minOccurs="0"> <element ref="{}Data"/> </sequence> <attribute name="terrainOriginX" use="required" type="{http://www.w3.org/2001/XMLSchema}double" /> <attribute name="terrainOriginY" use="required" type="{http://www.w3.org/2001/XMLSchema}double" /> <attribute name="terrainSizeX" use="required" type="{http://www.w3.org/2001/XMLSchema}double" /> <attribute name="terrainSizeY" use="required" type="{http://www.w3.org/2001/XMLSchema}double" /> <attribute name="arraySizeX" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /> <attribute name="arraySizeY" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected int |
arraySizeX |
protected int |
arraySizeY |
protected java.util.List<Data> |
data |
protected double |
terrainOriginX |
protected double |
terrainOriginY |
protected double |
terrainSizeX |
protected double |
terrainSizeY |
Constructor and Description |
---|
Heightmap() |
Modifier and Type | Method and Description |
---|---|
int |
getArraySizeX()
Gets the value of the arraySizeX property.
|
int |
getArraySizeY()
Gets the value of the arraySizeY property.
|
java.util.List<Data> |
getData()
Gets the value of the data property.
|
double |
getTerrainOriginX()
Gets the value of the terrainOriginX property.
|
double |
getTerrainOriginY()
Gets the value of the terrainOriginY property.
|
double |
getTerrainSizeX()
Gets the value of the terrainSizeX property.
|
double |
getTerrainSizeY()
Gets the value of the terrainSizeY property.
|
void |
setArraySizeX(int value)
Sets the value of the arraySizeX property.
|
void |
setArraySizeY(int value)
Sets the value of the arraySizeY property.
|
void |
setTerrainOriginX(double value)
Sets the value of the terrainOriginX property.
|
void |
setTerrainOriginY(double value)
Sets the value of the terrainOriginY property.
|
void |
setTerrainSizeX(double value)
Sets the value of the terrainSizeX property.
|
void |
setTerrainSizeY(double value)
Sets the value of the terrainSizeY property.
|
protected java.util.List<Data> data
protected double terrainOriginX
protected double terrainOriginY
protected double terrainSizeX
protected double terrainSizeY
protected int arraySizeX
protected int arraySizeY
public java.util.List<Data> getData()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the data property.
For example, to add a new item, do as follows:
getData().add(newItem);
Objects of the following type(s) are allowed in the list
Data
public double getTerrainOriginX()
public void setTerrainOriginX(double value)
public double getTerrainOriginY()
public void setTerrainOriginY(double value)
public double getTerrainSizeX()
public void setTerrainSizeX(double value)
public double getTerrainSizeY()
public void setTerrainSizeY(double value)
public int getArraySizeX()
public void setArraySizeX(int value)
public int getArraySizeY()
public void setArraySizeY(int value)