Code example for Location

Methods: getAltitude

0
	/** 
	 * @see net.noisetube.model.NTCoordinates#getAltitude() 
	 */ 
	public double getAltitude() 
	{ 
		return location.getAltitude();
	} 
 
	/** 
	 * @see net.noisetube.model.NTCoordinates#distanceTo(net.noisetube.model.NTCoordinates) 
	 */ 
	public double distanceTo(NTCoordinates otherCoordinates)
	{ 
		if(otherCoordinates instanceof AndroidNTCoordinates)
			return location.distanceTo(((AndroidNTCoordinates) otherCoordinates).location);
		else 
			throw new IllegalArgumentException("Wrong instance type");
	} 
 
	public boolean equals(NTCoordinates otherCoordinates)