public class Point extends Object implements PhylogenyData
| Modifier and Type | Field and Description |
|---|---|
static String |
UNKNOWN_GEODETIC_DATUM |
| Constructor and Description |
|---|
Point() |
Point(String geodetic_datum,
BigDecimal lat,
BigDecimal longitude) |
Point(String geodetic_datum,
BigDecimal lat,
BigDecimal longitude,
BigDecimal alt,
String alt_unit) |
| Modifier and Type | Method and Description |
|---|---|
StringBuffer |
asSimpleText() |
StringBuffer |
asText() |
PhylogenyData |
copy()
Creates a new PhylogenyData object with identical values as this
PhylogenyData.
|
BigDecimal |
getAltitude() |
String |
getAltiudeUnit() |
String |
getGeodeticDatum() |
BigDecimal |
getLatitude() |
BigDecimal |
getLongitude() |
boolean |
isEmpty() |
boolean |
isEqual(PhylogenyData point)
Compares this PhylogenyData to PhylogenyData data.
|
static boolean |
isSeemsEmpty(Point p) |
StringBuffer |
toNHX() |
void |
toPhyloXML(Writer writer,
int level,
String indentation)
Writes a phyloXML representation of this phylogeny data.
|
String |
toString() |
public static final String UNKNOWN_GEODETIC_DATUM
public Point()
public Point(String geodetic_datum, BigDecimal lat, BigDecimal longitude)
public Point(String geodetic_datum, BigDecimal lat, BigDecimal longitude, BigDecimal alt, String alt_unit)
public boolean isEmpty()
public StringBuffer asSimpleText()
asSimpleText in interface PhylogenyDatapublic StringBuffer asText()
asText in interface PhylogenyDatapublic PhylogenyData copy()
PhylogenyDatacopy in interface PhylogenyDatapublic BigDecimal getAltitude()
public String getAltiudeUnit()
public String getGeodeticDatum()
public BigDecimal getLatitude()
public BigDecimal getLongitude()
public boolean isEqual(PhylogenyData point)
PhylogenyDataisEqual in interface PhylogenyDatapublic StringBuffer toNHX()
toNHX in interface PhylogenyDatapublic void toPhyloXML(Writer writer, int level, String indentation) throws IOException
PhylogenyDatatoPhyloXML in interface PhylogenyDataIOExceptionpublic static final boolean isSeemsEmpty(Point p)
Copyright © 2016. All rights reserved.