Package gaia.cu9.ari.gaiaorbit.data
Class GeoJsonLoader<T extends SceneGraphNode>
- java.lang.Object
-
- gaia.cu9.ari.gaiaorbit.data.GeoJsonLoader<T>
-
- Type Parameters:
T
-
- All Implemented Interfaces:
ISceneGraphLoader
public class GeoJsonLoader<T extends SceneGraphNode> extends java.lang.Object implements ISceneGraphLoader
Loads GeoJson files to Area objects
-
-
Constructor Summary
Constructors Constructor Description GeoJsonLoader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double[][][]
convertToDoubleArray(com.badlogic.gdx.utils.JsonValue json, int size, int d)
void
initialize(java.lang.String[] files)
com.badlogic.gdx.utils.Array<? extends SceneGraphNode>
loadData()
void
setDescription(java.lang.String description)
void
setName(java.lang.String name)
-
-
-
Method Detail
-
initialize
public void initialize(java.lang.String[] files)
- Specified by:
initialize
in interfaceISceneGraphLoader
-
loadData
public com.badlogic.gdx.utils.Array<? extends SceneGraphNode> loadData()
- Specified by:
loadData
in interfaceISceneGraphLoader
-
convertToDoubleArray
public double[][][] convertToDoubleArray(com.badlogic.gdx.utils.JsonValue json, int size, int d)
-
setName
public void setName(java.lang.String name)
- Specified by:
setName
in interfaceISceneGraphLoader
-
setDescription
public void setDescription(java.lang.String description)
- Specified by:
setDescription
in interfaceISceneGraphLoader
-
-