Class BoundingRadius
- java.lang.Object
 - 
- com.ibm.fhir.search.location.bounding.Bounding
 - 
- com.ibm.fhir.search.location.bounding.BoundingRadius
 
 
 
- 
public class BoundingRadius extends Bounding
Bounding Radius takes a point as defined in radians. Latitude and Longtitude and the radius on the arc. The radius on the arc must be in meters. 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBoundingRadius.BuilderBuilds the Bounding Radius. 
- 
Constructor Summary
Constructors Constructor Description BoundingRadius() 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BoundingRadius.Builderbuilder()java.util.List<java.lang.Double>getDataPoints()gets the coordinates in an ordered listjava.lang.DoublegetLatitude()java.lang.DoublegetLongitude()java.lang.DoublegetRadius()BoundingTypegetType()returns the bounding type - radius or box.protected voidsetLatitude(java.lang.Double latitude)protected voidsetLongitude(java.lang.Double longitude)protected voidsetRadius(java.lang.Double radius)java.lang.StringtoString()voidvalidate()validates the Longitude and Latitude is valid for the Bounding area.- 
Methods inherited from class com.ibm.fhir.search.location.bounding.Bounding
instance, setInstance 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getLatitude
public java.lang.Double getLatitude()
 
- 
setLatitude
protected void setLatitude(java.lang.Double latitude)
 
- 
getLongitude
public java.lang.Double getLongitude()
 
- 
setLongitude
protected void setLongitude(java.lang.Double longitude)
 
- 
getRadius
public java.lang.Double getRadius()
 
- 
setRadius
protected void setRadius(java.lang.Double radius)
 
- 
validate
public void validate()
Description copied from class:Boundingvalidates the Longitude and Latitude is valid for the Bounding area. 
- 
getDataPoints
public java.util.List<java.lang.Double> getDataPoints()
Description copied from class:Boundinggets the coordinates in an ordered list- Specified by:
 getDataPointsin classBounding- Returns:
 
 
- 
getType
public BoundingType getType()
Description copied from class:Boundingreturns the bounding type - radius or box. 
- 
builder
public static BoundingRadius.Builder builder()
 
- 
toString
public java.lang.String toString()
- Overrides:
 toStringin classjava.lang.Object
 
 - 
 
 -