public class RubberModelData extends AbstractSheetData
| Modifier and Type | Class and Description |
|---|---|
static class |
RubberModelData.SupportTask |
| Modifier and Type | Field and Description |
|---|---|
GeoPointMetaData |
center |
double[] |
dimensions |
static java.util.Set<java.lang.String> |
EXTS |
ModelProjection |
projection |
double[] |
rotation |
double[] |
scale |
java.lang.String |
subModel |
alpha, file, label, points, remarks, strokeColor, strokeWeight, visible| Modifier | Constructor and Description |
|---|---|
protected |
RubberModelData() |
|
RubberModelData(java.io.File f) |
protected |
RubberModelData(org.json.JSONObject o) |
|
RubberModelData(RubberModel rm) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getUID() |
static boolean |
isSupported(java.io.File f)
Check if a file is a valid model file
|
org.json.JSONObject |
toJSON() |
create, getExtension, isValidpublic static final java.util.Set<java.lang.String> EXTS
public ModelProjection projection
public GeoPointMetaData center
public double[] scale
public double[] rotation
public double[] dimensions
public java.lang.String subModel
protected RubberModelData()
public RubberModelData(java.io.File f)
public RubberModelData(RubberModel rm)
protected RubberModelData(org.json.JSONObject o)
throws org.json.JSONException
org.json.JSONExceptionpublic java.lang.String getUID()
getUID in class AbstractSheetDatapublic org.json.JSONObject toJSON()
toJSON in class AbstractSheetDatapublic static boolean isSupported(java.io.File f)
f - File